Twilio and MyWiFi
Integrate your Twilio account with MyWiFi so that you can send text messages and marketing campaigns to your guests, as well as use SMS as a login method for your campaigns.
Required:
- Active subscription with Twilio.
- Active MyWiFi plan.
- A pre-existing location with an associated campaign.
Twilio setup
- Log in to your Twilio dashboard. If you've just started your Twilio free trial, you may need to create a new app.
- Make sure you have an associated phone number. If you've just started your trial, click Get a Trial Number to begin.
- Click Show in the Auth Token field.
- Copy the Account SID and Auth Token.
Twilio integration
Now that you have your Twilio account and phone number, you can add Twilio as an app within your dashboard.
- Log in to your MyWiFi dashboard.
- Select Apps from the main menu.
- Click Add New App.
- Select Text SMS.
- Select Twilio.
- Enter an App Name, your Account SID, and your Auth Token.
If you do not have your Account SID or Auch Token, you can find them in your Twilio dashboard.
- Click Proceed.
Twilio automation
Now that Twilio has been added as an app, you can create an automation.
- Select Automation from the main menu.
- Click Add New Automation.
- Choose an Automation Name, select a Location where the automation should run, and select the Campaign that the automation will run on, and click Proceed.
NOTE: You can leave the Campaign field blank to run the automation on all campaigns at that location, or choose multiple campaigns to run it on.
- Choose a Trigger. You have four choices:
Connect: When the guest connects to WiFi
Disconnect: When the guest disconnects from WiFi
Inactive: When the guest has not connected to the WiFi for a certain number of days
Birthday: On the guest's birthday each year.
Note that most login methods do not collect birth date information; you can, however, request that information from Facebook,
- Choose a Delay. There are two options:
Real Time: The automation will fire as soon as the trigger happens.
Delay: The automation will fire a specific length of time after the trigger happens. This can be measured in minutes, hours, or days.
- Choose the Send frequency. You have three choices:
Always: The automation will fire every time the trigger occurs.
Once: The automation will only fire the first time the trigger occurs for that contact.
By Visits: The automation will fire based on a rule you set up based on the number of visits.
The By Visits rule has two parts:
When: Choose between Before, On, or After
Visits: The relevant number of visits that changes whether or not this automation will fire.
For example, an automation set as When: Before and Visits: 5 will fire the first four times the contact connects to the WiFi, but will not fire after that.
- Select Twilio.
- Fill out the message details:
Choose your Twilio App.
Under Message From, choose the Twilio phone number to send the message from.
Fill out the Message Body and, if you'd like, attach a Media File.
NOTE: To really personalize your messages, use our tags! This will automatically pull your guests' data, such as their name or the current date. - Click Proceed.
Error: phone numbers field required
If you receive this error message while adding your Twilio app, make sure that you have a telephone number applied to your Twilio account.
Your phone number should be listed on your dashboard in Twilio.
Test the automation
We make it easy to test out your automations in just a few steps.
Need Help?
If you have any questions, please contact our support team by clicking the support icon located in the bottom right-hand corner of this page.
Comments
Please sign in to leave a comment.