Passing call status variable from Split based on widget

82 Views Asked by At

I have a flow in which I'm connecting a salesperson to a client, so now I need to branch out to the next step depending on the status of this call. From the documentation, I have to use the variable {{widgets.MYWIDGET.DialCallStatus}} the values possible are:

  • queued
  • initiated
  • ringing
  • in-progress
  • completed
  • busy
  • failed
  • no-answer I have attached a screenshot with the configuration. Thanks in advance.

Studio Flow

I'm testing some values but is resulting in NO MATCH? I can see in the logs that is entering to the Split based on widget but the variable status is not being recognized?

1

There are 1 best solutions below

4
jassent On

I did not test this, but the documentation shows that the Connect Call To widget returns data in this format:

Dial Call Status {{widgets.MY_WIDGET_NAME.variables.DialCallStatus}}

Is the "variables" property shown when you inspect it in the debug log?

If so, try this selector: {{widgets.Forward_call_to_contact.variables.DialCallStatus}}