Imap Trigger Issue From Older (deleted) Workflow

  • I have integrated an IMAP node in my current workflow, expecting it to receive incoming emails.
  • But when someone send an email, it gets picked up by an older workflow (possibly deleted or deactivated).
  • That old flow still replies, and the current one does not receive anything.

Here’s a starting point to snoop around in the n8n database (assuming you’re using Postgres) and potentially (deactivated nodes) make changes directly to the data. Whenever we have had strange “orphaned” stuff like this going on, this approach (or running psql from the command line) is how we eventually resolved the issue.

Be VERY CAREFUL and BACK UP YOUR DATABASE before you change anything.

Then, after you make a change, it may be necessary to restart n8n too.