Passing output context and retrieving Session ID from Dialogflow

Hello everyone,

I have few questions regarding Dialogflow voicebot integration.

  1. How to pass all the active context and parameters as one object to Architect upon transfer without listing them one by one in the Dialogflow console? Currently, I have to specify each of them(e.g. #customer_info.product_type ; #customer_info.claim_type...)

    But clearly it doesn't make sense as I would never know what active parameters/context will be upon transfer.
    For example, I have the following raw response and I want to pass it at once to Architect.

{
  "lifespanCount": 87,
  "name": "customer_info",
  "parameters": {
    "product_type.original": "medical insurance",
    "product_type": "Medical",
    "claim_type.original": "Surgical charges",
    "claim_type": "Medical claims",
  }
}

image

  1. For webservice call/data actions, is there a way to get the Dialogflow session ID as Session Output variable in Architect? I am not sure where to get this ID after I create a Key Name that maps to parameter in DF.

Thanks in advance for your help!
Kelvin

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