WhatsApp Message Auto-Logger for Vtiger CRM with Lead Relation
Go to WorkflowDescription
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