> For the complete documentation index, see [llms.txt](https://docs.probe.splx.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.probe.splx.ai/ai-red-teaming/probe/target/index/whatsapp-integration.md).

# WhatsApp

## Selecting the Connection Type

Once you have [selected your connection type](/ai-red-teaming/probe/target/add-target/integration-setup.md#selecting-a-connection-type), a configuration tab will appear on the next step, prompting you to input the required connection details.

## Integration Setup

<figure><img src="/files/HKyuekVaqrv6ErY8hPXI" alt=""><figcaption><p>Figure 1: Whatsapp Integration Example</p></figcaption></figure>

With Probe, you can run automated tests directly on your WhatsApp chatbot. To do so, you first need to set up the integration. In the “Select your integration” tab, choose WhatsApp as the integration type, and proceed to the next step to access the configuration fields.

* **Number**
  * Enter the number of your WhatsApp chatbot.
  * Make sure to follow the international phone number format as indicated in the placeholder.
* **Conversation Reset Message**
  * Specify the message that resets your chatbot’s existing conversation.
  * This is the message that you defined that triggers your chatbot’s initial starting message and restarts the conversation in the same chat.
  * It is highly recommended to use this option as it allows Probe to run tests without starting a large numbers of new chats, thereby increasing execution speed.
* **Initial Messages**
  * The initial message is the message with which your chatbot starts the conversation. This typically includes a question about the user’s conversation preferences.
  * The Question and Answer fields help Probe initiate the conversation with your chatbot using the preferences you select.
  * Example:
    * Question: Hi! Welcome to the Car Sales chatbot! Please select your language to continue the conversation: English, German, Italian.
    * Answer: English
  * If there are multiple initialization messages, for instance, if after selecting a language the user must choose a product of interest, you can add multiple question-and-answer combinations.

{% hint style="info" %}
To configure the initial message the **Add initial message +** button needs to be pressed after the Question and Answer textboxes are filled.
{% endhint %}

## Test Connection

Once all the information is filled in, your WhatsApp connection will be tested when you click “Continue” to proceed. The test connection will send a message to your WhatsApp chatbot and mark it as passed if the chatbot responds.

After successfully establishing the connection, you can proceed to configure the target fields.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.probe.splx.ai/ai-red-teaming/probe/target/index/whatsapp-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
