AutomationFlowsEmail & Gmail › Auto-stop Email Sequences Based on Replies with IMAP and Google Sheets

Auto-stop Email Sequences Based on Replies with IMAP and Google Sheets

ByDavid Olusola @dae221 on n8n.io

This n8n automation automatically stops your email sequences when prospects reply, preventing embarrassing follow-ups and maintaining professional outreach.

Manual trigger★★★★☆ complexity10 nodesEmail Read ImapGoogle Sheets
Email & Gmail Trigger: Manual Nodes: 10 Complexity: ★★★★☆ Added:

This workflow corresponds to n8n.io template #5506 — we link there as the canonical source.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "BjAH6U8A1BMNtX7W",
  "name": "IMAP Reply-Based Sequence Stopper",
  "tags": [],
  "nodes": [
    {
      "id": "4fbf8996-96e4-415c-929f-656629a987a4",
      "name": "Email Trigger (IMAP)",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        500,
        340
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f8b81645-947d-4ea4-8808-e86c4a6ef8f6",
      "name": "Track replies",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        340
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5d30a213-a5b2-4c07-ad48-a7b4c1c3424c",
      "name": "Sticky Note 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "def234c3-9968-4288-b58f-7259e67f448f",
      "name": "Sticky Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "034b73cc-389d-4b6f-a8c7-16043decc2df",
      "name": "Sticky Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "41c67b1a-221e-4d83-8ee0-a2531267ec40",
      "name": "Sticky Note 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2fe77256-90ec-463d-8aa5-f250f2100015",
      "name": "Sticky Note 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "714310f0-8abd-47ca-a217-1f5f06bc94f4",
      "name": "SMART MATCHING",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        940,
        340
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "021e5c31-55d2-4784-a7bd-b722a36f6c96",
      "name": "AUTO-STOP SEQUENCES",
      "type": "n8n-nodes-base.code",
      "position": [
        1160,
        340
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a21db415-c853-4eb4-9c7d-22530763aa9a",
      "name": "Update Record",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1400,
        340
      ],
      "parameters": {},
      "typeVersion": 4.6
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f088a1b0-a58f-4e48-9165-7e139280e62f",
  "connections": {
    "Track replies": {
      "main": [
        [
          {
            "node": "SMART MATCHING",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SMART MATCHING": {
      "main": [
        [
          {
            "node": "AUTO-STOP SEQUENCES",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AUTO-STOP SEQUENCES": {
      "main": [
        [
          {
            "node": "Update Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Trigger (IMAP)": {
      "main": [
        [
          {
            "node": "Track replies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This n8n automation automatically stops your email sequences when prospects reply, preventing embarrassing follow-ups and maintaining professional outreach.

Source: https://n8n.io/workflows/5506/ — original creator credit. Request a take-down →

More Email & Gmail workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Email & Gmail

Alrouf AI Integration (Production). Uses googleSheets, chainLlm, lmChatGoogleGemini, outputParserStructured. Manual trigger; 21 nodes.

Google Sheets, Chain Llm, Google Gemini Chat +5
Email & Gmail

Extract expenses from emails and add to Google Sheet. Uses emailReadImap, mindee, googleSheets. Manual trigger; 6 nodes.

Email Read Imap, Mindee, Google Sheets
Email & Gmail

This workflow will check a mailbox for new emails and if the Subject contains Expenses or Reciept it will send the attachment to Mindee for processing then it will update a Google sheet with the value

Email Read Imap, Mindee, Google Sheets
Email & Gmail

If you are a postmaster or you manage email server, you can set up DKIM and SPF records to ensure that spoofing your email address is hard. On your domain you can also set up DMARC record to receive X

Email Read Imap, MySQL, Compression +3
Email & Gmail

This workflow automates URL reporting to Spamhaus based on incoming spam/phishing sample emails. It watches one or more IMAP folders, extracts URLs from each email body, removes duplicates and common

Email Read Imap, HTTP Request