Chat trigger invoked repeatedly with `loadPreviousSession ` action

Hello, I have a simple chat workflow, invoked by a chat message.

Describe the problem/error/question

The workflow is triggered repeatedly with the action loadPreviousSession. This is called very frequently, every 5-10 minutes even when there has been no active session for a while.

What is the error message (if any)?

Output: No prompt specified

Expected to find the prompt in an input field called ‘chatInput’. To use something else, change the ‘Prompt’ parameter.

When the workflow is triggered from a chat message the chatInput is defined, but not in the case of loadPreviousSession.

Please share your workflow

Share the output returned by the last node

Output: No prompt specified

Expected to find the prompt in an input field called ‘chatInput’. To use something else, change the ‘Prompt’ parameter.

Information on your n8n setup

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

Hey @WarTech9

I wasn’t able to reproduce the errors you’re seeing but noticed you have the ChatTrigger set to “Embedded Chat” mode which might be a clue. Do you get the same errors in “Hosted Chat” mode?

Here’s a simple template to test Embedded Chat.