{{variables}} doesn’t need an agent.
How to use it
- Add a Run Agent step to your workflow.
- Choose the agent to run. It must be a published agent (see below).
- Write the instruction for the agent — what you want it to do this run. It accepts variables from earlier steps, so you can point it at the meeting, the record, or a set of records you found.
- Reference the agent’s result in a later step as
{{<step-id>.output}}— for example, put{{agent-1.output}}into a Slack message or email body.
Publish the agent first
A Run Agent step points at an agent by id, and a workflow can’t publish while it references an agent that isn’t published yet. So build and publish the agent first, then reference it from the workflow and publish the workflow. If you try to publish a workflow whose Run Agent step points at an unpublished agent, publishing fails and tells you to publish the agent first.In practice
On a meeting ended workflow, a Run Agent step summarizes the call and lists action items, and the next step posts{{agent-1.output}} to the account’s Slack channel — the analysis and the delivery both happen automatically.
Related
- Send a Slack message — post what the agent produced
- Send email from a workflow — email the agent’s recap
- Find & filter records — gather the data the agent reasons over