Triggers

Introduction

Triggers are the catalysts that initiate an Autom within Autom Mate. They enable Automs to run automatically in response to specific events occurring in designated applications. Trigger events can be scheduled, such as daily, hourly, weekly, or set to occur when particular events occur, such as "a ticket is created by a VIP user," "an alarm is triggered by an ITOM application," or "a new order is created."

The primary purpose of Triggers is to automate the execution of Automs based on predefined conditions or events. They provide a seamless way to initiate processes, enhancing efficiency and reducing manual intervention.

Types of Triggers

Webhook Trigger

Description

The Webhook Trigger is a real-time event that connects applications with Autom Mate, initiating flows. Applications define the events and data to be sent, triggering Autom Mate via a webhook.

Usage

  • Each Autom has a unique Webhook URL.

  • Applications send webhook triggers to Autom Mate with relevant data.

  • Autom Mate does not periodically check for new triggers; events are sent by applications upon specific occurrences.

  • Webhook URLs include an API Key, generated within Autom Mate.

API Trigger

Description:

API Triggers in Autom Mate allow external systems to initiate specific actions or workflows by making API calls directly to the platform. These triggers support dynamic integration, enabling real-time automation and process enhancements through direct system interactions.

Usage:

  • Configurable endpoint URLs tailored for specific API calls.

  • Supports various HTTP methods to accommodate different interaction types.

  • Utilizes authentication mechanisms to ensure secure interactions.

Email Trigger

Description

The Email Trigger executes an Autom when a new email meets defined filters in a specific mailbox. Autom Mate periodically checks designated mailboxes for new emails, such as every 4 minutes or 10 minutes.

Usage

  • Supports POP3 and IMAP protocols for mailbox connection.

  • Configure the Host Address, Connection Method (POP or IMAP), Port, and Interval Type (minutes or seconds).

  • Define filter criteria, such as "From Address," "CC," "Email Subject," and "Email Description."

  • Assign an array variable to store retrieved emails.

  • The output of the Get Mail action stores each email in JSON format, including details like Id, Subject, Body, From, CC, Date, and Attachments.

  • Supports OAuth protocols for mailbox connections, such as Gmail.

Scheduled Trigger

Description

Scheduled Triggers execute Automs at specified days, times, intervals, or recurrence patterns, such as hourly, daily, weekly, or monthly.

Usage

  • Choose the Timing Type: Once Only, Minute, Daily, Weekly, or Monthly.

  • Once Only: Define a specific Date/Time for the Autom to run.

  • Minute: Set a Start Date/Time, End Date, and minute intervals.

  • Daily: Specify a Start Date/Time and End Date for daily execution.

  • Weekly: Select specific days of the week and working times.

  • Monthly: Choose the month, specific days, and working times.

How To Use Features

Webhook Trigger Setup

  1. Obtain the unique Webhook URL for each Autom.

  2. Applications send trigger events to Autom Mate using this URL.

  3. Define event details and data to be sent in the webhook trigger.

API Trigger Setup

1. Access the API Management Interface:

  • Navigate to the API section within Autom Mate trigger type.

  • Select 'API Triggers' to configure or create new triggers.

2. Create and Configure API Triggers:

  • You will see endpoint URL and can copy the appropriate URL to use your HTTP method.

  • If you need custom configuration, please configure security settings, including authentication requirements.

  • Specify the actions or workflows to be executed upon receiving the API call.

3. Deploy and Test:

  • Ensure the trigger is correctly configured by sending a test API request.

  • Monitor the response and adjust settings as needed.

Email Trigger Configuration

  1. Configure the Email Trigger settings, including Host Address, Connection Method, Port, and Interval Type.

  2. Define filter criteria to trigger Automs based on specific email attributes.

  3. Assign an array variable to store retrieved email data.

Scheduled Trigger Implementation

  1. Choose the appropriate Timing Type for the scheduled trigger.

  2. Define specific Date/Time, intervals, or recurrence patterns for Autom execution.

  3. Set up scheduled triggers for precise automation timing.

Additional Tips

Use Cases

FAQ (Frequently Asked Questions)

Last updated