> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hypersender.com/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n WhatsApp and SMS Actions

> Every action of the Hypersender n8n node: send WhatsApp text, media, polls and reactions, check numbers, send and list SMS, and send and verify OTP codes.

The **Hypersender** node covers every endpoint of the WhatsApp, SMS and OTP APIs that works with an instance token. Pick a **Resource**, then an **Operation**.

## WhatsApp Message

| Operation | What it does |
| - | - |
| Send Text | Sends a text with a typing indicator and a short, human-like delay first ([send-text-safe](https://docs.hypersender.com/v2/api-reference/whatsapp/send-messages/send-text-safe.md)) |
| Send Image, Send Video, Send File, Send Voice Note | Sends media from a public URL, with an optional caption and file name |
| Send Link With Custom Preview | Sends a link with your own preview title, description and image |
| Send Location, Send Poll, Send Contact Card | Location pin, poll with single or multiple answers, or a contact |
| React, Mark as Seen, Mark Chat as Read | Emoji reaction, blue ticks on a message, or the whole chat read |
| Star, Forward, Delete | Star or unstar, forward to another chat, delete for everyone |
| Start Typing, Stop Typing | Show or hide the typing indicator |
| Get Request Status | Check a queued send by its `queued_request_uuid` ([queued requests](https://docs.hypersender.com/v2/api-reference/whatsapp/queued-requests.md)) |

**Chat ID** takes a phone number with its country code (`201234567890`), which the node turns into `201234567890@c.us`. You can also paste a full chat ID, including group IDs ending in `@g.us`. See [what is chatId](https://docs.hypersender.com/v2/api-reference/whatsapp/what-is-chatid.md).

## WhatsApp Contact

| Operation | What it does |
| - | - |
| Check Number | Whether a phone number has a WhatsApp account |
| Get, Get Many, Get Profile Picture | Contact details, a list of contacts, or a profile picture URL |
| Create or Update | Save a contact name on your WhatsApp number |
| Get LID by Phone Number, Get Phone Number by LID, Get Many LIDs, Get LID Count | Look up the hidden IDs (LIDs) WhatsApp uses for some contacts |

## SMS

| Operation | What it does |
| - | - |
| Send | Sends from the SIM in your Android phone. Optional schedule, retry limit, expiry, and your own **Request ID**: retrying with the same ID doesn't send twice |
| Get Many, Delete | List sent and received messages (filter by status or number), or delete one |
| Get Threads, Archive Thread, Delete Thread | Manage conversations |
| Get Heartbeats | Battery, charging and app version reports from the phone |

## OTP

| Operation | What it does |
| - | - |
| Send Code | Sends a one-time code over WhatsApp |
| Verify Code | Checks the code the user typed |
| Create Sign-In Link | A link that opens WhatsApp with a prefilled message; the user is verified when they send it |

## Replying to a message

After a [Hypersender Trigger](https://docs.hypersender.com/v2/packages-and-sdks/n8n/trigger.md), the fields that point at a chat or a message fill in by themselves:

* **Chat ID** defaults to the sender of the incoming WhatsApp message.
* **Message ID** defaults to the incoming message, for React, Mark as Seen, Star, Forward and Delete.
* **To** (SMS Send) defaults to the sender of the incoming SMS.

So a reply is: add the node, pick **Send Text**, type the text.

## Use it as an AI Agent tool

The node can be attached to n8n's **AI Agent** as a tool, so an agent can send WhatsApp or SMS messages on its own. Give it a narrow job, for example only **Send Text**, and keep a human in the loop for anything sensitive.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.