If you want to power-up Datrm.in to use as a peer-to-peer (P2P) texting tool, then Twilio enables you to do just that. Twilio is a popular telephony service that apps like Datrm.in use to send text messages. Once the integration is added, you can send individual text messages to Lists directly from the app.
Twilio also provides the capability to make voice calls, but we have not integrated that into Datrm.in. Yet.
The integration requires three general steps:
- Signup for a Twilio account
- Enable the Twilio integration in Datrm.in
- Setup Twilio billing
- Register your number for a 10DLC campaign (optional)
The first step is getting setup with Twilio directly.
- Go to https://www.twilio.com/ and click “Sign up”
- Complete the quick form, accept the Terms of Service, and click “Start your free trial”
- Verify your email address
- Verify your phone number
- On the next screen it asks a few questions:
- Which Twilio product are you here to use? (Answer: SMS)
- What do you plan to build with Twilio? (Answer: Customer Loyalty)
- How do you want to build with Twilio? (Answer: With no code at all)
- What is your goal today? (Answer: 3rd party integrations)
- At this point you should be logged in to your Console, which is great, but we’re not done yet.
- In the left sidebar, click on Phone Numbers > Manage > Active numbers
- In the top right, click on “Buy a number”
- You should now see a web page with a table of phone numbers and search options. Here you can select a number that works for you. Most organizations search by area code, but you can also look for clever catch phrases as well (e.g. “win22”). Just don’t go too far down the rabbit hole. Clock is ticking!
- Click to buy the number you want, and confirm in the pop-up.
- Once the purchase is confirmed, click “Configure this number”
- On the following screen, give your phone number a friendly name like “Datrmin” or “Campaign”
- Add your physical address in the section “Add Emergency Address”
- Finally, keep this tab open, as we’ll need to come back to this page to wrap up the integration setup.
Enable Twilio Integration
- It’s all downhill from here! Open a new tab and head over to Datrm.in. Assuming you are an admin on your account, click on your email address in the top right of your screen and click Account Settings.
- Once you’re in Account Settings, click on the Integrations tab.
- Scroll down the list to Twilio and click Add integration.
- You should see a pop-up appear with a field for “Account SID” and “Auth token”. We’ll get to those in just a second.
- But first, copy the Webhook URL value (starts with “https://app.datrm.in/api/v1/webhooks”)
- Go back to the Twilio page where you configure the phone number.
- In the section under “Messaging” look for the field labeled “A message comes in”.
- Replace “https://demo.twilio.com/welcome/sms/reply” with your Webhook URL from Datrm.in. Click Save.
- Still in Twilio, go back to your Console home page
- You should see a section of “Account Info”. Copy and paste your Account SID and Auth Token into their respective fields in the Datrm.in integration settings. As Twilio warns you, NEVER share or store these values anywhere other than the Datrm.in integration settings box. If a hacker were to get a hold of them, they would have full control of your account and could run up thousands of dollars in charges.
- Once you paste your Account SID and Auth Token into Datrm.in and click Save changes, if the keys are valid, you should now see two new fields:
- Select a refresh schedule: This setting is not used for Twilio. Just make sure it is set to “Manually”.
- Select a Phone Number: Click the refresh button () and we’ll grab the list of phone numbers in your Twilio account.
- Click Save Changes again and if you see a green alert saying “That was easy! Credentials updated” then you are, indeed, all done.
- Click Close to finish it off.
Upgrade Twilio Account
If you are going to do any significant amount of text messaging, you will need to provide Twilio with a credit card.
- In the Twilio Console, in the top right, click on Billing, then Upgrade
- Enter your physical address
- The next section regarding “Tax Information” depends on your organization. We would suggest selecting “No, I am not exempt from sales or telecom tax” unless your accountant has advised you that you are exempt from sales or telecom taxes.
- Under “Fund your account” select an initial amount between $20 and $2,000. If you plan on regular text messaging, check the box to enable auto recharge.
- For Payment Method, enter your credit card. Be sure to save the card for future payments if you want your text messaging campaigns to continue un-interrupted.
Whew! We made it. It’s a few different steps and some back-and-forth, but you are now setup to send peer-to-peer (P2P) text messages directly from Datrm.in via any device.
The next step is to setup Call Lists, and you can find instructions on how to do that here.
Register for US A2P 10DLC
Using text messaging to contact customers, supporters, and other key audiences became popular because not many people were doing it. Then, of course, it became popular, and now lots of brands, campaigns, and spammers send text messages. This increase in quantity and degradation in quality of text messaging led mobile carriers to implement new regulations that impact deliverability of text message campaigns.
For small, infrequent text message campaigns, there’s very little to no concern for registering for this new regulatory construct known as A2P 10DLC (a fancy IT acronym for “application-to-person” messaging using 10-digit phone numbers).
Since the process to register for A2P 10DLC is constantly changing and depends on the frequency of text messaging, we are providing the following resources on Twilio’s website. As the system becomes more solidified, we’ll add direct steps to this document.
What about short codes?
Again, the explosion of text messaging has led to changes on how short codes can be used. Originally, a messaging service could purchase a single short code (a long, cumbersome, and expensive process) then share it among multiple users. For example, Twitter originally had a short code that any user could use to get followers. Now, short codes are limited to use by a single brand. The process of acquiring a short code is so expensive and time consuming that we do not recommend it except for very large organizations sending hundreds of thousands of text messages. If that does describe you, then you probably shouldn’t be using Datrm.in in the first place. We’re not a blast tool, we’re a relationship tool.