Voice Agents · 1 min read · For everyone
End Call
The last step of a voice agent: what the agent says before it hangs up, and what it saves from the call.
The End Call step closes the conversation: the agent says its final words and the call ends. Each voice agent has one End Call step. Agent steps lead to it when the conversation is done.
To end a call from inside any step instead (for example when the caller asks to stop), give that step the End Call tool.
Fields#
| Field | What it does |
|---|---|
| Name | A short name for the step, shown in call logs. |
| Prompt | What the agent should say before hanging up: thank the caller, confirm the next step, say goodbye. |
| Add Global Prompt | Adds the Global Node's instructions to this step's prompt. |
| Enable Variable Extraction | Saves details from the whole conversation into variables when the call ends, with an Extraction Prompt and a type for each Variable (String, Number or Boolean). |
Example#
- Prompt:
Thank the customer by name. If they confirmed the order, tell them it will arrive in 3 to 5 days. If they cancelled, say the order is cancelled and no money was taken. Then say goodbye. - Variables:
outcome(String: confirmed, cancelled or call_back),call_back_time(String).
Extracted variables appear on the call's run (Insights → Runs → Agent Calls), in the webhook after the call, and in the journey that placed the call.
Common problems#
- The call ends without a goodbye: the agent used the End Call tool from another step. Add a short goodbye to that step's prompt.
- Variables are empty: describe each variable clearly ("the date the customer asked to be called back, as YYYY-MM-DD") and turn on extraction in the step where the detail is discussed.
Was this page helpful?
Docs