Can I access these values directly within the agent too programatically? I would like to use it for other reasons within the chatbot conversation (as I can’t send standard query parameters with this or the previous Messenger widget, this may be a neat workaround).
I am setting it in the context of the webhook using the example in the docs
and I can see it getting passed in the queryParams of the POST from the
widget.
Apologies, I meant is there a way to get the context into the session
variables.
The new messenger widget doesn’t allow session parameters to be sent then,
which is a real shame. For example I may want to pass details from a
website’s session storage to DF CX. We are doing it via our own chat
widget, just a shame it’s not supported in the latest messenger widget.
For example, a method called setSessionParameters we could call within the
widget to set these variables would be ideal. A bit of a missed
opportunity in the messenger widget …