Got an in my website chatbot. It was embed through iframe. Workflow is in n8n.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hey @Marvin_Gaye can you be more specific or provide more details.
Hello @Orionpax, Here is my workflow
It is working fine at n8n, but on my website, it is not working. My website is about travel. If a user inputs a non-travel question, it will go to the Respond to Chat option.
Here is the image where I embed the workflow.
@Orionpax I’m a new user of n8n. Thank you
Hi @Orionpax can you help me?
Open the Respond to Chat node. Make sure the “Message” field isn’t empty. You should manually type a fallback message there, lIke “I am TINA, your travel assistant. I can only answer questions related to tours and itineraries.”
Let me know how it goes @Marvin_Gaye
Hey, thank you for the response. But the message you mention was already there when I ask for help.
Hi @Marvin_Gaye, What are you checking in the IF node? Generally you should be fine without using a “Respond to chat” node.
Hello @Wouter_Nigrini thank you for your time. If user input a non-travel inquiry it should message “Im Tina… “
Ill try to remove the “Respond to chat” node
Hi @Wouter_Nigrini when i remove the “Respond to chat” node it did not reply it reply a JSON.
Remember to set your Chat node to its defaults again.
If this doesnt work then just share your workflow here in a code block so we can have a better look at your system prompt