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 Mwangi Kabiru
    Building a Serverless WhatsApp Chatbot using Python, Google Cloud Functions and Twilio Building a Serverless WhatsApp Chatbot using Python, Google Cloud Functions and Twilio

    A chatbot is a software application used to automate interactions and conversations with people via messaging platforms. Common uses of chatbots include request routing, customer service, and information gathering.

    Serverless architecture is a design pattern where applications are broken up into individual functions that can be invoked and scaled separately. The goal is to abstract the process of building and running applications from the complexities of developing and deploying infrastructure required to run them.

    In this tutorial, I am going to show how you can build a serverless WhatsApp chatbot using Twilio’s WhatsApp API and Python functions in Google Cloud. The chatbot will accept a country name and return information about it. The country data will be retrieved from the REST Countries public API.

    Project demo

    Tutorial requirements

    To follow this tutorial you need to have:

    • Python 3.7 or newer. If your operating system does not have a pre-installed Python interpreter, you …
    Read More
  • By Mwangi Kabiru
    Monitor your Apache Airflow Workflows with Twilio Monitor Your Apache Airflow Workflows with Twilio

    Airflow is an open source platform used to orchestrate workflows. It is perfect for Extract, Transform, Load tasks, data migration and data integration, among other jobs.

    In this tutorial we will see how we can leverage Twilio’s Programmable Messaging to set up an alerting system for Airflow jobs.

    Dag - Graph view

    Airflow DAG (source: Apache Airflow)

    Tutorial requirements

    To follow this tutorial you need to have:

    Set up Airflow to run locally

    We are going to start off by cloning a repository that contains the docker image we shall use for this tutorial. The image is based on Python 3.7-slim-buster and will create Postgres and Redis containers. Postgres is …

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