I want to make email follow up automation but don't know when if recipient replied stop and not send follow ups

I made email follow up automation but don’t know how to stop if recipient replied to the enail and not send follow ups.

Describe the problem/error/question

What is the error messag

e (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:

You can try with the Gmail threadId of your first email and check that thread before every follow-up. If the thread contains any message from the lead, stop.

Replies always land in the same Gmail thread. threadId is the most reliable key (better than subject or searching the inbox).

1) When you send the first email

  • In the Gmail Send output you get id and threadId.

  • Append to Sheet these fields alongside the lead:

    • email

    • threadId

    • status

    • last_contacted_at

2) Create a “reply listener” workflow (separate)

This keeps your main flow simple and avoids trying to “cancel” waits.

  1. Gmail Trigger → New Email

  2. IF node to ignore your own messages
    {{$json.from.email}} does not contain your_domain_or_email_address

  3. Google Sheets → Lookup row by threadId = {{$json.threadId}}

  4. IF: row found

    • Google Sheets → Update row
      status = replied, replied_at = {{$now}}

As soon as a reply comes in, the row is marked replied. You don’t need to wake/cancel the waiting execution.

The main flow will check the sheet before sending the next follow-up.

3) In your follow-up sequence (the one in your screenshot)

Right after each Wait, you already have a Lookup. Make it check by threadId or email. Then:

  • IF status == repliedStop (don’t send).

  • Else → send the next follow-up, then Update row (e.g., last_contacted_at, status = pending_f1/f2, etc.).

That’s it. Replies stop the sequence because the status flips before the next send.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.