Cloud workspace: lisandromh.app.n8n.cloud
Problem — publish/unpublish state machine stuck:
Workflow “NF e BOLETO @financeiro NOVO” (ID DDKMcLO2JKikxUd2) appears as Published, but the email trigger (IMAP) is never automatically triggered. New emails remain unread; the workflow only runs when I manually click “Execute workflow”. The active listener is never displayed.
Unable to delete two archived workflows — error: “Error deleting workflow — The workflow is still being unpublished. Try again in a moment.” — for days. IDs: U4Sy2ru4EdreWr08 (“financeiro @delete”) and KUXgFuRWoM8WqTHt (“NF e BOLETO deleted”).
Already tried: recreate the IMAP node, unpublish/republish multiple times, “Force reconnection every minute”. No effect.
Possible cause: orphaned trigger record in the cloud runtime environment (all three use IMAP against the same @financeiro mailbox).
Request: clean up orphaned trigger records / restart the trigger runtime for this account.
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:
Hi @lisandro_heusi Welcome!
“The workflow is still being unpublished” means the unpublish job never finished, so the trigger registration for those two is still held. That same held state is why the published workflow’s IMAP listener never opens and only manual runs work. Unpublishing and republishing from the editor queues behind the same lock, which is why it has no effect.
The public API writes directly and skips the editor flow. Create a key under Settings > n8n API, then run this for each of U4Sy2ru4EdreWr08 and KUXgFuRWoM8WqTHt:
curl -X POST 'https://lisandromh.app.n8n.cloud/api/v1/workflows/U4Sy2ru4EdreWr08/unpublish' -H 'X-N8N-API-KEY: <your-api-key>'
curl -X DELETE 'https://lisandromh.app.n8n.cloud/api/v1/workflows/U4Sy2ru4EdreWr08' -H 'X-N8N-API-KEY: <your-api-key>'
If the API returns the same lock, clearing it is Cloud-side and nobody here can do it. Email help@n8n.io with your workspace name and all three IDs, including DDKMcLO2JKikxUd2, and ask them to reset the trigger registrations for the account.
Complementing the template information that was left blank in the original post:
What is the error message (if any)? No error message appears in the interface. The “Publish” button gets stuck indefinitely on “Publishing…” and never completes — I’ve already waited several minutes without any change in state. This happens in both workflows at the same time: “NF e BOLETO @financeiro NOVO” (ID DDKMcLO2JKikxUd2) and “CÉREBRO PRINCIPAL Sara” (ID 2AUZfSUs2ovtP8U9), both in the same account.
Please share your workflow I prefer not to export the workflow publicly here, as it processes sensitive financial data (emails, invoices, company bills). I can share it privately with the support team if necessary.
Share the output returned by the last node Not applicable in this case — the problem occurs when publishing the workflow (Publish), not during an execution. There is no node or execution involved.
Information on your n8n setup
- n8n version: [check in the bottom left footer of the editor or in Settings → About, and fill in before posting]
- Database: managed by n8n Cloud
- n8n EXECUTIONS_PROCESS setting: managed by n8n Cloud (default)
- Running n8n via: n8n Cloud
- Operating system: access via browser (macOS)
Reinforcing the main point: since it’s happening simultaneously in 2 different workflows in the same account, this suggests a problem at the account/instance level, not something isolated to a specific workflow. I’ve also already sent an email with the full report to help@n8n.io, awaiting a response.
A publish that spins on “Publishing…” with no error means the workspace’s activation path has stopped answering, and a restart clears it. You can force one yourself rather than waiting on the ticket: open https://app.n8n.cloud/manage, select Manage, then Workspace, pick a different version in the n8n version dropdown and select Change version. That triggers a 1 to 2 minute restart, and publishing goes through once it comes back.
Update your version | Deploy | n8n Docs
See this: