AutomationFlowsMarketing & Ads › Auto-send Welcome Messages to Vtiger CRM Leads via Evolution API Whatsapp

Auto-send Welcome Messages to Vtiger CRM Leads via Evolution API Whatsapp

ByAhmed Saadawi @ahmedsaadawi on n8n.io

> This template uses two custom community nodes: > * > * > You must be running self-hosted n8n with Community Nodes enabled. Go to → Click Install Node Add: Restart n8n if prompted.

Cron / scheduled trigger★★☆☆☆ complexity7 nodesN8N Nodes Evolution ApiN8N Nodes Vtiger Crm
Marketing & Ads Trigger: Cron / scheduled Nodes: 7 Complexity: ★★☆☆☆ Added:

This workflow corresponds to n8n.io template #6502 — 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": "ykXuNTlTy4GTDjOE",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Auto-Send Welcome WhatsApp Message to new Vtiger Leads",
  "tags": [],
  "nodes": [
    {
      "id": "9eb3438a-721e-47b1-b05d-fbeb6e6a53f0",
      "name": "Schedule Trigger Every n Minutes",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -816,
        -208
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 1
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "7d90f8b4-a984-4532-8378-3188d80d4ebe",
      "name": "If there's a data returned",
      "type": "n8n-nodes-base.if",
      "position": [
        -368,
        -208
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "1a4121a1-3315-48c6-b319-be947242e291",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.result[0].id }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "48a1a508-3e84-4875-b34e-f5bc4a1ec6a3",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -80,
        -16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "63514400-625b-4bd6-bbb3-8892e671d671",
      "name": "Enviar texto",
      "type": "n8n-nodes-evolution-api.evolutionApi",
      "position": [
        128,
        -352
      ],
      "parameters": {
        "resource": "messages-api",
        "remoteJid": "={{ $json.result[0].phone }}",
        "messageText": "=Hi {{ $json.result[0].firstname }} {{ $json.result[0].lastname }} \ud83d\ude0a,\n\nWe have received your interest with our services and we well contact you soon.\n\nHave a nice day \ud83d\ude4f\ud83d\udc90",
        "instanceName": "Ahmed560",
        "options_message": {}
      },
      "credentials": {
        "evolutionApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7c73ab05-6c59-4f93-b354-940a2ad0e05d",
      "name": "VtigerCRM get Latest Lead",
      "type": "n8n-nodes-vtiger-crm.vtigerNode",
      "position": [
        -592,
        -208
      ],
      "parameters": {
        "query_field": "select * from Leads where cf_1090!=1 order by id desc limit 1;"
      },
      "credentials": {
        "vtigerApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cecfb193-03b1-47ff-8849-d4c00a3f0bc6",
      "name": "VtigerCRM Update Lead to  Mark as Whatsapp Sent",
      "type": "n8n-nodes-vtiger-crm.vtigerNode",
      "position": [
        128,
        -176
      ],
      "parameters": {
        "operation": "update",
        "element_field": "={\n  \"cf_1090\": \"1\"\n}",
        "webservice_id_field": "={{ $json.result[0].id }}"
      },
      "credentials": {
        "vtigerApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a68394bd-0580-4705-b8c8-0e5f0c033d78",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -784,
        -528
      ],
      "parameters": {
        "width": 592,
        "height": 304,
        "content": "### \ud83e\udd16 Auto-Send Welcome WhatsApp Message to New Vtiger Leads  \n**(Vtiger CRM + Evolution API)**\nThis workflow runs **every 1 minute** to:\n- \ud83d\udce5 Get the latest lead from Vtiger CRM (not yet marked as contacted)\n- \ud83d\udcac Send a **personalized welcome WhatsApp message** using Evolution API\n- \u2705 Update the lead record with a custom field to mark that the message was sent\n\n> \ud83d\udca1 Requires:\n> - Evolution API (self-hosted or cloud)\n> - Community vtiger-crm and evolution-api nodes (install via Community Nodes)\n\n> \ud83d\udcf2 Ideal for sales or support teams who want to automatically greet new leads on WhatsApp and avoid duplicates."
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "24911a81-1f5f-4358-af02-d6a399d9a5e0",
  "connections": {
    "VtigerCRM get Latest Lead": {
      "main": [
        [
          {
            "node": "If there's a data returned",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If there's a data returned": {
      "main": [
        [
          {
            "node": "VtigerCRM Update Lead to  Mark as Whatsapp Sent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Enviar texto",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger Every n Minutes": {
      "main": [
        [
          {
            "node": "VtigerCRM get Latest Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "VtigerCRM Update Lead to  Mark as Whatsapp Sent": {
      "main": [
        []
      ]
    }
  }
}

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

&gt; This template uses two custom community nodes: &gt; * &gt; * &gt; You must be running self-hosted n8n with Community Nodes enabled. Go to → Click Install Node Add: Restart n8n if prompted.

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

More Marketing & Ads workflows → · Browse all categories →

Related workflows

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

Marketing & Ads

Send a templated outreach email to new leads in a Google Sheet on a daily schedule, then mark each lead as contacted so they won’t be emailed twice. Built with: Schedule Trigger → Google Sheets → Filt

Microsoft Outlook, Google Sheets
Marketing & Ads

This workflow transforms your Meta Ads creatives into a rich dataset of actionable insights. It's designed for data-driven marketers, performance agencies, and analysts who want to move beyond basic m

Facebook Graph Api, HTTP Request, Google Sheets
Marketing & Ads

I created this workflow with great care to help you simplify your daily reporting routine. If you manage Meta Ads campaigns, you know how time-consuming it can be to open Ads Manager, filter data, and

Google Sheets, Facebook Graph Api, Gmail +1
Marketing & Ads

I built this workflow to remove the daily pain of Meta Ads reporting. If you manage multiple ad accounts, you know how time-consuming it is to open Ads Manager, export campaign data, clean spreadsheet

Google Sheets, HTTP Request, Telegram
Marketing & Ads

This workflow automates a complete 5-step user onboarding sequence by integrating Notion (as a CRM), Gmail (for sending emails), and Telegram (for team alerts).

Notion, Gmail, Telegram