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

Dialogflow CX Playbook Stuck in OUTPUT_STATE_PENDING After API Invocation

Hi Everyone

I am working on a Dialogflow CX agent integrated with Twilio (WhatsApp). When I invoke a playbook via the Dialogflow CX API, the playbook transitions successfully but remains in the OUTPUT_STATE_PENDING state. Below are the steps I’ve taken, the observed behavior, and the specific issue I’m encountering.

What I Am Trying to Achieve

I want to use a playbook to handle customer requests for  services, process their location for pricing calculations, and respond with the relevant pricing details. The playbook should complete and return the correct output but it does not instead I am getting the below error:

mahambabp_0-1735287383377.png

Question

  • Why does the playbook remain in OUTPUT_STATE_PENDING even after valid invocation?
  • How can I ensure actionParameters are correctly populated during playbook invocation?

 

 

3 10 1,385
10 REPLIES 10