Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow CX Error: Error in creating examples in playbooks

Issue: I am trying to save examples in playbooks. However, for each playbook it dictates that it is a 'child playbook' and cannot start with user utterance.

a.) The one I was adding too was the parent playbook (start of playbook series which dictates start of flow), and it wouldn't allow it to start with user utterance

b.) In my series of playbooks, they all transition to another.  No labels to say what is child or parent. 

c.) playbook invocations are always stuck in pending

3 REPLIES 3

Hi Ian,

Is your agent set to start with a playbook or a flow? If its a flow that could be the issue as any playbook called by a flow is considered a child playbook.

If it starts with a playbook then this message you're seeing looks like a bug. You can try reporting it.

Fwiw though, I just did a simple test with a new agent and a playbook that transitions to one other playbook for specific queries. It allowed me to save examples starting with the user utterance in the default parent (which will have a star in the list of playbooks). So I'm not able to easily reproduce the error you're seeing in a parent playbook.

You can of course manually edit the example to delete the initial user utterance, and this will allow you to save the example.

In my testing, I'm unable to save any example (whether in a parent or child playbook) that includes that's playbook status at the end of the example - I need to manually delete it to be able to save. From other posts on the forum this may be another bug google needs to address, see for example:

https://www.googlecloudcommunity.com/gc/AI-ML/Dialogflow-CX-Playbook-Stuck-in-OUTPUT-STATE-PENDING-A...

Hope this helps!

Thank you for this feedback. I think my agent starts with a flow.  I had originally the 'default flow' and 'start page'.  Where I just transitioned from the default intent to my first playbook. 

If I want to start with a playbook, how did you do that? did you delete the default flow and start page? @Joe_McFadden 

Again thank you!

Hi Ian,

You can change whether the agent starts with a flow or a playbook under the agent settings (access via the three dot menu top right of the console, then in the general tab of settings:

Joe_McFadden_0-1738361271380.png

With flow selected, the agent will start from the default start flow.
With playbook selected, it will start from the default playbook which you have starred in the list view of all playbooks.

Hope that helps!