WhatsApp Message Auto-Logger for Vtiger CRM with Lead Relation

Go to Workflow
0 views
Built by Ahmed Saadawi Ahmed Saadawi
Created on June 07, 2026

Description

Auto-Log WhatsApp Inbound Messages to Vtiger CRM Leads (with WhatsAppLog)

Description

๐Ÿ”ฅ A Game-Changer for CRM Logging! Automatically Log WhatsApp Inbound Messages to Vtiger and Link to Leads ๐Ÿ’ฌโšก
โš ๏ธ This Workflow Requires Community Nodes & a Self-Hosted n8n Instance

> This template uses a custom community node:
> * n8n-nodes-vtiger-crm
> โœ… No need for an Evolution API node โ€” webhook is used instead.

๐Ÿ”ง How to Install Community Nodes

Go to Settings โ†’ Community Nodes
Click Install Node
Add this:

n8n-nodes-vtiger-crm

Restart n8n if prompted.

๐Ÿ’ฌ Automatically Log WhatsApp Inbound Messages in Vtiger CRM

Overview

This workflow listens for inbound WhatsApp messages via Evolution API Webhook, filters out outbound and group messages, and logs the message in the custom WhatsAppLog module in Vtiger. If the sender is not in CRM, it creates a new lead and links the message.

๐Ÿ”„ What This Workflow Does

๐Ÿ“ฉ Listens to WhatsApp inbound messages via webhook
๐Ÿšซ Filters out group and outbound messages
๐Ÿ” Looks up existing lead by phone
๐Ÿ†• Creates a new lead if not found
๐Ÿงพ Logs the message in the WhatsAppLog module
๐Ÿ”— Relates message to corresponding lead

๐Ÿ”— Evolution API Webhook Configuration

Open your Evolution API dashboard
Go to Events โ†’ Webhook
Enable Webhook
Set the Webhook URL to your n8n webhook path:
https://your-n8n-domain/webhook/whatsAppListen
Enable only the event:
โœ… MESSAGES_UPSERT
Disable all other events to avoid unnecessary triggers

This ensures only inbound WhatsApp messages are pushed to n8n.

> No need to use the Evolution API node in n8n. All communication is triggered via webhook.

๐Ÿ“ธ Visual Preview

๐Ÿงฉ Workflow Canvas



> Full view of the automation steps in n8n

๐Ÿ’ฌ WhatsApp Message Capture





> A sample inbound message sent to your WhatsApp number

๐Ÿ› ๏ธ Setup Instructions

1. Vtiger CRM Setup

Ensure the Leads module has phone fields (phone or mobile)
Create a custom module WhatsAppLog (if not already present)
Connect your Vtiger CRM API credentials to n8n

2. Webhook Setup

Follow the Webhook Configuration steps above for Evolution API
Make sure your n8n instance is publicly accessible

3. Workflow Customization

Update field mapping inside the Set and Log nodes
Adjust the assigned_user_id or custom fields as needed

๐Ÿ‘ฅ Who Is This For?

CRM admins managing WhatsApp communication
Sales teams tracking lead interactions in Vtiger
Support teams logging WhatsApp tickets
Businesses using Evolution API to receive WhatsApp messages

๐Ÿ” Credentials Required

โœ… Vtiger CRM API
โŒ No Evolution API credentials needed inside workflow (webhook-only)

๐Ÿท Tags

vtiger, whatsapp, crm automation, inbound message logging, evolution api, whatsapp crm integration, n8n template, community nodes, lead management, self-hosted n8n, customer communication, no-code crm, webhook