n8n - 💡(How to fix) Fix Gmail Search node executes again after workflow successfully finishes [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#30174Fetched 2026-05-11 03:26:52
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
commented ×1labeled ×1mentioned ×1subscribed ×1
RAW_BUFFERClick to expand / collapse

Bug Description

The Gmail - Search Messages node gets executed again after the workflow has already continued successfully through later nodes.

<img width="1380" height="840" alt="Image" src="https://github.com/user-attachments/assets/3f3bb32f-8e9b-432a-87c6-6d32118b3afe" />

There is no loop in the workflow and no connection leading back to the Gmail node.

Even after removing the final notification nodes, the Gmail node still re-executes by itself.

I also tried enabling Execute Once in the Gmail node settings, but it did not help.

<img width="1205" height="669" alt="Image" src="https://github.com/user-attachments/assets/0b168ba1-d045-4b39-a4fc-21ba397ec9a9" />

To Reproduce

  1. Run workflow manually or via schedule trigger
  2. Workflow executes normally
  3. After later nodes finish, Gmail - Search Messages executes again unexpectedly
  4. Workflow may continue re-triggering from that node

Expected behavior

The Gmail node should execute only once during the workflow execution unless explicitly connected in a loop.

Debug Info

n8n version: 2.18.5 - Deployment: Self-hosted Docker Database: PostgreSQL Execution mode: Task runners enabled

Workflow attached:

Previous Month Invoices → ZIP → Drive.json

Operating System

Debian GNU/Linux 13

n8n Version

2.19.5

Node.js Version

docker

Database

PostgreSQL

Execution mode

main (default)

Hosting

self hosted

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The Gmail node should execute only once during the workflow execution unless explicitly connected in a loop.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING