Automated Message Processing and Routing in Chatwoot

somdn_product_page

This n8n workflow automates the processing and routing of messages received in Chatwoot, allowing for intelligent handling based on message type, content, attachments, and user privacy. It is triggered externally by another workflow, which supplies message data, and it segments messages into categories such as incoming, outgoing, or satisfaction surveys. The workflow includes conditions to check if messages contain attachments, their types, and whether they are private, ensuring appropriate actions like forwarding or responding are taken.

Steps include:

– Triggering on external workflow execution with message data.

– Using a switch node to classify message types (new, reassignment, etc.).

– Checking if messages contain text or attachments.

– Looping through attachments, verifying their file types, and sending them via Evolution API as images, videos, documents, or audio.

– Forwarding text messages and satisfaction survey links back to the user.

– Conditional logic ensures private messages are not forwarded externally.

This workflow is highly useful in customer support scenarios where automated message handling, media processing, and efficient routing are essential for a smooth communication experience with clients.

Node Count

>20 Nodes

Nodes Used

code, executeWorkflowTrigger, if, n8n-nodes-evolution-api.evolutionApi, noOp, splitInBatches, stickyNote, switch

Reviews

There are no reviews yet.

Be the first to review “Automated Message Processing and Routing in Chatwoot”

Your email address will not be published. Required fields are marked *