# Using ChatGpt

You can use our ChatGpt voice notes feature to send voice notes on WhatsApp to your customers.

{% embed url="<https://youtu.be/yS_6TCLSSdM>" %}
Sending voice notes on WhatsApp using ChatGpt
{% endembed %}

\
**Identifying Webhook URL for sending Voice Notes**\
\
Webhook URLs may vary depending on the WhatsApp gateway you’re using.

To find the correct webhook URL for your GHL subaccounts, switch to the subaccount and navigate to...\
&#x20;\
**Settings- Phone Numbers - Advanced Settings**&#x20;

<table><thead><tr><th width="271">SMS Provider Name</th><th>URL</th></tr></thead><tbody><tr><td><strong>WhatsApp Gateway</strong></td><td><code>https://trigger.apimerger.com/chatgpt-voice</code></td></tr><tr><td><strong>WhatsApp Gateway 1</strong></td><td><code>https://trigger1.apimerger.com/chatgpt-voice</code></td></tr><tr><td><strong>WA1 Connector</strong> </td><td><code>https://wa1.apimerger.com/chatgpt-voice</code></td></tr><tr><td><strong>WA2 Connector</strong></td><td><code>https://wa2.apimerger.com/chatgpt-voice</code></td></tr></tbody></table>

**Custom Data Keys**

| Custom Data             | Value                                                                                                                                                                      |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **chat\_gpt\_api\_key** | Your ChatGpt Key                                                                                                                                                           |
| **voice**               | <p>Select from any one of the voice models<br> (<code>alloy</code>, <code>echo</code>, <code>fable</code>, <code>onyx</code>, <code>nova</code>, <code>shimmer</code>)</p> |
| **message**             | Your message here which you want to convert from text to speech                                                                                                            |


---

# Agent Instructions: 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://help.waghl.com/features/sending-voice-notes/voice-notes.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.
