Gmail Trigger

Hi, I want to ask

image

Can the poll time feature be removed? Because every time I delete, save, and run the workflow, this feature automatically turns on. What I am looking for is a trigger every time an email arrives in Gmail.

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:

So Gmail doesn’t actually send n8n any information when you get an email, so there is no way for n8n to know when to trigger.

Polling is the solution: every so often n8n goes and asks Gmail if any new messages came since the last time it asks. If you put every minute, then every 60 seconds n8n will ask gmail if there is anything new. That’s what polling is

There is no instant trigger functionality, the poll time is required.
You can have it check every 1 second if you really need emails right away, but that will constantly be running on your n8n server potentially slowing it down.

This is how you would set poll times under a minute