Simple chatting template that replies with “pong” if received “ping” and sends an image if received “image”.

![](https://app.gowa.com.br/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBOFZrQkE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--aded42fb137482127503b402598b7fed9c32ca45/image.png)

## How it works

When receive a new message on WhatsApp session - **send seen** always and based on message:

* **Send back “pong”** if message is **“ping”**

* **Send back an image** if message is **“image”**

## Set up steps

* Create Workflow

* **Download **[**https://gowapi.dev/public/docs/GoWAPI-Bot-Chatting-Template.json**](https://gowapi.dev/public/docs/GoWAPI-Bot-Chatting-Template.json) and Copy template and **Paste** in n8n (Ctrl+V), or **Import From file...** or **Import From URL** [**https://gowapi.dev/public/docs/GoWAPI-Bot-Chatting-Template.json**](https://gowapi.dev/public/docs/GoWAPI-Bot-Chatting-Template.json)

* Configure **GoWAPI API** credentials and select it for all GoWAPI nodes

* Get **Webhook URL** (production one) from **GoWAPI Trigger** node

* Configure your **GoWAPI session** to send webhooks with `message` type to the **Webhook URL**

* **Active / Publish** your workflow in n8n

* Send “image” or “ping” to the WhatsApp account from another one and see the magic!