Status update
A Status update step sets the run’s current status: a code for your systems and a sentence that is safe to tell the customer. Agents read it with get_workflow_status, so when a customer asks “where is my application?”, the agent answers with wording you approved. The step can also send the sentence to the customer straight away.
When to use it
Section titled “When to use it”- “An underwriter is reviewing your application” while an approval is open.
- “Your refund has been sent to your bank” after the payment tool succeeds.
- Showing progress such as 60% on a multi-step onboarding.
When not to use it
Section titled “When not to use it”- You want to send a templated or rich message. Use Send message.
- You want to tell an internal team. Use Notify.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Status code | Required. For example under_review. |
| What the customer is told | Required. For example “An underwriter is reviewing your application.” |
| In other languages | Language and text pairs, for example { "hi": "…" }. |
| Progress (%) | 0 to 100. |
| Also tell the customer now | Default: off. |
| Tell them on | When telling the customer. WhatsApp (default), SMS, email, RCS or app. |
| Customer | When telling the customer. Required. An expression, for example input.phone. |
What it produces
Section titled “What it produces”- A single Next.
- The run’s
status:code,label, andtranslationsandprogresswhen set. It replaces the previous status. Read it in later steps asstatus.codeandstatus.label. - A
status.updatedentry in the run’s timeline.
Example
Section titled “Example”A lender keeps the customer informed while a loan is reviewed.
API / webhook → Status update (under_review, 40%) → Approval (credit officer) approved → Status update (approved, 100%, tell the customer) → End{ "code": "under_review", "label": "An underwriter is reviewing your application.", "progress": 40 }