You can pass the parameters from the msg object to other variables and use them in Experience Designer.
You need to assign variables within a session to the values that you wanted to capture.
You need to call these variables in the Experience designer flows.
In the below example, we have captured the cookie
from msg.req.headers.cookie
and assigned it to a variable cookie_id
and sent it to the session.
Copy the below code to Bot In parser of the Bot Provider V2 node.
if (msg.payload.originalRequest) { msg.payload.originalRequest.data = { cookie_id: msg.req.headers.cookie } }
You can see the variable
cookie_id
atmsg.payload.originalDetectIntentRequest.payload.cookie_id