Skip to main content

How to integrate & use Wati with n8n

Updated today

Summary

The Wati Trigger integration allows you to connect Wati’s WhatsApp Business API with n8n, a workflow automation platform. Using this integration, you can automate messaging workflows, manage contacts, send template messages, download media, and trigger workflows based on incoming WhatsApp events.

This guide explains how the integration works, how to install the Wati community node in n8n, how to configure credentials, and what operations are supported.

Instructions

What is the Wati n8n integration?

The Wati n8n integration connects Wati with n8n, enabling you to build automated workflows for customer communication. The integration is built and maintained by Wati and verified by n8n, ensuring it is reliable and safe to use.

With this integration, you can automate messaging and customer interaction workflows across multiple channels.

Supported channels include:

  • WhatsApp

  • Instagram

  • Messenger

  • RCS

  • SMS

You can also use the Wati n8n integration to build AI-powered workflows that automate customer conversations at scale.

About the n8n Wati community node

The integration is provided through the n8n-nodes-wati community node.

This node allows you to:

  • Send and receive WhatsApp messages

  • Manage contacts

  • Send template messages

  • Download media files

  • Trigger workflows based on incoming messages

Wati is a WhatsApp Business API solution that enables businesses to communicate with customers at scale.

n8n is a fair-code licensed workflow automation platform that helps automate tasks across different services.

Install the Wati node in n8n

Follow these steps to install the Wati community node in your n8n instance.

  • Open your n8n instance.

  • Open your intended workflow or create a new one.

  • Click on Add step or Add note button.

  • Enter Wati.

  • Open the node and click Install.

For additional details, refer to the n8n community nodes documentation.

Set up Wati API credentials

You must connect your Wati account to n8n using API credentials.

Follow these steps to configure the credentials:

  • Log in to your Wati Dashboard.

  • Go to Connector → API → API Docs.

  • Copy the following details:

    • API Endpoint URL

    • Access Token

  • Go back to n8n → Overview → Credentials.

  • Click on Add first credential to create a new Wati API credential.

  • Search for Wati API

  • Paste the API Endpoint URL and Access Token into the credential fields.

  • Click Save.

Once the credentials are configured, n8n can securely interact with your Wati account.

Supported Operations

The Wati node supports several operations grouped by functionality.

Messaging operations

Use these operations to send and retrieve messages.

  • Send Text Message — Send a text message to an active WhatsApp conversation within the 24-hour session window.

  • Send Button Message — Send a message that includes interactive buttons.

  • Send List Message — Send a message with a selectable list of options.

  • Get Messages — Retrieve messages from a conversation using the conversation ID.

  • Get Media file — Download a media file (such as an image, video, document, or audio file) using the message ID.

Template message operations

Use these operations to manage and send WhatsApp message templates.

  • Send Template Message — Send a pre-approved template message outside the 24-hour session window.

  • Get Templates — Retrieve the list of available message templates.

Contact management operations

Use these operations to manage contacts stored in Wati.

  • Get Contacts — Retrieve a list of all contacts.

  • Get Contact Detail — Retrieve details for a specific contact using the phone number.

  • Add Contact — Create a new contact.

Wati Triggers

The Wati Triggers allows your n8n workflow to start automatically when specific events occur. Here's the list of available Wati triggers in n8n:

  • On all events — Fires the workflow whenever any supported activity or webhook event occurs within your Wati account.

  • On message received — Activates whenever any incoming WhatsApp message is received from a user.

  • On new contact message — Triggers specifically when a message is received from a phone number that is not already saved in your Wati contacts.

  • On session message sent — Fires when an outbound, free-form reply is successfully sent to a user within the active 24-hour customer service window.

  • On template message sent — Activates when a pre-approved, structured WhatsApp template message is successfully dispatched from your account.

  • On message delivered — Triggers when an outbound message successfully reaches the recipient's device (equivalent to two grey ticks).

  • On message read — Fires when the recipient actually opens and views your sent message (equivalent to two blue ticks).

  • On message replied — Activates when a contact uses the specific swipe-to-reply feature to respond directly to a previous message contextually.

  • On template message failed — Triggers if an attempt to send a template message encounters an error (e.g., invalid number, account restrictions) and cannot be sent.

These triggers enable real-time automation when customers send messages or when message delivery events occur.

What you can automate with the Wati n8n integration

Using the Wati integration with n8n, you can automate tasks such as:

  • Sending automated responses to incoming WhatsApp messages

  • Syncing contacts between Wati and other systems

  • Delivering template messages automatically

  • Downloading and processing media files

  • Triggering AI agents to handle customer conversations

These automation capabilities help businesses scale customer communication, reduce manual work, and improve response times.

Frequently Asked Questions (FAQ)

Wati n8n Integration Overview

1. What is the Wati n8n integration?

The Wati n8n integration connects Wati with n8n, a workflow automation platform. This integration allows businesses to automate messaging workflows, manage contacts, send template messages, download media, and trigger workflows based on WhatsApp events.

2. Which channels are supported by the Wati n8n integration?

The Wati n8n integration supports multiple communication channels, including WhatsApp, Instagram, Messenger, RCS, and SMS.

3. What can businesses automate using the Wati n8n integration?

Businesses can automate tasks such as sending automated responses to incoming WhatsApp messages, syncing contacts between Wati and other systems, delivering template messages automatically, downloading and processing media files, and triggering AI agents to handle customer conversations.

Installation and Setup

4. How do I install the Wati node in n8n?

To install the Wati node in n8n, open your n8n instance, open your intended workflow or create a new one, click Add step or Add node, search for Wati, open the node, and click Install.

5. How do I connect Wati to n8n using API credentials?

To connect Wati to n8n, log in to your Wati Dashboard and go to Connector → API → API Docs. Copy the API Endpoint URL and Access Token. Then go to n8n → Overview → Credentials, click Add first credential, search for Wati API, paste the API Endpoint URL and Access Token into the fields, and click Save.

Supported Operations

6. What messaging operations are supported by the Wati node in n8n?

The Wati node supports messaging operations such as sending text messages within the 24-hour session window, sending interactive button messages, sending interactive list messages, retrieving messages using a conversation ID, and downloading media files using a message ID.

7. What template message operations are supported in the Wati node?

The Wati node allows you to send pre-approved WhatsApp template messages outside the 24-hour session window and retrieve the list of available message templates.

8. What contact management actions are available in the Wati node?

The Wati node allows you to retrieve the list of contacts, get details of a specific contact using a phone number, and add a new contact to Wati.

Wati Triggers

9. What events can trigger an n8n workflow using Wati Triggers?

Wati Triggers can start an n8n workflow when specific events occur in Wati. These events include receiving any supported activity or webhook event, receiving a new WhatsApp message, receiving a message from a new contact, sending a session message, sending a template message, message delivery confirmation, message read confirmation, receiving a reply to a message, or a template message failure.

Did this answer your question?