Legacy Dev Forum Posts

 View Only

Sign Up

How to get values out of genesys-output context from Dialogflow

  • 1.  How to get values out of genesys-output context from Dialogflow

    Posted 06-05-2025 19:11

    VaunMcCarthy | 2021-08-30 21:38:59 UTC | #1

    Hi guys

    How do you get individual parameters from the genesys-output context configured in Dialogflow into Architect? I can only seem to get the full string or full kvp (eg name=john) rather than just the value of individual parameters. Seems a bit old fashioned to have to get that full thing and have to parse/split out each parameter separately in Architect.


    Jerome.Saint-Marc | 2021-08-31 08:46:33 UTC | #2

    Hello,

    Create a Dialogflow output context named “genesys-output” with name-value parameters. Then in Architect’s Output section, list the names of the parameters you want along with the Architect variables in which to store the matching values.

    Under "Session Variables - Output", you have to create/add outputs with Key Names matching the names (case sensitive) of the name-value parameters you have set in your genesys-output context (in DialogFlow). With what you have posted above -> Add output with Key Name = name

    Regards,


    system | 2021-10-01 08:47:25 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 11870