A tutorial on how to build outbound text messaging into your Marketo campaigns using webhooks to call the Telnyx messaging API.
By Tyron Pretorius
In this tutorial, we'll walk through how to build outbound text messaging into your Marketo campaigns using webhooks to call the Telnyx messaging API.
For an introduction on what to look for in a messaging provider, take a look at the SMS Marketing with Telnyx post for a break down of the pricing and features of Telnyx messaging.
Also, if you want a sneak peek at the cool things you can do once you have set up Marketo text messaging then check out the SMS Integration: Webinar Reminders post.
The first step to Marketo text messaging is to set up your Telnyx account. If you're new to the Telnyx platform, make sure to check out our Messaging Quickstart Portal Setup Guide which will walk you through the following steps for getting started:
Next, login to Marketo and navigate to the “Webhooks” section in “Admin”
https://api.telnyx.com/v2/messages
into the “URL” fieldNotice how a lead token is used to pull in the phone number of the person the message will be sent to. You will need to swap in your own lead phone number field in here and replace the “+12345678910” number above with the messaging-enabled phone number you purchased before.
Navigate to the Auth section of your Telnyx account and create a new API Key following the steps below:
Next, follow these steps in Marketo to set up the Authorization header:
Telnyx offers the ability to distribute outbound text messages over the numbers associated with a messaging profile with a feature called “Number Pooling”. If you want to learn about how number pooling can help you increase throughput and deliverability rates as well as an explanation of the features like “Sticky Sender” check out the Marketo SMS Marketing with Telnyx post.
The setup and custom header of the webhook will be the exact same with the only changes being that the URL must be updated to the number pool endpoint and the payload must be updated to specify the messaging profile id instead of the “From” phone number.
As with email marketing, it is important to adhere to regulations governing text message communications. Take a look at the Marketo 2 Way SMS using Telnyx and Zapier post to see how you can auto-respond to inbound text messages like “HELP” and “STOP” to comply with text message regulations.
Once you have implemented 2 way text messaging you are now ready to start using text messages in your smart campaigns, for purposes like webinar reminders.
Enjoy the tutorial? Make sure to check out the full version on the Workflow Pro Blog!
Related articles