Build the future of communications.
Start building for free
  • By Bruno Kilian
    Flex Mobile: Untether Call Center Agents from the Desktop flex-mobile-header.png

    The beautiful thing about Twilio Flex, Twilio's cloud contact center, is that it is genuinely fully programmable. You don't need to wait for the vendor to deliver the feature, you can build it!

    Flex, by default, does not provide out-of-the-box functionality for running on mobile. But, because Flex is an umbrella that uses many products of Twilio – Taskrouter, Conversations, and Studio, to name a few – all the APIs and SDKs are accessible for you to evolve Flex in a way that fits your business needs!

    This blog post shows a proof of concept that embraces the builder spirit, giving Agents the autonomy to get away from the computer while still being able to handle chats and calls on their mobile phones. I'll be showing Flex Mobile, a React Native application that integrates seamlessly with Flex and its ecosystem – including Flex Insights, …

    Read More
  • By Dave Glick
    Render Emails Using Razor Templating Render Emails Using Razor Templating

    In the previous post, you went inside the Razor engine to learn how it works and understand what goes on when you turn a Razor file into HTML. You examined the four phases of parsing, code generation, compilation, and execution and how your C# code ends up being mixed together with your raw markup and output content. In this post, you’ll take things a step further and put that knowledge to use by comparing some open-source implementations of the Razor engine. You'll also learn how to use these Razor engines in your applications and render email templates to send emails with a service like SendGrid.

    The Different Kinds Of Razor Implementations

    Recall from the previous post that when you talk about Razor as a templating language, and even as an engine, you’re really talking about two different things: the underlying low-level Razor engine that’s responsible for the four execution …

    Read More
  • By Dave Glick
    What is Razor Templating, really? What is Razor Templating, really?

    Many .NET developers are familiar with Razor syntax. It's found in ASP.NET Core views (.cshtml), Razor pages, Razor component files (.razor), Blazor, Razor class libraries, and more. In general, Razor provides features for evaluating .NET code such as C# inside HTML. Despite being deceptively simple with only a handful of syntax primitives, there's a lot going on behind the scenes to make everything work correctly. In this post, you'll explore the fundamentals of the Razor engine. Then you’ll learn how it processes your Razor syntax to produce .NET assemblies and runs those assemblies to create content. Then in a follow-up post, once you've got a good handle on the Razor engine, you'll look at some open-source tools that leverage the Razor engine in various ways beyond what ships in .NET Core and how you can leverage these libraries to create Razor templates …

    Read More
  • By Vivek Kumar Maskara
    How to Use the Twilio Java Helper Library and AWS CDK to Deploy AWS Lambda Functions header - How to Use the Twilio Java Helper Library and AWS CDK to Deploy AWS Lambda Functions

    In this post, learn how to leverage the AWS Cloud Development Kit (CDK) to build and deploy a serverless AWS Lambda function that uses Twilio’s Programmable SMS API to send SMS to users. We will use Java for all components of this post to define the AWS CDK application and AWS Lambda Handler, and we will use Twilio’s Java Helper Library to work with the SMS APIs.


    For this tutorial, you will need to set up Java on your system, since we will be using it to define our AWS CDK application and the AWS Lambda handler. In addition to it, you will need to install AWS CLI and AWS CDK CLI, to configure AWS credentials and to build your CDK application respectively. Finally, you will need to create an AWS account for deploying the application, and a Twilio account with an SMS-enabled phone number to send SMS. Refer …

    Read More
  • By Dainyl Cua
    Create a Video App with SolidJS, Express, and Twilio Video Header

    SolidJS is an emerging JavaScript framework with a 90% user satisfaction rate according to the State of JS 2021 survey. With a similar code structure to React, developers can feel at home with this new framework and integrate Twilio Video into their applications in a similar manner.

    In this tutorial, you will be building both a backend server that generates Twilio Video access tokens and connects to Twilio Video rooms, and a frontend application that shares the audio and video of every participant in a room.


    To build this video app, you will need the following:

    • A free or paid Twilio account. If you are new to Twilio, click here to sign up for a free Twilio account and get a $10 credit when you upgrade!
    • Node.js (v16+) and npm

    Setting up your developer environment

    To get started, open your terminal window and navigate to the directory …

    Read More
  • By Heather Hargreaves
    Send Twilio Events to Segment using Event Streams Banner for Send Twilio Events to Segment using Event Streams

    In this post, you will learn how to send Twilio events to Segment using Twilio Event Streams with a Segment Sink. This is an out of the box integration that requires no code to get started. We will also cover the benefits of using this integration, plus show you some use cases to help you optimize using Twilio and Segment together.


    To get started you will need:

    • A Twilio account with access to Event Streams – sign up here for a free developer account. See our documentation here on how to access Event Streams.
    • You will also need access to the Segment Sink – the documentation linked shows how to access it.
    • A Segment account – Sign up here for a trial account.

    What are Event Streams in Twilio?

    Event Streams is an API that allows you to configure centralized streams of event data directly into your infrastructure, so …

    Read More
  • By Miguel Grinberg
    SQLite or PostgreSQL? It's Complicated! SQLite versus Postgres: It's Complicated!

    We take blogging very seriously at Twilio. To help us understand what content works well and what doesn’t on our blog, we have a dashboard that combines the metadata that we maintain for each article such as author, team, product, publication date, etc., with traffic information from Google Analytics. Users can interactively request charts and tables while filtering and grouping the data in many different ways.

    Dashboard screenshot

    I chose SQLite for the database that supports this dashboard, which in early 2021 when I built this system, seemed like a perfect choice for what I thought would be a small, niche application that my teammates and I can use to improve our blogging. But almost a year and a half later, this application tracks daily traffic for close to 8000 articles across the Twilio and SendGrid blogs, with about 6.5 million individual daily traffic records, and with a user base that grew …

    Read More
  • By Twilio Employer Brand Team
    How Twilio is Empowering LGBTQIA+ Employees at Work Copy of PRIDE Statement Quote Graphic 1200 x 628 (1200 × 620 px) (1).png

    Corporate institutions have long approached Pride Month—a time when LGBTQIA+ communities celebrate the freedom to be themselves—as a way to associate their brand as supporters of the movement. Typically this is done by switching the company logo to rainbow colors for 30 days. Although there’s nothing wrong with wanting to show support, the issue with this gimmicky approach is problematic only when a company is not doing the internal work to actually benefit and aid the LGBTQIA+ community.

    Pride Month is about celebrating the brilliance, perseverance, and history of the LGBTQIA+ community. From the lens of the corporate world, it’s essential that companies use this time to reflect on whether they are actively doing their part, but also to ensure that they are prioritizing their communities at scale—not just during the month of June.

    “Twilio chose not to change our corporate logo on social media for Pride this year (and …

    Read More
  • By Dhruv Patel
    Build an SMS Service to Contact Your Local Representatives with Twilio and SendGrid Contact your Local Representatives through SMS with Twilio Studio and SendGrid

    Communicating with local and elected officials is the way to go when effectively raising public concerns and voicing your opinions. With Twilio and SendGrid, finding your local officials and contacting them can be made seamless.

    In this tutorial, you’ll learn how to leverage Twilio Studio, Functions, and Programmable SMS to create an SMS service to find and grab contact information of your local representatives. You’ll also learn how to integrate the service with Twilio SendGrid to directly email an official through SMS. Google’s Civic Information API will be used to fetch local representative info.

    Let’s get started!

    If you’re looking to build a similar SMS service but with C#/.NET, check out this Twilio blog: Find your U.S. Representatives and Congressional Districts with SMS and ASP.NET Core


    What you’ll need for this tutorial:

    Read More
  • By Nathalia Velez Ryan
    5 Reasons Your Call Center Should Use VoIP call center voip.png

    For decades, landline phones reigned as the main communication method in homes and businesses alike. This was especially true for call centers, where landlines were the heart of the business. But today, businesses are doing away with traditional phones.

    With so many innovations in communication technology, outdated landline telephone systems are no longer the best option for call centers. Instead, many call centers are switching to Voice Over Internet Protocol (VoIP).

    Wondering why? This post will cover the reasons why VoIP is the best option for your call center.

    What is a VoIP call center?

    A VoIP call center uses the internet to make and receive calls, as opposed to what traditional phones rely on, the Public Switched Telephone Network.

    If you’ve ever made a call via Skype, Zoom, or even Messenger, you’ve used VoIP. But this internet-based phone system isn’t just for personal calls. More and more …

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