Build the future of communications.
Start building for free
  • By Ted Gieschen
    How to Collect Times and Dates in Voice Calls or SMS using JavaScript How to Collect Times and Dates in Voice Calls or SMS using JavaScript

    Twilio offers a wide variety of channels you can use to connect with your customers, for example, through an SMS or Phone Call. One of the ways you can use these channels is to collect data from your customers. Depending on the type of data, this can be a complex undertaking. Collecting individual words or numbers is usually pretty straightforward. However, when asking customers to share specific Times and Dates, this can be far more complex. A typical use-case might be the scheduling of an appointment. This is especially true when allowing customers to communicate in free form (for example, “I would like an appointment next Tuesday at 3 pm”).

    In this blog, I will show you how you can extract Times and Dates during a phone call using JavaScript and serverless Twilio Functions without the need for any 3rd party integrations.


    To build this solution, you will …

    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 Niels Swimberghe
    How to better configure C# and .NET applications for SendGrid How to better configure C# and .NET applications for SendGrid

    There are a hundred different ways to provide configuration to your applications. For almost any programming language, you can use environment variables and .env files, but configuration can also be stored in other file formats like JSON, YAML, TOML, XML, INI, and the list keeps on going. However, in some scenarios configuration isn't pulled from files, but instead is pulled from Azure Key Vault, HashiCorp Vault, or a similar vault service. It is rare that your configuration will come from a single source. Luckily, there are APIs in .NET that can help you grab configuration from multiple sources and merge them together.

    In this tutorial, you'll start with an application that sends emails using Twilio SendGrid, where the configuration is fetched directly from the environment variables. You'll then refactor the app to

    • fetch configuration from multiple sources, specifically, JSON files, user-secrets, environment variables, and command-line arguments
    • bind the configuration …
    Read More
  • By Diane Phan
    Get to Know Java SDKs and Libraries Copy of TwilioQuest  Blog Headers  1200X628 (1).png

    This post is a part of a series that supports an expanded adventure, as of May 2022, in TwilioQuest, but it will be relevant to anyone curious about Java Libraries. Happy reading!

    Ahoy, operator. Congratulations on gaining acceptance into the Arcane Academy of API Arts. I’m Professor Taifa Omar Warsame, head of House Turing. In House Turing, we believe that code is for people. If code isn’t human centered - if it’s not helping people have fun, work smarter, or live better, it’s not that interesting. That’s why, in House Turing, we love SDKs and helper libraries. They help make working with APIs easier and more readable for the humans behind the code.

    For creatives such as myself, writing code can be a form of art and expression. It's another medium to bring ideas to life, whether it be a data visualization or small click based game …

    Read More
  • By Twilio
    Twilio is Now a Remote-first Company Remote First_Blog Header_2022 (4).png

    We’re providing Twilions with flexibility, creating more opportunities for connection, and redesigning our ways of working — together as one team

    At Twilio, we're always thinking about the future — and the future of work. Even before the COVID-19 pandemic, we've relied on digital solutions to partner with clients and peers in ways that help us do our best work, especially when we're thousands of miles apart.

    And because we believe that businesses should leave society better than it was found, we're intentional in the meaningful work we take on, the impact we make, and how we structure and support our teams.

    So today, as part of the evolution of the Open Work initiative we launched in 2021, we're announcing that Twilio is now a remote-first company.

    What is remote-first?

    Our remote-first approach is focused on providing our employees with flexibility, creating opportunities for connection, and delivering tools …

    Read More
  • By Naomi Pentrel
    Twilio's Unofficial Vote for the Eurovision Song Contest Twilio's Unofficial Vote for the Eurovision Song Contest

    Eurovision is near and while you can't officially vote just yet, we thought we'd allow the public to vote already - and not just for this year but for ALL Eurovision's that have happened since the beginning of Eurovision. That includes 2020 - the year Eurovision was cancelled.

    How do I vote?

    Text '2022' to one of the following numbers to get the list of all the 2022 participants and their youtube videos. Once you have picked a winner, text “2022 Country” to the same number (e.g. 2022 Germany).

    Netherlands: +3197010253872

    UK: +44 7401 199687

    Sweden: +46 70 192 18 32

    United States: +1 (267) 713-3577

    What about the other years... Could we maybe vote for those too?

    You can text any year from 1956 to 2022 to any of the above numbers and then vote for your favourite song.

    How do I see the results?

    You can see the …

    Read More
  • By Néstor Campos
    How to send Emails in C# .NET with FluentEmail, Razor, and SendGrid How to send Emails in C# .NET with FluentEmail and SendGrid

    You can send emails with the .NET libraries that come with the framework such as the APIs from the System.Net.Mail namespace. They are suitable for this kind of development, however, sometimes you need a more straightforward and powerful way to generate and send emails.

    In this post, you will learn how to generate and send emails using the FluentEmail library connected with Twilio SendGrid in a console project with .NET.


    You will need a free Twilio SendGrid account and some experience with the C# language and .NET platform to complete this tutorial. Sign up here to send up to 100 emails per day completely free of charge.

    Finally, you will need the following for your development environment:

    Read More
  • By Twilio
    5 Questions with Twilio’s first-ever Chief Privacy Officer Amy Holcroft Copy of Console DX promo images 1200x628 h (4).png

    Amy Holcroft is joining Twilio as our first-ever Chief Privacy Officer and will lead the team responsible for protecting the interests of Twilio’s more than 250,000 customers and enabling their compliance with information privacy laws.

    Previously, Amy was at HP Company and Hewlett Packard Enterprise, where she was a privacy leader for 13 years. As HPE’s Chief Privacy Officer, she led an international team of attorneys and compliance professionals managing global privacy and information governance programs on a global scale. She brings deep expertise in navigating and implementing complex compliance initiatives to address privacy regulations in the ever-changing technology and service provider industries.

    We asked her five questions to get to know her and see what she’s excited to build at Twilio.

    Do you have a secret talent?

    I am a keen gardener and have developed (what I think you can call!) a talent for growing shrub and climbing roses …

    Read More
  • By Nathalia Velez Ryan
    Real-Time Messaging: Definition & How to Use It real-time messaging.png

    Customers today expect businesses to communicate with them instantly—no one wants to spend hours on hold on the phone just to get a quick answer to a simple question. That’s why real-time messaging is so important for businesses to provide a positive customer experience.

    Email and phone calls can be great tools for reaching your customers with marketing messages or engaging in longer conversations. But when it comes to addressing customer questions and concerns, businesses need a more immediate touchpoint.

    This post will explain what real-time messaging is and how you can use it in your business.

    What is real-time messaging?

    As the name suggests, real-time messaging is instantaneous communication between 2 or more participants, such as a customer and a customer service agent or a patient and a registered nurse.

    This type of messaging occurs via channels such as live chat on a website or app, an over-the-top messaging …

    Read More
  • By Ramón Ulldemolins
    Announcing External AWS S3 Storage Support for Voice Recordings External Storage Support Programmable Voice

    We’re excited to announce that you can now store your voice recordings in your own AWS S3 bucket.

    By default, the media associated with a voice recording is stored within Twilio. Although this is convenient for many customers, there are customers who want their recordings to be stored on their systems for additional processing, storage, or compliance reasons.

    To achieve this in the past, customers have had to set up a webhook to be notified when a recording is completed with the recordingStatusCallback, download the recording, save it into their storage and then delete it from Twilio. Starting today, it's now possible to specify an AWS S3 bucket where media must be stored without the need for additional software development and additional API requests to programmatically download and upload each recording independently.

    The release of this feature represents Twilio’s commitment to serve their customers and help them meet their …

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