Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Imran Khan
    Build a Live Traffic WhatsApp Chatbot with Python, Flask, Folium and Twilio Build a Live Traffic WhatsApp Chatbot with Python, Flask, Folium and Twilio

    Like most people I am endlessly frustrated by sitting in slow-moving traffic and I often wonder if I just got unlucky or is it always like this?  In this tutorial I’m going to show you how to answer that question by building a basic chatbot for WhatsApp using the Twilio API for WhatsApp and the Flask framework for Python.

    The chatbot will allow users to share their current location and get back a live traffic report and a link to an interactive map.  Here’s an example showing how it works:

    traffic chatbot demo

    Tutorial requirements

    To follow this tutorial you will need the following:

    • Python 3.6 or newer.  You can download an installer from python.org.
    • ngrok. We will use this free utility to connect our Flask application running on our local system to a public URL that Twilio can connect to from the Internet.  Installation instructions for your operating system can …
    Read More
  • By Justin Pirie
    Flex Boost: Four Contact Center Strategies for Conversational Commerce from Perficient Flex Boost Header

    Twilio is offering a new program called Flex Boost to provide up to $100,000 in free Active User Hours to organizations impacted by or responding to COVID-19.

    You can find more information about Flex Boost, including links to helpful technical and operations resources, along with information on how to get started on the following page.

    Most of us are still adjusting to the new reality of social distancing and ‘shelter-in-place’. Surveys show that even when these orders are lifted, many of us are unwilling or unable to go back to “normal” life until a vaccine is widely effective. Consumer preferences have dramatically shifted during this time, and one of the big shifts has been towards conversational commerce. It’s been a macro-trend for a long time but the current crisis has accelerated it because customers aren’t able to shop in the same way, they generally prefer messaging over voice and …

    Read More
  • By Jeff Rosenthal
    Getting Started with gRPC in .NET Core getting-started-with-grpc (1).png

    As a developer in the 21st century, you are often faced with addressing communications between various modules of your project. Internal, or “intra-process” communications, are often handled with loosely coupled messages, but forging beyond the process boundary can often be challenging. Adding to this requirements for scalability, testing, and security can often leave you scratching your head in search of a better way.

    Over the years Microsoft has often revealed various technologies to handle this niche. Remote Procedure Calls (RPC), DCOM, Named Pipes, and Windows Communication Foundation (WCF) are examples of technologies that have fit the bill in the past. A new technology is now making the scene, this time with the assistance of Google.

    For over 10 years now, Google has implemented an infrastructure to interface the vast number of microservices it oversees. In 2015, they set out to create the next version of this technology and shared what …

    Read More
  • By Liz Moy
    Build a Survey App With Python, Twilio, and Airtable Build a Survey App With Python, Twilio and Airtable

    "Scandia 010" by How I See Life is licensed under CC BY-ND 2.0

    Airtable is like a cool big-budget superhero crossover between a spreadsheet and a database.

    It’s easy to write to an Airtable from your Twilio app, so we’re going to take that idea and build off of it to make a SMS-driven survey app using Python and the Flask framework.

    The survey app we are going to build will gather NPS, which stands for Net Promoter Score, a metric used to measure customer experience. However, you can customize the survey for purposes specific to your needs. Try it out by texting your favorite emoji to the number below.

    Airtable NPS survey testing number with Twilio

    We’ll go through this step-by-step, and we will do it all in a single file. If you would like to download the complete project you can find it in this GitHub repository: https://github.com/Eclairemoy/nps-survey

    Building the Project

    Prerequisites

    To …

    Read More
  • By Chas Bowman
    Erstellen Sie mit Twilio Flex Ihr eigenes Remote Agent Contact Center in 30 Minuten Überschrift im Bild

    Twilio bietet ein neues Programm an - Flex Boost, um Organisationen, die von COVID-19 betroffen sind oder auf COVID-19 reagieren, bis zu 100.000 US-Dollar in Form von kostenlosen aktiven Nutzungsstunden zur Verfügung zu stellen.

    Weitere Informationen zu Flex Boost, einschließlich Links zu hilfreichen technischen und betrieblichen Ressourcen, sowie Informationen zu den ersten Schritten finden Sie hier (auf Englisch).

    Möglicherweise befinden Sie sich in einer Situation, in der Sie dringend ein neues Contact Center  benötigen, das es Ihren Mitarbeitern ermöglicht, von Zuhause oder aus der Ferne zu arbeiten. Dieser Artikel führt Sie in nur 30 Minuten durch die Bereitstellung von Twilio Flex - einem Cloud-basierten Contact Center mit nativem WebRTC-Support.

    Twilio Flex kann sofort bereitgestellt werden und bietet Ihnen die Möglichkeit, sofort mit dem Testen von Sprachanrufen, SMS und Web-Chat zu beginnen. In diesem Blogbeitrag zeigen wir Ihnen, wie Sie schnell eine Lösung erstellen können, mit der Contact Center-Agenten …

    Read More
  • By Kris Payne
    Integrate Twilio Flex with Microsoft Dynamics 365 Microsoft Dynamics Flex Integration

    Twilio Flex is an open contact center platform based on web technologies that enable integration with just about any CRM. So why not Microsoft Dynamics 365? 

    Lots of organizations use CRM applications to store customer information and up to the minute contextual information about a customer’s past engagement with the organization.To provide a better experience when engaging with their customers, organizations should use this information to increase the timeliness and relevance of their conversations.

    In this tutorial you will learn how to use customer data within Dynamics 365 to provide a contextually relevant conversation during self service and escalations to agents using Dynamics 365 with Twilio Flex. We’ll cover the steps required to integrate Twilio Flex with Dynamics 365 by leveraging Microsoft Dynamics 365 Channel Integration Framework, as well as Twilio components including Studio and the Runtime environment.

    We’ll also show you how to create a Twilio Flex Plugin …

    Read More
  • By Shane Rosenthal
    Quick Introduction to Anonymous Blade Components In Laravel 7 Quick Introduction to Anonymous Blade Components In Laravel 7

    Laravel 7 introduced not only a new syntax for Laravel Blade components, but some awesome new features that can greatly enhance your development by increasing your productivity. This tutorial will provide a brief overview of the new Anonymous components in Laravel 7, by teaching you how to create dynamic, reusable form fields.

    Prerequisites

    Before you begin this tutorial, make sure you have the following set up/installed:

    • A Laravel 7 application already installed
    • General knowledge of Laravel and Blade components

    What We’ll Build

    We’ll put together a simple, profile-like form, and then extract data from the Blade components. I will be using Tailwind CSS for the styling which for your reference, can be brought in through their CDN. Create a new folder and layout located at resources/views/layouts/main.blade.php. Add the following code to the newly created file:

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Laravel 7 …
    Read More
  • By Lizzie Siegle
    Build a Video App with JavaScript and the Twilio CLI in 9 Minutes cover pic

    With many of us now working remote, video chats are so in right now. Here’s how to get up-and-running with a video chat room in nine minutes using Twilio Programmable Video and the Twilio Serverless Toolkit in JavaScript.

    Nupur test video

    Setup

    To build a Twilio Programmable Video application, we will need:

    Save your API Keys somewhere to use them soon and then install the Twilio Serverless Toolkit via the Twilio CLI if you haven't already by running

    twilio plugins:install @t …
    Read More
  • By Ladapo Samuel
    Send an Email Using Twilio SMS in PHP with SendGrid Send an Email Using Twilio SMS in PHP with SendGrid.png

    One of the most amazing and forgotten features of SMS is that it works with no internet access. If you’re one of the 3.5 billion people in the world that uses a smartphone, you might not be aware of the millions that don’t use their finger to swipe their screens. India alone accounts for 400 million feature phones still in use in the world.

    This might be hard to imagine, but assume you’re in a tight situation and you need to send a quick email and have no internet access. Maybe it’s a job posting you saw or an opportunity that can’t wait until you reach your laptop. It would be helpful if you could still send an email using SMS! In this tutorial, we’re going to learn how to do just that; send email using SMS.

    Technical Requirements

    Your computer will need to be set up to with …

    Read More
  • By Ugendu Ositadinma
    Create a Twilio Voice Pricing Calculator using PHP Create a Twilio Voice Pricing Calculator using PHP

    A major concern when building web solutions with third-party services is estimating the costs of API requests. This tutorial will guide you through the process of finding the costs of voice calls for Twilio Programmable Voice, depending on the origin and destination.

    Installation Requirements

    Getting started with this tutorial, it is expected that you have the following modules/packages installed on your development machine:

    Here is a guide that can be followed to  install Composer globally:

    Creating the PHP project

    Let’s create a folder named pricing on your local machine where the code will be housed.

    Inside this folder, create an index.php file which will contain all the code for this tutorial.

    Next, proceed to install Twilio's PHP SDK to call the necessary APIs needed for the functions to be shared. To achieve this, use Composer to install …

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