Build the future of communications.
Start Building for Free

Developers Drawing The Owl

  • By Anton Kushch
    Store Opt-Out data on Twilio with Functions and Sync Storing Opt-Out data on Twilio with Functions and Sync

    Staying compliant is an important part of your messaging strategy. It ensures that your senders have a high trust level from carriers and, as a result, experience lower filtering and lower risk of being blocked.

    Maintaining a clean opt-out list is one of the key pillars for compliant messaging. The Twilio platform helps you maintain customer trust via automated opt-out management (more here), and it's a great start, but under certain circumstances, opt-out information can be lost. Additionally, Twilio does not yet provide an API to retrieve opt-out data.

    All that's to say: we at Twilio strongly recommend you maintain and store opt-out data yourself. In this blog post, I'll show you how storing opt-out information can be done on the Twilio platform with Serverless Functions and Sync.

    Tutorial prerequisites

    Before we can get started building, you need to make sure you have an account with Twilio. …

    Read More
  • By Anton Kushch
    Build an Inactivity Timeout with Flex Conversations Build Inactivity Timeout Flex Conversations

    As you may know, Twilio has released Flex Conversations. This is a big step in making orchestration more reliable and straightforward within the Flex ecosystem. In a blog post here, you can learn more about Flex Conversations's new perks. Introducing Flex Conversations also opens up possibilities for new cool features to be implemented, as the Conversations API provides a broad spectrum of tools for managing participants, addresses, and the conversation lifecycle.

    One contact center feature that our customers often ask about is Inactivity Timeout. To keep your agents' productivity high, it's necessary to have an automated way to track abandoned tasks and clean them up. With the State Timers feature of the Conversations API along with Twilio Functions, it is possible now to implement an Inactivity Timeout in Flex. In this blog post, I will guide you through the configuration and code to achieve this.

    Tutorial prerequisites …

    Read More
  • By Sébastien Paltrié
    Le Guide Galactique de vos SMS : Les Fondamentaux (Part 1) Les Fondamentaux SMS Part 1 Hero

    Vous êtes développeur, business, marketing et vous souhaitez engager vos clients par SMS. Que ce soit pour des rappels de rendez-vous, une validation du numéro de téléphone mobile de votre KYC (parcours de connaissance de votre client) ou bien proposer une offre promotionnelle à vos clients, vous ne savez pas par où et comment débuter ce chantier. Alors, pas de panique, ce blog post est pour vous !

    Le Parcours connecté

    Le blog post est composé de 3 parties :

    1. Les fondamentaux de l’industrie du SMS
    2. Les messaging services de Twilio ou comment simplifier l’envoi de vos SMS dans le monde entier et à l’échelle
    3. Provisionner un numéro de téléphone

    Dans cette première partie de ce guide, nous allons voir ensemble la terminologie et les règles qui s’appliquent à l’industrie du SMS. Vous êtes prêt? Alors bouclez votre ceinture, c’est parti !

    Il y a SMS et SMS : les différents cas d’usage …

    Read More
  • By Stratos Tziallas
    Integrate Twilio with Apaleo for an Enhanced Guest Experience Apaleo Twilio Integration Header

    Planning your vacation or work trip – or just going on a road trip – always ends up requiring you to book a hotel room for the night. And this has become straightforward with the help of hotel booking applications and automated processes. But this requires hotels set up their infrastructure, integrate it with multiple systems, and depend on what those systems allow. Let’s face it – customization is limited, and when it comes to hospitality there are a LOT of different wants and needs from guests.

    In this tutorial we will demonstrate a way to automate your communication with your guests.

    Being connected to your existing infrastructure (in this case Apaleo), Twilio allows you to create your own custom solution, allowing a guest to create, update, or cancel their reservations.

    Apaleo is the cloud platform for agile accommodation businesses.

    All types of properties – from serviced apartments to hotel …

    Read More
  • By Dainyl Cua
    Introducing Developer Voices Intern, Dainyl Cua Dainyl Cua Intro Image

    As a child, I couldn’t fathom what life was like before technology dominated our world. Before I knew how to write proper sentences, I learned how to beat Sonic on the Sega Game Gear. Before I knew how to tie my shoes, I played ToonTown for hours on end with my sister. Before I knew how to drive a car, I was assembling my own using LEGO MINDSTORMS many years prior. With technology influencing every facet of my life, it would make sense that I’m interning at Twilio at first glance.

    Though growing up in the digital age shaped my entire life, I initially had no confidence in finding my place in the tech field. It only took six years, a degree I could’ve gone without, and a job that I wasn’t the best at to finally open my eyes and focus on what I should have done in …

    Read More
  • By Heather Hargreaves
    Personalized Customer Communications using Sentiment Analysis Customer Comms Sentiment Analysis Header

    Have you ever received a promotional text encouraging you to buy more products from a company after having issues with your order? As a customer, the tone mismatch can be off-putting, and as a company, it’s a missed opportunity to get feedback from your customer.

    In this post, you will learn how to use IBM’s Sentiment API and Segment to personalize the message sent to a customer. First you will set up an IVR using a Twilio Studio Flow that will capture the user’s sentiment using IBM’s Sentiment API and send that sentiment to Segment as a Segment Event. If the user’s sentiment is negative, they will receive a text asking for feedback on how their experience can be improved. If the user’s sentiment is positive or neutral, they will receive an SMS with a coupon for the next purchase.


    To get started you will need:

    Read More
  • By Ricardo Bangueses
    Add Natural Language Processing Capabilities to your Twilio Flex Contact Center IVR and Messaging Channels with Google Dialogflow ES flex-dialogflow-es-ivr-sms-voice.png

    The use of Artificial Intelligence in contact centers has been steadily increasing as the providers' technologies and algorithms become more mature. Today you can find Contact Center AI providers bringing a number of contact center capabilities. These include virtual agents or chatbots capable of understanding natural language, bots with the ability to assist agents while they're having a conversation, and enriched insights with sentiment analytics.

    In this post, we will walk you through one way of integrating Twilio Flex with Google Dialogflow ES, one of the Natural Language Processors (NLPs) on the market.

    Twilio Flex Dialogflow ES Plugin

    This plugin has been built to support both voice and messaging interfaces, with the following capabilities in mind:

    • Ability to flatten the IVR tree on a phone call or digital decision tree, as users can use natural language to state the reason for their call. Twilio then routes the interaction based on …
    Read More
  • By Seif Hateb
    Basic API Security Guide Basic API Security Guide

    APIs are existing blocks of codes that facilitate the communication between software without the need to rewrite code. That’s making API usage exponentially increase every year.

    (Learn more about APIs in Twilio’s Glossary.)

    Developers use APIs to integrate information from outside sources into their applications and gain access to a large repository of resources and data, simplifying the coding process. However, users also benefit as it makes building interactive applications easier.

    In this post, I will walk you through the whats, hows, and whys of APIs, and discuss basic API security.

    Common API Security Risks

    According to Gartner, by 2022, APIs will become the largest attack vector due to their broad usage. APIs are highly targeted and have even larger attack surfaces than user interfaces (UIs) – and perhaps even larger than email (see the FBI Internet Threat Report).

    So, what makes APIs a new preferred target? …

    Read More
  • By Sarah Johnson
    How to Build a Studio IVR Flow with No Coding Experience No Coding IVR Studio Hero

    Do you have call routing needs? Don’t want your personal phone number on your website but also don’t want to carry two phones? Need low code and fast deployment?

    Well, you’ve come to the right place! This blog post will walk you through how to leverage Twilio Studio to create an IVR (phone tree) with a pre-built UI, no development expertise needed!

    What is IVR?

    Interactive Voice Response (IVR) is an automated phone system technology business use to allow callers to access different information or multiple people via one phone number. The system interacts with callers, gathers information from them, and then routes their call based on said information. IVRs can be as simple as “press 1 for technical assistance, press 2 for sales, press 0 to speak to the operator” or can be more complicated like flight lookups and changes when you call an airline.

    IVRs are a fantastic …

    Read More
  • By Matt Coser
    Validating Webhook Signatures with Python & Flask Validating Webhook Signatures Hero

    The Internet can be a dark and scary place. As recent headlines remind us, it makes sense to be cautious when opening your web app to the internet.

    You don’t even need to belong to a cybercrime hacking syndicate to do damage with HTTP. Any script kiddie can take down a vulnerable server. For example, running something like the following code will make repeated GET requests to a targeted server, potentially overwhelming and crashing it.

    while True:

    Despite the risk, if you are going to build an awesome communication experience for your customers, you need to expose your app to the public Internet at some point.

    To help secure your app against malicious actors and bad code, Twilio cryptographically signs all HTTP requests that leave our edge. You can use this hash (provided in the X-Twilio-Signature header), to validate the authenticity of the request, and know that it came …

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.