TTS- Text to Speech
Send AI powered voice notes using ElevenLabs TTS
Identifying Webhook URL for converting text to speech 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... Settings- Phone Numbers - Advanced Settings
WhatsApp Gateway
https://trigger.apimerger.com/tts
WhatsApp Gateway 1
https://trigger1.apimerger.com/tts
WA1 Connector
https://wa1.apimerger.com/tts
WA2 Connector
https://wa2.apimerger.com/tts
Custom Data Keys
voice_id
Your ElevenLabs voice id
message
Your message, which you want to convert to voice note
api_key
Optional, if you don't want to put in WAGHL admin panel
How to Use ElevenLabs IO Text-to-Speech (TTS) with Waghl
Welcome! This guide walks you through integrating ElevenLabs IO's powerful Text-to-Speech (TTS) service with Waghl, enabling your workflows to send voice notes effortlessly.
What You Need:
An active ElevenLabs IO subscription
Access to your Waghl dashboard
GoHighLevel (GHL) account
Step 1: Generating Your ElevenLabs API Key
Visit the ElevenLabs IO website.
Sign in or register for a new account, ensuring your account has sufficient credits.
Navigate to the 'API Keys' section.
Click 'Create API Key', set necessary permissions, and then click 'Create'.
Copy your newly generated API key and securely store it, as you won't be able to retrieve it later.
Step 2: Adding the API Key to Waghl
Log into your WAGHL dashboard.
Go to the 'Users' tab.
Locate your location ID and click on the pencil (edit) icon.
Paste your ElevenLabs API key into the designated API key field.
Click 'Update' to save your settings.
Step 3: Obtaining Your Voice ID from ElevenLabs
Return to the ElevenLabs IO website.
Click on 'Voices' to browse available voices. You can either:
Select from pre-cloned voices: click the three dots (⋮) next to your chosen voice and copy the voice ID.
Clone your own voice by navigating to the 'My Voices' tab, selecting your custom voice, clicking the three dots (⋮), and copying the voice ID.
Step 4: Setting Up Your Automation in GoHighLevel
Log into your GHL sub-account.
Create or edit an Automation Workflow:
Use a trigger of your choosing
Action: Select 'Webhook'.
Insert your specific Webhook URL (available in the video description).
In the custom fields:
Enter your copied voice ID in the Voice_id field.
Type the message you want converted to speech in the message field.
Click 'Save Action' and then save your workflow.
Perform a test to confirm functionality.
Alternative: Using GHL Premium Text-to-Speech
If you'd prefer not to configure your own webhook:
Within GHL Automations, select the 'Premium Actions' option.
Choose the 'Text-to-Speech' action.
Enter your message in the provided message body.
Select a voice from the pre-cloned options or use a voice you've cloned.
Optional: Alternative API Key Method
If you prefer not to store your ElevenLabs API key directly in the Waghl admin panel, you can optionally:
Include the API key directly within your webhook custom data fields.
Simply add an additional field labeled appropriately (e.g., 'api_key') and insert your API key there.
This method provides greater flexibility if preferred.
Final Check: Reviewing Voice Notes
Navigate back to your GHL 'Conversations' section to review and manage your generated voice notes.
Congratulations! You've successfully integrated ElevenLabs IO Text-to-Speech with Waghl.
Thank you for using this guide!
Last updated
Was this helpful?