N8n clear chat button feature

Question: How to Insert a Clear Chat Button in the Existing n8n Chat Embed

Hi n8n Community,

I’m currently using the n8n chat embed provided via CDN for integrating a chat interface on my website. While the chat embed works great, I have noticed that it lacks a “Clear Chat” button, which would be a useful feature for users to reset the chat history without refreshing the page.

Issue:
There is no built-in option or feature in the current n8n chat embed to include a “Clear Chat” button.

Desired Solution:
I would like to know if there is any way to add a “Clear Chat” button to the existing n8n chat embed. Ideally, this button should be able to clear the current chat history when clicked.

Has anyone faced a similar issue or found a way to implement such a feature? Any insights, code snippets, or alternative solutions would be greatly appreciated!

Thanks in advance for your help!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Moved from Questions to Feature Requests. Don’t forget to vote!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.