Triggers

Triggers are the starting points of any workflow in Lleverage. They determine how your workflow is initiated and what form it will take when published. Triggers define the entry point for your automat

Trigger Selection in Workflow studio
Trigger Selection

Available Trigger Types

  • App: Creates user-facing applications (forms or chat interfaces)

  • API Call: Starts with a request from your application

  • Schedule: Runs on a recurring schedule or at specific times

  • Integration: Triggers based on events from external applications

💡 You can have multiple triggers for multi-step workflows, but your primary trigger determines the publishing state of your workflow.

How to Add a Trigger

  1. Open the canvas in the Workflow Studio

  2. Locate the box that says "What starts this workflow? Select an action trigger"

  3. Click on the box to see the available trigger options

  4. Select your preferred trigger type (App, API Call, Schedule, or Integration)

  5. Configure the settings specific to your selected trigger

How to Switch a Trigger

  1. Look for the icon in the top right corner of your trigger action (arrows pointing right and left)

  2. Click on this icon to open the trigger selection menu

  3. Choose from the four available trigger types to replace your current trigger

  4. Configure your new trigger as needed

💡 Switching triggers allows you to easily change how your workflow starts without rebuilding your entire automation.

Workflow Type Switching

API Call triggers allow your workflow to be initiated by external applications through API requests, enabling programmatic access to your automations.

How to Configure an API Call Trigger

  1. Select "API Call" as your trigger type

  2. Click "Add Field" to create input parameters for your API

  3. Enter field names and select appropriate data types

  4. Under "Authentication," select either "Lleverage API Token" (recommended) or "None"

⚠️ If you publish with Lleverage API Token enabled, you'll need to specify this in your embedded code using your organization's settings.

API Trigger

chedule Triggers

Schedule triggers run your workflow automatically at specified times or intervals without any user interaction.

How to Configure a Schedule Trigger

  1. Select "Schedule" as your trigger type

  2. Choose between "Specific Time" or "Intervals"

  3. For Specific Time:

    • Set the hour and minute

    • Select AM or PM

    • Choose the date

  4. For Intervals, select a frequency:

    • Every 5, 10, 15, or 30 minutes

    • Every 1, 2, 4, 6, or 12 hours

💡 Scheduled triggers allow your workflow to run automatically without manual intervention.

Spcific Time Schedule
Intervall Time Schedule

ntegration Triggers

Integration triggers start your workflow based on events from external applications, such as receiving an email or when a new file is added to a folder.

How to Configure an Integration Trigger

  1. Select "Integration" as your trigger type

  2. In the "Search App" field, type or scroll to find your provider (e.g., Gmail)

  3. Select the provider from the list

  4. Choose an action that will trigger your workflow (e.g., "New Sent Email")

  5. Complete the authentication by selecting "Online Authentication"

  6. Configure any optional properties provided by the integration

What Happens When You Publish

Your choice of trigger determines what your workflow will become when published:

  • App triggers publish as standalone applications

  • API Call triggers publish as API endpoints

  • Schedule triggers publish as scheduled tasks

  • Integration triggers publish as integration-driven automations

Key Features

  • Each trigger has a natural language description to help you understand its function

  • Triggers can be enabled or disabled to prevent unforeseen workflow runs

  • Easy switching between trigger types without rebuilding your workflow

  • Built-in variable creation for App and API Call triggers

⚠️ Understanding variables is important when working with App and API Call triggers, as they create output variables that can be used throughout your workflow.

💡 For detailed configuration of Form and Chat canvas actions, see the dedicated Form Actions and Chat Actions documentation pages.

Last updated