This automation workflow captures incoming chat messages from your Tawk.to live chat widget and sends alert emails via Gmail to notify your support team instantly. It is designed to help you respond promptly to visitors and improve your customer support experience.
https://your-n8n-instance.com/webhook/a4bf95cd-a30a-4ae0-bd2a-6d96e6cca3b4
)Visitor Message
or Chat Message Received
)sendTo
parameter.Receive Tawk.to Request:
This webhook node listens for POST requests from Tawk.to containing chat message data.
Format the message:
Extracts relevant data from the incoming payload such as chat ID, visitor name, country, and message text, and assigns them to new fields for easy use downstream.
Send alert email:
Uses Gmail node to send a notification email to your support team with all relevant chat details formatted in a clear, concise text email.
Email Recipient:
Update the sendTo
field in the Send alert email node to specify your support team’s email address.
Email Content:
Modify the message template in the Send alert email node’s message
parameter to suit your tone or include additional details like timestamps or chat URLs.
Additional Processing:
You can extend the workflow by adding nodes for logging chats, triggering Slack notifications, or storing messages in a database.
By following these instructions, your support team will receive immediate email alerts whenever a new chat message arrives on your website, improving response times and customer satisfaction.