Is there a way to pass query parameters in the Chat trigger?

@LucBerge, thank you for your answer.

I have a “Hosted Chat” Chat Trigger which is publicly available, as shown in the screenshot below. When sending a message, and checking the execution of the workflow, I can see metadata is passed from the Chat to the execution, and those are basically user metadata.

Say this chat is accessed through https://url/abc/chat
I was thinking on passing query parameters, such as https://url/abc/chat?q=123, so I can reutilize the same webhook, but be able to pass parameters to it.

One use case would be for a Question and Answer Chain plugged to a Vector Store. I want to have many chats, each one connecting to a different Collection Name. Currently the only way is to create many Chat Webhooks, which doesn’t scale any well. I don’t believe that should be the case, since I only want to change a single parameter between chats.

I know what I’m trying to do is doable via external embedded chats, as explained in the referred topic, as you can pass metadata as a parameter, but I’m looking for a way to do it on the n8n hosted chat as well.