Skip to main content

Triggers

Triggers define when automations run. Automations can be triggered by database operations (record created, updated, or deleted), on a schedule, or on demand. Open any automation in Automation from the top navigation to access trigger settings.

Trigger types

1. Record-based triggers

Fires on database operations. Set the execution phase and filters to control which operations start the workflow.

FieldRequiredDescription
Trigger TypeYesWhen record created, updated, deleted
Execution PhaseYesBefore or After database operation
Select TableYesCollection that triggers automation
Table AliasYesReference name for record data

Execution phase

  • Before — Runs before database save. Can modify/validate data or prevent operation.
  • After — Runs after database save. Record exists with final values.
tip

Use Before for validation and transforms. Use After for notifications and integrations.

2. On demand triggers

Runs on demand — it can be called by other automations, cron jobs, or external systems via API.

  • Input Parameters — Define arguments that the automation expects (for example, applicationId, notifyApplicant).
  • Response Type — Define the return type (defaults to Void).

Supported input types

TypeDescription
StringText values
NumberNumeric values
BooleanTrue/False values
DateTimeDate and time values
ObjectJSON objects or mapped collection records
ArrayLists of values or objects

3. On schedule triggers

Runs on a recurring interval or a single fixed time. Useful for recurring tasks, maintenance jobs, and time-based reports.

FieldRequiredDescription
Interval typeYesHow often to run: Minutes, Hours, Days, Weeks, Months, or One time
TimeYesThe interval value (for example, 1 for every 1 hour)
StartNoWhen to begin running the schedule

Interval types

Interval typeExample use
MinutesRun every N minutes (for example, every 15 minutes)
HoursRun every N hours (for example, every 1 hour)
DaysRun every N days (for example, every day)
WeeksRun every N weeks
MonthsRun every N months
One timeRun once at a specific time
note

On schedule triggers do not have a trigger record or alias. No {{alias.field}} data is available from the trigger itself. Use a Record block to query any data you need.

Example: Hourly cleanup

Trigger: On Schedule
Interval type: Hours
Time: 1

Record: Find All from Sessions (alias: sessions)
Condition: expiresAt < {{now}}

Action: Mutation (Delete)
Collection: Sessions
Condition: id in {{sessions.ids}}

Table alias

Reference trigger record data in downstream blocks. For example, the alias user lets you use {{user.email}} in action fields.

Filter conditions

The automation runs only when all conditions are met. Add conditions by selecting a field, operator, and value.

Operators

Field typeOperators
AllonChange — Only when field changes
Text=, !=, contains, not_contains, starts_with, ends_with
Number=, !=, >, <, >=, <=
Boolean=, !=
Date=, !=, >, <, >=, <=
Select=, !=, in, not_in
Multi-Selectincludes, not_includes
note

onChange is useful for update triggers — it runs only when a specific field changes.

All conditions use AND logic. For OR, create separate automations.

tip

Use the Duplicate button to quickly create a copy of your automation with different filter conditions for OR logic.

Auth table

Optionally access data about the authenticated user who performed the operation.

FieldDescription
Select Auth TableAuth collection (for example, Users)
Auth AliasReference name for user data

Examples

Trigger on new approved users

Trigger: When record created
Table: Users
Alias: user
Filter: status = "approved"
Action: Send Email
To: {{user.email}}
Subject: Welcome!

Trigger on status changes

Trigger: When record updated
Table: Orders
Alias: order
Filter: status onChange
Action: Webhook
URL: https://api.example.com/order-status-changed