Agent Builder - Playbook loop detected - Google Cloud Community
Share this topicLinkedIn
Twitter
Copy URL
Hi, my issue is I am trying to essentially end the use of a Playbook. My instructions look like I continually get a "playbook loop detected" error anytime I try to use $FLOW to redirect the user. I want to return the user to the request or start page essentially, so that they could potentially use other playbooks and tools. But once I start a playbook, it always says "loop detected". How can I return the user anywhere else or end the use of a playbook without getting the "loop detected" error? Seems straightforward! Any help is really appreciated.
Share this topicLinkedIn
Twitter
Copy URL
Solution:
For me, it works this way:
- Create a start_flow with the welcome intent routed to playbook 1 (your start_playbook).
- In Playbook 1, add this instruction: If the user asks any other questions, transfer to $flow Start_flow.
- In your console, don't forget to select "default start_flow" in the resource case and not your playbook to initiate the conversation.

Let me know if this solution works for you.




















