Skip to main content

Send chat message notifications from Tawk.to to Gmail

Workflow preview

Workflow preview
100%
Send chat message notifications from Tawk.to to Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 respon...

Best for

  • Support Chatbot automation workflows
  • beginner n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sarfaraz Muhammad Sajib.

Original n8n.io source

1.1 Workflow description

Title
Send chat message notifications from Tawk.to to Gmail
Workflow name
Send chat message notifications from Tawk.to to Gmail

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.


Prerequisites

  • Tawk.to account: You must have an active Tawk.to account with a configured live chat widget on your website.
  • Gmail account: A Gmail account with API access enabled and configured in n8n for sending emails.
  • n8n instance: Access to an n8n workflow automation instance where you will import and configure this workflow.

Step-by-Step Setup Instructions

1. Configure Tawk.to Webhook
  • Log in to your Tawk.to dashboard.
  • Navigate to Administration > Webhooks.
  • Click Add Webhook and enter the following:
    • URL: Your n8n webhook URL from the Receive Tawk.to Request node (e.g., https://your-n8n-instance.com/webhook/a4bf95cd-a30a-4ae0-bd2a-6d96e6cca3b4)
    • Method: POST
    • Events: Select the chat message event (e.g., Visitor Message or Chat Message Received)
  • Save the webhook configuration.
2. Configure Gmail Credentials in n8n
  • In your n8n instance, go to Credentials.
  • Add a new Gmail OAuth2 credential:
    • Follow Google's instructions to create a project, enable Gmail API, and obtain client ID and secret.
    • Authenticate and authorize n8n to send emails via your Gmail account.
3. Import and Activate Workflow
  • Import the provided workflow JSON into n8n.
  • Verify the Receive Tawk.to Request webhook node path matches the webhook URL configured in Tawk.to.
  • Enter the email address you want the alerts sent to in the Send alert email node’s sendTo parameter.
  • Activate the workflow.

Workflow Explanation

  1. Receive Tawk.to Request:
    This webhook node listens for POST requests from Tawk.to containing chat message data.

  2. 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.

  3. 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.


Customization Guidance

  • 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.


1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Receive Tawk.to Request

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 2 - Format the message

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Send alert email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

3. Summary Table

Workflow Send chat message notifications from Tawk.to to Gmail
Complexity beginner
Nodes 3
Categories Support Chatbot
Author Sarfaraz Muhammad Sajib
Published 15 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6024/6024.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send chat message notifications from Tawk.to to Gmail do?

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 respon...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot use case.