AutomationFlowsEmail & Gmail › Wait Live Output

Wait Live Output

06-wait-live-output. Uses httpRequest, gmail. Event-driven trigger; 8 nodes.

Event trigger★★★★☆ complexity8 nodesHTTP RequestGmail
Email & Gmail Trigger: Event Nodes: 8 Complexity: ★★★★☆ Added:

This workflow follows the Gmail → HTTP Request recipe pattern — see all workflows that pair these two integrations.

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
{
  "name": "06-wait-live-output",
  "nodes": [
    {
      "id": "00000000-0000-4000-8000-000000000000",
      "name": "When a new deal is created in the CRM",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        300
      ],
      "parameters": {},
      "notes": "Original Relay trigger: app-event. Wire the real n8n trigger manually."
    },
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Fetch the deal record over HTTP",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.4,
      "position": [
        300,
        300
      ],
      "parameters": {
        "method": "GET",
        "url": "TODO: set request URL (from Relay prompt)",
        "options": {}
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000002",
      "name": "Wait for 2 days",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        600,
        300
      ],
      "parameters": {
        "resume": "timeInterval",
        "amount": 1,
        "unit": "hours"
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000003",
      "name": "Re-fetch Fetch the deal record over HTTP (live output)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.4,
      "position": [
        900,
        300
      ],
      "parameters": {
        "method": "GET",
        "url": "TODO: re-fetch the live record for step \"Fetch the deal record over HTTP\"",
        "options": {}
      },
      "notes": "Injected by relay2n8n: Relay re-fetches this output live. Wire this to read the current record."
    },
    {
      "id": "00000000-0000-4000-8000-000000000004",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        900,
        100
      ],
      "parameters": {
        "content": "## \ud83d\udd34 Live step outputs (\u00a74.1)\n\nRelay re-fetches this data every use. n8n `$json` is a snapshot taken before the Wait. A re-fetch node was injected \u2014 verify it reads the right record.",
        "height": 160,
        "width": 280,
        "color": 1
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000005",
      "name": "Send a follow-up email using the current deal status",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.2,
      "position": [
        1200,
        300
      ],
      "parameters": {
        "resource": "message",
        "operation": "send",
        "sendTo": "TODO: set recipient (from Relay prompt)",
        "subject": "TODO: set subject (from Relay prompt)",
        "message": "TODO: set body (from Relay prompt)",
        "options": {},
        "resolvedInputs": {
          "1": "={{ $('Re-fetch Fetch the deal record over HTTP (live output)').item.json }}"
        }
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000006",
      "name": "Sticky Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1200,
        100
      ],
      "parameters": {
        "content": "## \u26a0 Live step outputs\n\nStep \"Send a follow-up email using the current deal status\" reads output of \"1\" across a Wait. n8n $json is an immutable snapshot. Any step output referenced AFTER a Wait gets a re-fetch node injected; verify the re-fetch reads the right record.",
        "height": 160,
        "width": 280,
        "color": 1
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000007",
      "name": "Sticky Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -160
      ],
      "parameters": {
        "content": "## \u26a0 Secrets and credentials\n\nEvery credential must be re-entered by hand in n8n. No automation possible.",
        "height": 160,
        "width": 280,
        "color": 1
      }
    }
  ],
  "connections": {
    "When a new deal is created in the CRM": {
      "main": [
        [
          {
            "node": "Fetch the deal record over HTTP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch the deal record over HTTP": {
      "main": [
        [
          {
            "node": "Wait for 2 days",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for 2 days": {
      "main": [
        [
          {
            "node": "Re-fetch Fetch the deal record over HTTP (live output)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Re-fetch Fetch the deal record over HTTP (live output)": {
      "main": [
        [
          {
            "node": "Send a follow-up email using the current deal status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

06-wait-live-output. Uses httpRequest, gmail. Event-driven trigger; 8 nodes.

Source: https://github.com/syedahmad0786/relay2n8n/blob/main/fixtures/06-wait-live-output/expected.n8n.json — 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

Gmail Workflow. Uses gmail, googleCalendar, executeWorkflowTrigger, whatsApp. Event-driven trigger; 61 nodes.

Gmail, Google Calendar, Execute Workflow Trigger +2
Email & Gmail

This workflow ingests proof-of-delivery and completion documents from Gmail or a webhook, extracts key fields with an OpenRouter vision model, reconciles them against Google Sheets dispatch data, arch

Gmail Trigger, HTTP Request, Google Sheets +2
Email & Gmail

Splitout Code. Uses manualTrigger, httpRequest, stickyNote, splitOut. Event-driven trigger; 46 nodes.

HTTP Request, Execute Workflow Trigger, Gmail +1
Email & Gmail

Automate CSV imports into HubSpot without the mess. Powered by n8n. Supercharged by Pollup AI.

HTTP Request, Execute Workflow Trigger, Gmail +1
Email & Gmail

Echo Brand Voice Analysis (Processor) - TASK-074 Dec 10 Fix. Uses formTrigger, httpRequest, executeWorkflowTrigger, moveBinaryData. Event-driven trigger; 40 nodes.

Form Trigger, HTTP Request, Execute Workflow Trigger +2