# WhatsApp

Source: https://www.hyperagent.com/docs/concepts/agents/invocations/whatsapp

> For AI agents: the documentation index is at https://www.hyperagent.com/llms.txt and the complete documentation in one file at https://www.hyperagent.com/llms-full.txt. Any docs page is also served as Markdown by appending `.md` to its URL.

Link your Hyperagent agent to WhatsApp and start a conversation from your phone.

Illustration: a reply can link to the full response in Hyperagent.

Connect a Hyperagent agent you own to a WhatsApp agent you create. Once linked, you can send a request in WhatsApp and get the reply in that same chat.

## What you can do [#what-you-can-do]



Start work from WhatsApp



Your first request on a new connection starts a Hyperagent thread called 

WhatsApp · [agent name]

. Follow-ups in the same WhatsApp chat use that thread. Open it in Hyperagent to review the work.



Share files and get work back



Send a photo, video, document, or voice note. Hyperagent transcribes recorded voice notes. When the agent creates a webpage, it can send a link to the full response in Hyperagent.



Review an action



If the agent replies 

Approval needed

, reply yes or no in the same chat, or follow the link to review and decide in Hyperagent.

## Before you start [#before-you-start]

You’ll need a saved Hyperagent agent you own and a WhatsApp account with **Settings → Agents**. If **Agents** isn’t in your WhatsApp settings, you can’t complete this setup from that account.

## Connect and test [#connect-and-test]

### Create an agent in WhatsApp [#create-an-agent-in-whatsapp]

Open **Settings → Agents** and select **Create an agent**. If WhatsApp shows **Connect your own agents**, select **Continue**. Give the agent the same name as your Hyperagent agent so it’s easy to find its chat.







### Copy the WhatsApp agent’s API key [#copy-the-whatsapp-agents-api-key]

In the agent’s first chat message, tap **View API key**, then **Copy key**. You can also get the key from that agent’s settings.



### Link the two agents in Hyperagent [#link-the-two-agents-in-hyperagent]

Open your saved agent and go to **Connections**. On the **WhatsApp** card, select **Connect**. Paste the key into **WhatsApp API key** and select **Connect**. Paste the key only into that field, not into a conversation.



### Send a message from WhatsApp [#send-a-message-from-whatsapp]

When Hyperagent says **Almost done**, open the WhatsApp agent’s chat from the account you used to create it. Try “Give me three questions to ask on my next supplier call.” Saving the key isn’t the last step: that first message finishes the connection. Look for a reply in WhatsApp and **Connected** in Hyperagent.



## Limitations [#limitations]

* **Reactions don’t reach the agent.** You can react to its replies, but the reaction won’t start work or change what the agent is doing. The agent can’t add native WhatsApp reactions.
* **One-to-one only.** Message the agent from the WhatsApp account that created it. The agent can’t join a group or a different chat, and the connection doesn’t import earlier chats.
* **Messaging only.** This connection doesn’t accept or place voice or video calls. Send a voice note instead. Audio attached as a file isn’t automatically transcribed.
* **File limits apply to replies.** A reply can attach up to three files. Images such as JPEG and PNG can be up to 5 MiB each; supported video, audio, and documents can be up to 16 MiB each. Open the Hyperagent thread for a file the agent didn’t attach.
* **Other threads aren’t in scope.** The agent can use this chat’s history, but it can’t look up your other Hyperagent conversations from WhatsApp. If delegation is configured, it can hand a task to another agent and return the result here.

## Fix or remove the connection [#fix-or-remove-the-connection]

* **Still waiting for a message?** Check that the switch on the **WhatsApp** card is on, then send a message in the chat of the WhatsApp agent whose key you pasted, from the account that created it.
* **Key no longer works?** Open **Configure** on the **WhatsApp** card. Select **Replace API key** if offered, paste the current key and select **Replace**. If you removed the agent from WhatsApp, create one there first and use its key.
* **Taking a break?** Switch WhatsApp off on the card. Turn it back on to resume the same conversation. To remove the link instead, choose **Configure → Disconnect**.

## Frequently asked questions [#frequently-asked-questions]

No. This connection works in the one-to-one chat for the WhatsApp agent you created.

No. You can link the WhatsApp agent you created, but you can’t bring it into another direct chat or group. The connection doesn’t import earlier chats.

No. The connection doesn’t accept WhatsApp voice or video calls. Record a voice note if you’d rather speak than type.

No. The agent replies in WhatsApp messages; it doesn’t place voice or video calls through this connection.

Your first request on a new connection starts a Hyperagent thread for that WhatsApp chat. Later messages use that thread; they don’t open another one each time. The agent can’t search or open your other existing threads from WhatsApp. If you’ve configured it to delegate, it can hand off a task to another agent in a separate thread and bring the result back. To start a separate conversation yourself, open Hyperagent.
