Triggers: what starts a workflow
The four trigger types, what each one fires on, and how to keep a trigger from firing more often than you meant.
A trigger is the one event that starts a workflow. Every workflow has exactly one trigger, chosen when you create it; you can change the trigger later, but a workflow never listens to two events at once. If you need the same steps to run for two different events, duplicate the workflow and give each copy its own trigger.
The four trigger types
| Trigger | Fires when | Available on |
|---|---|---|
| Record created | A new record is saved in the chosen table, by a person, an import, the API or another workflow. | All plans |
| Field changed | A chosen field on a record in the table changes value. You can narrow it to a specific new value, for example Status becoming Closed. | All plans |
| Schedule | A time you set: hourly, daily, weekly, or a cron expression. See Scheduled workflows. | All plans |
| Inbound webhook | An HTTP POST arrives at the workflow's unique URL. The body becomes the run's input. | Growth, Enterprise |
Record created
The run starts after the record is committed, so every field the creator filled in is already available. Records created by an import start one run each; an import of 5,000 rows starts 5,000 runs, which count against your plan's monthly run allowance. If that is not what you want, add a condition on the record's Created by field, or disable the workflow for the duration of the import and run a one-off bulk action afterwards.
Field changed
Choose the table, then the field. By default the trigger fires on any change to that field. Two refinements are worth knowing:
- To a specific value. "Fires when Status changes to Closed" ignores every other transition. Use this for stage-based workflows rather than a condition inside the run; it saves a run and keeps the run history readable.
- From a specific value. Combine with the previous option to watch one transition only, for example
PendingtoApproved.
A field-changed trigger does not fire for the change that created the record. If a record is created with Status = Closed, a "changes to Closed" trigger stays quiet; use a record-created trigger with a condition if you need to catch that case too.
Preventing loops
A workflow that updates the field it is triggered by will trigger itself. Workflow Builder stops this after one hop: a run started by a workflow's own write to its trigger field is marked suppressed: self-trigger and does not execute. Two workflows that write to each other's trigger fields are not caught by this rule; the run history shows the ping-pong, and the fix is a condition such as "Updated by is not Workflow Builder".
Testing a trigger
Use Test with record on the trigger step to pick an existing record and run the workflow against it without waiting for a real event. Test runs are labelled in the run history and do not send email, post to Slack or call webhooks; those actions log what they would have sent instead.
Related
- Conditions and branches
- Scheduled workflows and time zones
- API quickstart, for starting a run from your own code