1. Twilio add-ons allow developers to integrate third-party technologies into their applications with one-click, reducing the effort required to learn new APIs, get approvals, and maintain integrations over time.
2. Add-ons provide additional data about phone numbers, messages, and recordings via the Twilio API that developers can use to enhance their applications.
3. The document provides examples of how add-ons can be used to prioritize sales calls, route messages to appropriate representatives, and validate phone number ownership to avoid TCPA violations.
2. COMPOSABILITY CHANGES YOUR GAME. BUT STILL REQUIRES EFFORT.
DEVARSHI SHAH | @DEVARSHI
Discover
options
Evaluate tech
Learn API Integrate - using programming
paradigm & supported languages
Build to new
auth model
Get someone to
approve Vendor
& setup billing
Scale &
maintain
Effort: to learn new APIs and build
middleware for integration.
PARTNER
Time: to validate & get approvals for new vendors.1
2
Ongoing maintenance: to accommodate for API
changes and contract cycles
3
3. ADD-ONS : DO MORE WITH TWILIO API, USING LESS CODE.
DEVARSHI SHAH | @DEVARSHI
Wide range of vetted
options
Add-ons are partner technologies pre-integrated into Twilio API
One-click
integration
Pay-as-you-
go
4. ADD-ON TYPES & TWILIO PRODUCTS THAT SUPPORT THEM
DEVARSHI SHAH | @DEVARSHI
Number Add-ons
Know the person or business
that owns a phone number.
Messaging Add-ons
Know more about messages
you send and receive.
Recording Add-ons
Analyze recordings of voice
conversations.
5. BUILD WITH MUCH MORE THAN THE COMMUNICATIONS ITSELF
DEVARSHI SHAH | @DEVARSHI
Convert more high-value leads
by prioritizing inbound sales
calls based on the buying power
of the caller.
Increase customer satisfaction
by pinpointing live calls with
angry customers and bridging
in a supervisor.
Shorten response times
by routing inbound messages
to reps who can respond in the
language of the text received.
Boost productivity
by dropping inbound calls and
messages that are likely to be
fraud.
Avoid carrier filtering
by checking if a phone number’s
owner has changed before placing
a call.
6. 1. Install Add-on via
Marketplace in the
Console
2. Get more data via
Twilio API
3. Do cool stuff.
USING ADD-ONS
DEVARSHI SHAH | @DEVARSHI
7. 1. Install Add-on via
Marketplace in the
Console
2. Get more data via
Twilio API
3. Do cool stuff.
USING ADD-ONS
DEVARSHI SHAH | @DEVARSHI
FROM: +13233633791
BODY: HI THERE! I'M TESTING OUT TWILIO'S NEW ADD-ONS
TO: +16504467080
{…..}
ADDONS: {
"STATUS": "SUCCESSFUL",
"MESSAGE": NULL,
"CODE": NULL,
"RESULTS": {
“ADDON_UNIQUE_NAME”: {
"REQUEST_SID": "XR424628481F74B64B709950F1311B2235",
"STATUS": "SUCCESSFUL",
"MESSAGE": NULL,
"CODE": NULL,
"RESULT": {. . .}
}
}
}
8. Uses natural language
processing technology
and machine learning
algorithms to extract
semantic meta-data from
content, such as
information on people,
places, companies,
topics, and languages.
IBM MESSAGE
INSIGHTS
DEVARSHI SHAH | @DEVARSHI
FROM: +13233633791
BODY: HI THERE! I'M TESTING OUT TWILIO'S NEW ADD-ONS
TO: +16504467080
{. . .}
ADDONS: {
. . .
"RESULTS": {
"IBM_WATSON_INSIGHTS": {
. . .
"LANGUAGE": "ENGLISH",
"KEYWORDS": [
{"TEXT": "NEW ADD-ONS”, "RELEVANCE": "0.935276",
"SENTIMENT": { "TYPE": “POSITIVE", "SCORE": “0.415215" }},
{"TEXT": “TWILIO", "RELEVANCE": "0.728652",
"SENTIMENT": {"TYPE": "POSITIVE","SCORE": "0.415215"}}
],
"ENTITIES": [
{"TYPE": "COMPANY","RELEVANCE": “0.77978", "TEXT": "TWILIO",
"SENTIMENT": {"TYPE": "POSITIVE","SCORE": "0.415215"},"COUNT": "1",
"DISAMBIGUATED": {
"NAME": “TWILIO", "DBPEDIA": "HTTP://DBPEDIA.ORG/RESOURCE/TWILIO",
"FREEBASE": "HTTP://RDF.FREEBASE.COM/NS/M.0H1BS6J"
}
}
]
9. Validate ownership of the
phone number, taking
into account number
reassignments, landline
to mobile porting,
snapbacks and other
number changes so that
you never text or call the
wrong person.
PAYFONE TCPA
COMPLIANCE
DEVARSHI SHAH | @DEVARSHI
CURL HTTPS://LOOKUPS.TWILIO.COM/V1/PHONENUMBERS/+13233633791/?
ADDONS=PAYFONE_TCPA_COMPLIANCE&
ADDONS.PAYFONE_TCPA_COMPLIANCE.DATE=20160511
{
"PHONE_NUMBER": "+13233633791",
...
"ADD_ONS": {
"STATUS": "SUCCESSFUL",
"RESULTS": {
"PAYFONE_TCPA_COMPLIANCE": {
. . .
"RESULT": {
"REQUESTID": "XR902080FB3DB943402FB696E545ED7465",
"STATUS": 0,
"DESCRIPTION": "SUCCESS.",
"RESPONSE": {
"VERIFYNUMBERTRANSACTIONID": "1140607564",
"PAYFONEALIAS":
"9004F02C4VK8384C7A692226794FB1BBF0MEKKBJ92O9P259DFB91041B4F1C09E3637C2A7
CD466770F6G320D8CC59C1B54223E05D70B2A44529ED59B8",
"MSISDNTYPE": "MOBILE",
"NUMBERMATCH": "Y"
}
10. 1. Install Add-on via
Marketplace in the
Console
2. Get more data via
Twilio API
3. Do cool stuff.
USING ADD-ONS
DEVARSHI SHAH | @DEVARSHI
11. 1. Install Add-on via
Marketplace in the
Console
2. Get more data via
Twilio API
3. Do cool stuff.
USING ADD-ONS
DEVARSHI SHAH | @DEVARSHI
TWILIO.COM/CONSOLE/ADD-ONS
TWILIO.COM/DOCS/API/ADD-ONS