Triggers & steps
How triggers, loops, variables, approvals and agent steps work inside a workflow.
What can start a workflow?
Every workflow begins with one trigger (When this happens… in the palette):
| Trigger | Starts the workflow… |
|---|---|
| Manual | When you click Run. |
| Schedule | On a repeating schedule. |
| Webhook | When something sends an HTTP request to its URL. |
| Polling | When Bolt finds new or changed data, checked every few seconds or minutes. |
| App triggers | When something happens in a connected app, for example "HubSpot Trigger". |
| Inbound call | When someone calls one of your phone numbers — the workflow decides which agent answers. |
| Phone call ended | After an agent finishes a phone call, for example to log a summary. |
| Follow-up | Once per subject enrolled in a follow-up. |
How do I set up a schedule?
Pick an interval — every N Seconds, Minutes, Hours, Days, Weeks or Months — and, where it applies, the hour, weekday, day of month and minute to run at.
For anything more specific choose Custom (Cron). Bolt's cron expressions have six fields, starting with seconds:
[Second] [Minute] [Hour] [Day of Month] [Month] [Day of Week]
0 30 9 * * 1-5 → 09:30:00 every weekdayHow do webhooks work?
Set a Path (letters, numbers, hyphens and underscores). The workflow then listens at
/api/v1/webhooks/<your-path> on your Bolt address. You can also choose:
- HTTP Method — GET, POST (default), PUT, PATCH or DELETE.
- Response Mode — reply with the Last node output (default; the caller waits until the workflow finishes) or Immediately on receipt.
Why don't I see a webhook URL for my app trigger?
App triggers that receive webhooks (for example HubSpot) show their URL in the step panel after you save the workflow. The URL is registered with the app when you activate the workflow. For apps that don't let Bolt register webhooks automatically, copy the URL into the app's developer settings once.
How often does a polling trigger check?
You set the Polling interval (seconds); the minimum is 10 seconds and each app has a sensible default. If you replicate that app's data with Data replication, the trigger can fire from the replicated copy instead of polling the app.
What kinds of steps are there?
- Check if… — If / Branch, Switch, Loop Over Items, Loop (reshape), Wait, Wait for Working Hours, Stop, Approve, Human follow-up.
- Do this… — Browser automation, Set variable, HTTP request, Code (Python), follow-up steps (Enrol in follow-up, Follow-up attempt, Still needed?, Look up follow-up, Record attempt), Record activity, Recall activity, Write audit log, Query audit log.
- Connect a tool… — actions in your connected integrations, like "Create invoice" or "Send message".
- Agents — any of your saved agents.
- Reference… — Knowledge search, Map, Filter, Merge.
How do I use the output of an earlier step?
Fields accept expressions in double curly braces:
{{ nodes['list-invoices'].output.items }}— the output of the step with that ID.{{ vars.customer_email }}— a value saved by a Set variable step.{{ item.email }}— the current record, in fields marked per item (see below).
How do I repeat steps for every record in a list?
Use Loop Over Items:
- In Items, point at a list, for example
{{ nodes['list-invoices'].output.items }}. - Connect the steps that should run per record to the loop output. Inside them, the current record is
output.itemof the loop step. - Connect the last step of the loop body back into the Loop Over Items step. Without that connection the body runs only once.
- Connect whatever should happen afterwards to the done output — it runs once, with all the results.
Batch Size (default 1) processes several records per pass. Limit (default 0 = no limit) is handy for testing on the first few records.
Loop (reshape), Map and Filter don't repeat steps
They transform a list in one go. Only Loop Over Items runs the following steps once per record.
What does the "per item" badge on a field mean?
That field is evaluated separately for each record. Use {{ item.field }} there. An expression like
{{ nodes['…'].output… }} in a per-item field is evaluated once for the whole list, which can quietly collapse
many records into one.
How do I store a value for later steps?
Add a Set variable step. Give it a Variable name and a Value (text, a number, or an object; expressions
are allowed), then read it later as {{ vars.<name> }}. Turn on Merge with existing value to add keys to an
existing object instead of replacing it.
Tip: to carry several related values, use one Set variable step with an object value rather than one step per value.
How do I get a person to approve something mid-workflow?
Add an Approve step:
- Title and Message — what the approver sees in their Bolt Inbox.
- Scope — who can decide: the workflow owner (Personal), a brand, or the whole organization (default).
- Wait for a decision — how long to wait (default 5 minutes).
- On timeout — Treat as rejected (default) or Treat as approved.
The step has two outputs, approved and rejected, so you can handle each case.
How does an agent step work?
Adding one of your agents as a step hands it a message and waits for its answer.
- Input message — what to ask. Leave it empty to pass the workflow's input straight through.
- Output fields — describe the fields you want back (for example
amountandreason). Later steps read them asoutput.result.amount. Without output fields, the answer is plain text inoutput.response.
An agent step times out after 5 minutes. If the agent hits one of its approval rules, the whole workflow waits until someone decides in the inbox.
How do I hand a task to a person?
Human follow-up creates a task in the Bolt Inbox. The assignee marks it Done or Not needed, and the workflow continues.
What do Wait and Wait for Working Hours do?
Wait pauses the run for a set time. Wait for Working Hours holds the run until the next working-hours window, so customers aren't contacted at night.