I’m using the pre built workflow Chat with OpenAI Assistant (by adding a memory).
When we copy and paste the workflow we always get the same webhook, I’m assuming this needs to be changed with a fresh Chat trigger so we can embed it onto a page?
However when I go to do this, it breaks the windows buffer memory and I can’t see any way to pull the new chat trigger node through to memory.
I’m sure this is an easy fix but I’m not seeing it!
What is the error message (if any)?
No path back to referenced node
There is no connection back to the node ‘Chat Trigger’, but it’s used in an expression here.
Please wire up the node (there can be other nodes in between).
Replace the Session ID with this expression {{ $('Chat Trigger').first().json.sessionId }}
I also see that adding previous conversation in the Text is not working (at least for me anyway) in that case, replace it with {{ $json["messages"].map(m => Human: ${m.human}\nAI Assistant: ${m.ai}).join('\n') }}
Try these out and let me know if that fixes your issue or not!