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.
Reviews
There are no reviews yet.