Expertise AI Knowledge Base

Tool: @stop_playbook

End playbook execution and return to general conversation

Last updated on October 27, 2025

What it does

Ends the playbook execution and returns the agent to general conversation mode.

When to use it

At the end of every path through your playbook. REQUIRED for all complete playbooks.

Can combine with

Yes, can appear at the end of any step with other tools.

Syntax

As its own step:
X. @stop_playbook
Combined with another tool:
X. @mention_specifically: "Thank you!" @stop_playbook

Examples

As its own step:
3. @mention_specifically: "Thank you for your interest!" 4. @stop_playbook
Combined:
3. @mention_specifically: "Thank you for your interest!" @stop_playbook
Multiple exit points:
1. @ask_question: "Interested in a demo?" @show_options["Yes", "No"] - If "Yes", proceed to Step 2. - If "No", proceed to Step 5. 2. @ask_question: "What's your email?" 3. @ask_question: "What's your name?" 4. @mention_specifically: "Great! Someone will reach out to schedule." @stop_playbook 5. @mention_specifically: "No problem! Feel free to reach out anytime." @stop_playbook

Tips

  • Every branch must reach @stop_playbook—this is critical
  • The agent returns to normal Q&A mode after stopping
  • Can appear multiple times in branched playbooks (different ending paths)
  • Always verify all paths eventually reach a stop

What Happens After Stop

  1. Playbook execution ends
  1. Agent returns to normal conversation mode
  1. Visitor can ask general questions
  1. Other playbooks can still trigger based on their conditions
  1. All collected information is saved

Troubleshooting

Error: "Missing @stop_playbook"
Check that every branch eventually ends with @stop_playbook.
 

Learn More