> 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/installation-setup/installation/whatsapp-messenging/twilio-whatsapp-1.md).

# Unifonic

Connect to WhatsApp using Unifonic

Using [Unifonic](https://www.unifonic.com) you can enable ngSurvey to interact with WhatsApp respondents as such if you would like to use the [WhatsApp conversational surveys](/conversational-surveys.md) features it is mandatory to have a registered Twilio account along a Facebook Business Manager account.

## Main setup

To register for an Unifnoic account and setup it with WhatsApp please contact your Unifonic customer sucess manager.

## Callback URL

Once you have setup your Unifonic account with Whatsapp you need to link ngSurvey and Unfonic using a callback URL.&#x20;

1\) Set your Unfonic Public Id and secretin your account / [system settings](/installation-setup/system-settings.md) page. Once you have setup your public id and secrect you will be able to see the WhatsApp callback URL.

<figure><img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FS0olw7AqgKmBWotzirqs%2Fimage.png?alt=media&amp;token=ae0c1f06-e264-4511-82d9-9a735f6aaff1" alt=""><figcaption></figcaption></figure>

2\) Copy this URL&#x20;

3\) Open the Unifonic WhatsApp interface&#x20;

4\) Add a new Webhook and paste the callback URL that you have copied on step 2.

<figure><img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2F66ySVrEIyKgwipvpwlYc%2Fimage.png?alt=media&amp;token=af6b5d48-cf2c-4091-a425-33cf4ed0c0de" alt=""><figcaption></figcaption></figure>

5\) Once you have added your webhook make sure to create a template message in your Unifonic account and add it as a [message template](/conversational-surveys/unifonic-template-message.md) in ngSurvey to use it for your invitations-


---

# 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/installation-setup/installation/whatsapp-messenging/twilio-whatsapp-1.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.
