I use the chat message trigger embedded in a website.
When a user load the webpage, it has a cookie called “client_id”. I would like to be able to retrieve the client_id in my workflow.
The objective is to query a vector database filtering the documents to the ones concerning the client_id only.
The question
Is possible to pass an argument to the createChat function to retrieve it in the workflow ?
I have read the doc:
But nothing. There is a field called metadata, but there is not information about it, you forgot the field description.
I have had a chat with the team and the metadata option might be what you need, To use it you can input any json object you want and it will appear in the chat trigger node output ready to be used.