> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/fr/installation-setup/installation/messagerie-whatsapp/twilio-whatsapp.md).

# Twilio

Se connecter à WhatsApp avec Twilio

En utilisant [Twilo ](https://www.twilio.com)vous pouvez activer ngSurvey pour interagir avec des répondants WhatsApp ; si vous souhaitez utiliser les [sondages conversationnels WhatsApp](/fr/conversational-surveys.md) fonctionnalités, il est obligatoire d'avoir un compte Twilio enregistré ainsi qu'un compte Facebook Business Manager.

## Configuration principale

Pour vous inscrire à un compte Twilio et le configurer avec WhatsApp, veuillez suivre la [configuration Twilio / WhatsApp ](https://www.twilio.com/docs/whatsapp/tutorial/connect-number-business-profile) officielle.

## URL de rappel

Une fois que vous avez configuré votre compte Twilio avec WhatsApp, vous devez lier ngSurvey et Twilio en utilisant une URL de rappel.&#x20;

1\) Trouvez votre URL de rappel ngSurvey dans votre compte / [system settings](/fr/installation-setup/system-settings.md) page.

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MJGFGBgaDzxGzFpnnuv%2F-MJGG2RBphWf_IiWLFgI%2Fimage.png?alt=media\&token=4fdb1ef2-4381-4f2a-93ad-b36f1455a336)

2\) Copiez cette URL&#x20;

3\) Ouvrez l'interface [utilisateur WhatsApp Senders de Twilio](https://www.twilio.com/console/sms/whatsapp/senders)&#x20;

4\) Cliquez sur le bouton Configure pour le numéro WhatsApp que vous utiliserez dans ngSurvey

5\) Collez l'URL de rappel que vous avez copiée à l'étape 2.

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MJGJSuqMU6sI7b4S_fH%2F-MJGKAVPHS4V8Jnn4i4Q%2Fimage.png?alt=media\&token=dae736d4-2ce6-4e2b-b811-e0f95fb453d2)

6\) Cliquez sur Configure. C'est tout ! Désormais, Twilio notifiera votre serveur ngSurvey à chaque nouveau message WhatsApp.

## Configuration NGSurvey

Une fois Twilio configuré, la dernière étape consiste à enregistrer les paramètres de votre compte Twilio dans votre compte ou [system settings](/fr/installation-setup/system-settings/messagerie-mobile/twilio.md) page ngSurvey ; une fois cela fait, vous serez prêt à utiliser votre numéro Twilio activé pour WhatsApp afin de démarrer des conversations avec vos clients.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/fr/installation-setup/installation/messagerie-whatsapp/twilio-whatsapp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
