Twilio
This guide covers how to integrate and trigger Gan.AI to programmatically send videos through Twilio
Last updated
This guide covers how to integrate and trigger Gan.AI to programmatically send videos through Twilio
Last updated
Log into your Gan.AI account
Click on the 'Integrations' & select 'Twilio'
Log in to your Twilio account
Go to your account dashboard
Under the ‘Account Info’ section, copy the value of ‘Account SID’ & paste the value in your Gan account
Copy the value of ‘Auth token’ from your Twilio account & paste the value in the Gan platform
Click on ‘Connect to Twilio’ to connect your Gan account to Twilio.
Select the personalised project you want to integrate with Twilio
Go to Project settings -> Integrations -> Twilio
Turn on the integration button, next to ‘Export video copies to Twilio'
Log in to your Twilio account
Go to your account dashboard
Under the ‘Account Info’ section, copy the ‘Twilio phone number’ through which you want to send your messages
Paste the phone number in the Gan platform under ‘Twilio phone number*’
Under ‘SMS delivery country’, search for the region where the Twilio phone number is enabled to send messages (*this is an optional step)
In the Message input box, write the message you want to send through Twilio
Use @ to add variables to your message. You can add following variables to your message:
Voice Variables
Text Variables
Project URLs (different links associated with a video copy for example permalink, thumbnail_url, video_url etc.)
We recommend adding these values:
perma_link
video_url
smart_url
thumbnail_url
Once the messages are added, click on ‘Save & close’ to save your settings
Note: You can also enable message scheduling through Twilio messaging service. This is an optional service.