Use this robust n8n workflow to automatically forward WhatsApp messages, including text and media, from the Evolution API gateway into Chatwoot, ensuring no leads are missed.
Download this n8n workflow template and start using it instantly.
Customer support teams needing reliable WhatsApp integration with their CRM/Helpdesk system (Chatwoot).
Developers looking for specialized n8n templates for managing high-volume communication flows.
System administrators requiring an n8n solution for de-duplication and media file handling.
Businesses using the Evolution API as their WhatsApp gateway and Chatwoot for agent management.
Integrating real-time messaging platforms like WhatsApp with CRM systems can be challenging, especially when dealing with file attachments and message duplication. This specialized n8n workflow solves these problems by providing a complete, fault-tolerant forwarding solution. It starts by carefully extracting message parameters and validating the input data. Before processing, a Redis n8n node is used to check the message ID, preventing duplicate entries in Chatwoot—a common issue with webhook systems. Furthermore, this n8n automation handles complex operations like base64-to-binary conversion for media files, enabling seamless forwarding of images, videos, and documents to the Chatwoot conversation. This powerful n8n workflow ensures a smooth flow of customer interactions into your support pipeline.
This custom n8n workflow operates through several distinct phases to ensure reliability and accurate data forwarding.
To utilize this sophisticated n8n template, follow these steps:
cdaccount and cdinboxchatwoot are correctly mapped from the invoking webhook/n8n trigger context. You may need to customize the Chatwoot URL in the 'SEND CHATWOOT FILE' n8n node if it differs from the default.cdaccount, cdinboxchatwoot, ds_msg).This n8n workflow leverages several specialized n8n nodes for its advanced functionality:
When Executed by Another Workflow (n8n trigger): This is the entry point, receiving structured data (account, inbox, message object) from an upstream n8n workflow.
CODE - MESSAGE OBJECT (n8n node): A custom JavaScript n8n node essential for parsing the complex, nested JSON payload from Evolution API, standardizing fields, handling message types (like VCARDs), and extracting media metadata.
Redis n8n node: Used for the GET and SET operations to store and check the Evolution Message ID, providing necessary de-duplication logic for the n8n workflow.
Chatwoot n8n node (from devlikeapro): Used extensively for Contact Search, Contact Create, New Conversation, and Create A New Message In A Conversation operations, simplifying integration with the Chatwoot CRM.
Postgres n8n node: Executes a SELECT query against the conversations table to quickly identify existing open Chatwoot conversations.
Evolution API n8n node: Performs the critical get-media-base64 operation to retrieve the actual file content based on the message ID.
Convert to File n8n node: Takes the raw base64 data retrieved from the Evolution API and converts it into a storable binary format, ready for upload.
HTTP Request n8n node ('SEND CHATWOOT FILE'): Configured specifically to use multipart-form-data to successfully send the converted binary file along with message metadata to the Chatwoot API.
Deploy a powerful multimodal n8n workflow that connects WhatsApp messages (audio, image, text) to Google Gemini AI Agents, utilizing Google Sheets and Docs n8n nodes for dynamic responses.

Build an advanced WhatsApp virtual receptionist using this n8n workflow. This automation handles both text and voice inputs, leveraging Google Gemini AI, Pinecone RAG for accurate answers, and context-aware memory.

Use this robust n8n workflow to automate WhatsApp customer support. It leverages keyword routing for common FAQs (pricing, support) and employs a LangChain AI Agent powered by GPT-4.1-mini for advanced, dynamic query resolution.

Use this powerful n8n workflow template to generate full social media campaigns (LinkedIn, X, Instagram, Facebook) using GPT-4o, DALL-E image generation, and an optional approval process via WhatsApp or Gmail. Maximize your marketing automation with a sophisticated n8n solution.


Building Custom Automations with n8n | Node.js Developer | Integration Specialist | Open Source Contributor If you need help with n8n workflows, API integrations, or custom nodes, feel free to connect on LinkedIn: http://linkedin.com/in/thiago-vazzoler-loureiro-24056227







































