Stop Execution
Learn how to use the Stop Execution node in YourGPT Studio to terminate chatbot flow processing at any point in your scenario.
Stop Execution
The Stop Execution node immediately terminates the chatbot flow. No further nodes are processed after this point. Use it to cleanly end a conversation branch or prevent unintended flow continuation.
How It Works
When execution reaches the Stop Execution node:
- All further node processing halts for the current flow.
- The conversation remains open — the user can still send new messages.
- The chatbot responds to subsequent messages based on its configured fallback behavior (e.g., AI response or human handoff).
How to Use
- Drag the Stop Execution node from the toolbar onto the canvas.
- Connect the incoming path that should terminate to this node.
- No additional configuration is required.
Use Cases
- End a flow branch after an error or unsupported input path
- Terminate processing after a successful action (e.g., ticket created, order confirmed)
- Prevent the flow from accidentally continuing into unrelated nodes
- Mark the final step of a completed workflow before returning control to the AI
Stop Execution vs Close Chat
| Stop Execution | Close Chat | |
|---|---|---|
| Ends flow processing | Yes | Yes (implicitly) |
| Closes the chat session | No | Yes |
| User can continue chatting | Yes | No — new session required |
Note
Stop Execution ends the flow, not the chat session. To also close the chat window and prevent further messages, use the Close Chat action.