AutomationFlowsEmail & Gmail › Owner Alerts

Owner Alerts

4 - Owner Alerts. Uses executeWorkflowTrigger, httpRequest, gmail. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesExecute Workflow TriggerHTTP RequestGmail
Email & Gmail Trigger: Event Nodes: 4 Complexity: ★★☆☆☆ Added:

This workflow follows the Execute Workflow Trigger → Gmail 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": "4 - Owner Alerts",
  "nodes": [
    {
      "parameters": {
        "inputSource": "passthrough"
      },
      "id": "oa111111-1111-4372-a567-0e02b2c3d479",
      "name": "Execute Workflow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1.1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.twilio.com/2010-04-01/Accounts/YOUR_TWILIO_ACCOUNT_SID/Messages.json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpBasicAuth",
        "sendBody": true,
        "contentType": "form-urlencoded",
        "bodyParameters": {
          "parameters": [
            {
              "name": "To",
              "value": "whatsapp:+1234567890"
            },
            {
              "name": "From",
              "value": "whatsapp:+14155238886"
            },
            {
              "name": "Body",
              "value": "=HOT LEAD: {{ $json.contact_data.name }} - {{ $json.contact_data.phone }} - Interest: {{ $json.contact_data.interest }} - Score: {{ $json.contact_data.score }}/10 - Action: {{ $json.contact_data.suggested_action }}"
            }
          ]
        }
      },
      "id": "oa333333-3333-9012-cdef-345678901234",
      "name": "Send WhatsApp Alert",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        480,
        300
      ],
      "credentials": {
        "httpBasicAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "sendTo": "harshilyogi077@gmail.com",
        "subject": "=Hot Lead Alert: {{ $('Execute Workflow Trigger').item.json.contact_data.name }}",
        "message": "=<h2>Hot Lead Alert</h2><p><strong>Name:</strong> {{ $('Execute Workflow Trigger').item.json.contact_data.name }}</p><p><strong>Phone:</strong> {{ $('Execute Workflow Trigger').item.json.contact_data.phone }}</p><p><strong>Email:</strong> {{ $('Execute Workflow Trigger').item.json.contact_data.email }}</p><p><strong>Interest:</strong> {{ $('Execute Workflow Trigger').item.json.contact_data.interest }}</p><p><strong>Lead Score:</strong> {{ $('Execute Workflow Trigger').item.json.contact_data.score }}/10</p><h3>Suggested Action</h3><p>{{ $('Execute Workflow Trigger').item.json.contact_data.suggested_action }}</p><hr><p><em>Sent automatically by your CRM system.</em></p>",
        "options": {
          "appendAttribution": false
        }
      },
      "id": "oa444444-4444-0123-defa-456789012345",
      "name": "Send Hot Lead Email",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        720,
        300
      ],
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.airtable.com/v0/YOUR_AIRTABLE_BASE_ID/Interactions",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "airtableTokenApi",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ fields: { Contact: [$('Execute Workflow Trigger').item.json.contact_data.contact_id], Type: 'Alert Sent', Direction: 'Outbound', Summary: 'Hot lead alert sent', Details: 'WhatsApp + Email alert. Score: ' + $('Execute Workflow Trigger').item.json.contact_data.score + '/10', Timestamp: new Date().toISOString(), Outcome: 'Completed' } }) }}"
      },
      "id": "log-alert-1111-1111-111111111111",
      "name": "Log Alert",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        960,
        300
      ],
      "credentials": {
        "airtableTokenApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Execute Workflow Trigger": {
      "main": [
        [
          {
            "node": "Send WhatsApp Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send WhatsApp Alert": {
      "main": [
        [
          {
            "node": "Send Hot Lead Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Hot Lead Email": {
      "main": [
        [
          {
            "node": "Log Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [],
  "triggerCount": 0,
  "versionId": "4"
}

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

4 - Owner Alerts. Uses executeWorkflowTrigger, httpRequest, gmail. Event-driven trigger; 4 nodes.

Source: https://github.com/YogiHarshil/crm-automation/blob/main/workflows/4-owner-alerts.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

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
Email & Gmail

org-ai Dept Sales. Uses executeWorkflowTrigger, httpRequest, gmail. Event-driven trigger; 9 nodes.

Execute Workflow Trigger, HTTP Request, Gmail