The Question
I’m trying to allow search parameters to prefill queries when using the Chat Trigger node in combination with my AI Agent. For example:
https://xxxxxx.app.n8n.cloud/workflow/aaaaaaa?query=What%20happened%20on%20the%20call%20with%20the%20aircall%20id%2023123222%3F
I’ve already made this work by switching the chat mode
from hosted
to embedded
and having the chat’s front-end on my own “website”, but ideally, I’d like to be able to do things strictly from n8n.
I came across this suggestion using the Form node, but it wasn’t clear how to set it up in a way that still allows follow-up questions after the initial submission: I had expected to redirect users to the chat page after the initial form-query submission, passing the sessionId
in the redirect URL, but couldn’t find a way to make sessionId
available in the hosted chat URL.