Hello! I’ve been running into a weird bug. I’ve set up a Gmail trigger in my workflow. The thing is, when I test the workflow manually, everything works correctly. Then, when I activate it, it also works fine for a couple of hours. However, after a day or so, it completely stops working. I keep receiving emails, but the trigger is not firing.
I have it configured to sort through only unread emails with a specific tag. In Gmail, I’ve set up a filter that adds the tag to certain emails that need to be processed by the workflow.
n8n Cloud uses polling (not push notifications) for Gmail. That means it checks Gmail every few minutes for new emails. Google might rate-limit or throttle these checks after a while.
Try this fix:
Go to your Gmail Trigger node settings.
Reduce the polling interval (e.g. from 60s to 300s) to avoid hitting limits.
Make sure “Mark as Read” or “Remove Label” is enabled in the node so that processed emails aren’t re-checked.
also, make sure your Gmail Token didn’t expire. Google sometimes expires the access token for security reasons.
Try this fix:
Open your Gmail credentials in n8n.
Click “Reconnect” or “Re-authenticate” to refresh the token.