WhatsApp automation
Workflow Description
Advanced automation template integrating WhatsApp messages with an AI-powered agent using Gemini to process inquiries intelligently, then route responses to Twitter, Outlook, and backend systems based on request type, enabling seamless omnichannel communication.
How it works
- 1.Receive incoming WhatsApp messages via webhook and trigger the workflow
- 2.Process message content using Gemini-powered AI agent to understand intent and context
- 3.Route appropriate response: publish to Twitter, send email via Outlook, reply directly on WhatsApp, or escalate
- 4.Extract and validate key data from messages and store in ERP database for record-keeping
- 5.Merge information from multiple sources and format into unified response message
Use cases
- Automate customer support on WhatsApp with AI-driven responses and intelligent routing
- Publish curated WhatsApp messages to Twitter for real-time social media updates
- Automatically escalate complex inquiries to sales team via Outlook with full conversation history
Requirements
- Active WhatsApp Business account with incoming Webhook configured and validated
- Valid API credentials for Gemini, Twitter, Outlook, and connected platforms
- Operating ERP system with appropriate read/write permissions and database connectivity
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (39)
Sticky Note4
Sticky Note
Sticky Note6
Sticky Note
Sticky Note
Sticky Note
Code
Code
Sticky Note2
Sticky Note
ApplicantData
Set
ERPNext - Reject if Resume not Attached
Erp Next
Applied Against Job
If
ERPNext - Hold Applicant
Erp Next
Sticky Note5
Sticky Note
Get Job Opening
Erp Next
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Google Gemini Chat Model
Gemini Model
Convert to Fields
Code
Sticky Note9
Sticky Note
If score less than 80
If
Reject Applicant
HTTP Request
Update Applicant Data
HTTP Request
Reume Attachment Link
Set
Sticky Note10
Sticky Note
Resume Link Provided
If
Accept Applicant
HTTP Request
Sticky Note11
Sticky Note
Webhook
Webhook
Sticky Note12
Sticky Note
Sticky Note13
Sticky Note
File Type
Switch
Download PDF Resume
HTTP Request
PDF to Text
Extract From File
Txt File to Text (Example)
Extract From File
Merge1
Merge
Recruitment AI Agent
Agent
Sticky Note14
Sticky Note
Sticky Note15
Sticky Note
Sticky Note16
Sticky Note
Microsoft Outlook
Microsoft Outlook
Sticky Note17
Sticky Note
WhatsApp Business Cloud
Whats App