Skip to main content
Workflows in AI for Process can start automatically in response to external events, on a time-based schedule, or through direct API calls from external systems. The Start node is the control point for all of this—it defines how the workflow is initiated, what data enters the workflow, and what results are returned.

Trigger Types

The Start node supports two automation methods: event-based triggers and schedule-based triggers. You can use either or both on the same workflow.

Event-based triggers

Event triggers start the workflow automatically when a specific event occurs in a connected third-party application—for example, when a Jira issue is created, a Salesforce record is updated, or a Slack message is received. Prerequisites: Steps to configure an event trigger:
  1. In your workflow, click the Start node to open its configuration panel.
  2. Click Add Trigger and select the integration app.
  3. Enable the trigger and select a connection.
  4. Select the trigger event and configure its parameters.
  5. Save and test the workflow.
Adding an event trigger
Triggers must be active and enabled. If a trigger becomes inactive, re-deploy the workflow and retest the authorization profile in Settings > Security & Control > Authorization profiles.
Service providerTriggers available
Asana1
Canvas6
Coda4
Discord1
Fireflies1
Gmail2
GitHub6
Google Calendar7
Google Docs3
Google Drive7
Google Sheets2
Google Slides1
Google Super16
HubSpot2
Jira3
Linear3
Mailchimp4
Notion5
OneDrive8
Outlook5
Pipedrive3
Salesforce7
Slack9
Slackbot9
Spotify3
Stripe7
TimelinesAI1
Todoist1
Trello5
YouTube4
Zendesk2

Schedule-based triggers

Schedule-based triggers start the workflow at a predetermined time or interval. The scheduler supports custom time zones for global operations. Steps to configure a schedule:
  1. In the Start node configuration panel, click the Schedule icon and enable the scheduler.
  2. Set the frequency. See Schedule frequencies for options.
  3. Configure the start date, start time, and time zone.
  4. Save and test the workflow.
Scheduler configuration

Schedule frequencies

FrequencyDescription
DailyRuns every day.
WeeklyRuns every 7 days on a selected day of the week.
MonthlyRuns on a specific date each month.
OnceRuns at a selected date and time.
CronRuns based on a custom cron expression.
CustomRepeats every N days or weeks.

Trigger Payloads and Attachments

When an event trigger fires, the event data is passed into the workflow as variables accessible to all downstream nodes.
  • Trigger data can include contextual information, metadata, and event-specific IDs.
  • Downstream nodes reference trigger values using the context object syntax: {{context.steps.Start.inputVariable}}.
  • Attachments from triggers are provided as temporary URLs, valid for 24 hours. Only one attachment is supported per trigger event.
Best practices:
  • Use clearly defined events to avoid unnecessary workflow runs.
  • Validate payload field names before referencing them in conditions or expressions.
  • Regularly verify integration connections to keep triggers active.
  • Monitor trigger activity from Monitoring > Triggers in the left navigation of a deployed workflow.

Workflow Input and Output Variables

Input and output variables define the data contract for a workflow. Input variables provide data at runtime; output variables capture the results the workflow returns.
  • Input variables are available immediately after the Start node: {{context.steps.Start.inputVariableName}}
  • Output variables can be set in any node, typically in the End node: {{context.steps.NodeName.output}}

Add input variables

  1. On the workflow canvas, click Manage I/O, or click the Start node. The Manage Input & Output dialog opens. Manage input and output variables
  2. On the Input tab, click + Add input variable. The Enter input variable dialog opens.
  3. In the Name (key) field, enter a name for the variable.
  4. In the Type field, select a data type.
    TypeNotes
    TextSupports an optional default value.
    NumberSupports an optional default value.
    BooleanSupports an optional default value.
    Remote fileAccepts a file URL. Set the File URL timeout (5 minutes to 7 days). The default is 5 minutes.
    List of values (Enum)Define allowed values using Add Values +. The system validates input against these values and returns an error if an invalid value is provided.
    JSONDefine the schema using the JSON editor. The value at runtime must conform to the schema. If the JSON is invalid, execution fails.
  5. Optionally, enable the Mandatory toggle to require a value for this variable at runtime.
  6. Click Save.

Add output variables

  1. On the workflow canvas, click Manage I/O. The Manage Input & Output dialog opens.
  2. On the Output tab, click + Add output variable. The Enter output variable dialog opens.
  3. In the Name (key) field, enter a name for the variable.
  4. In the Type field, select a data type: String, Number, JSON, or Boolean.
  5. Click Save.
You can also add output variables directly in the End node using the Add a Key option.If a type mismatch occurs at runtime, the endpoint succeeds but includes a warning in the response with the key name and the nature of the mismatch.

API Keys and Workflow Access

When you deploy a workflow, the platform generates a dedicated API endpoint. External systems call this endpoint to invoke the workflow. API keys control who can access the endpoint.

Create an API key

  1. In the Platform, select your workflow and click API keys in the left sidebar.
  2. Click Create a new API key. The Create new API key dialog opens.
  3. Enter a descriptive name for the key and click Generate key. The key is displayed once.
  4. Click Copy and close to save the key to your clipboard.
AI for Process doesn’t display the API key after you close this dialog. Copy the key and keep it secure and confidential. Don’t expose it in client-side code and don’t share it with unauthorized users.
A list of all generated keys is displayed the API keys section for reference and management. API keys list

Workflow endpoints

After deployment, the platform generates sync and async poll endpoints automatically. An async push endpoint requires additional configuration. Workflow endpoints
Endpoint typeBehavior
SynchronousThe client waits for the workflow to complete and returns the response immediately. Suitable for real-time operations.
Async pollThe workflow processes the request independently. The client periodically polls the integration to retrieve the response.
Async pushThe workflow pushes the response to a client-specified callback URL as soon as processing is complete. Requires a callback URL and access token.
To enable an async push endpoint:
  1. On the Workflow endpoint page, click the Async push tab and click Enable / Settings. Enable async push settings
  2. Turn on the Enable async toggle.
  3. Enter the callback URL of the external application that will receive the response.
  4. Enter the access token generated by the external application.
  5. Set the timeout:
    • Set timeout: 60 - 600 seconds (default: 180 seconds).
    • No timeout: The workflow runs without a time limit.
    Async mode configuration
  6. Click Save. The async push endpoint is created. Async push endpoint created
Timeout precedence: Workflow timeout > Node timeout > Model timeout.
If you change the sync/async mode after deployment, you must redeploy the workflow for the change to take effect.