Hello,
I am finding some way to set custom values or attributes which I get from website and send it as payload from dialogflow messenger to dialogflow. So that custom value can be used in response via webhook.
What I found is setting user-id like below, can we set our own custom attributes and how to use it in webhook.
Any help is appreciated.
Looking for both edition, ES and CX.
const dfMessenger = document.querySelector('df-messenger');
dfMessenger.setAttribute("user-id", YOUR_USER); // Sent to Dialogflow API through queryParams.payload