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 Kyle Lawlor-Bagcal
    Build an SMS Dashboard with Python, Flask and Twilio Build an SMS Dashboard with Python, Flask and Twilio

    In this tutorial we will build a dashboard for receiving Twilio SMS messages on your computer. What we will build here can be a foundation for a custom dashboard project. By the end of the tutorial you will have a web application running on your computer which you can use to check SMS messages on your Twilio phone number.

    The dashboard we build will allow us to view all incoming and outgoing messages. Here is how it looks:

    SMS Dashboard Screenshot

    Getting set up for this tutorial

    There are a few prerequisite steps we need to follow before we begin working through the code.

    1. Install Python version >= 3.6 on your computer
    2. Set up your Twilio Account
    3. Set up your Python virtual environment

    We assume that you already have Python installed. We will now walk through setting up your Twilio account and preparing the virtual environment.

    Setting up your Twilio Account

    If you …

    Read More
  • By Kyle Lawlor-Bagcal
    Receive Flask Error Alerts by Email with Twilio SendGrid Receive Flask Error Alerts by Email with Twilio SendGrid

    It goes without saying that errors happen all the time in production. Gaining visibility into your application failures is the first step into being able to understand and therefore fix these errors.

    In this tutorial we will set up email alerting in a Flask application with SendGrid. Every time an unhandled exception occurs, the application will send an email alert to an admin who can then determine the next steps for fixing the issue.

    Tutorial requirements

    Working through this tutorial will require access to the following items:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • A Twilio SendGrid account. This article will walk through setting that up if you don’t already have an account. A free SendGrid account allows you to send up to 100 emails per day forever.

    Setting up Twilio SendGrid

    We are …

    Read More
  • By Kyle Lawlor-Bagcal
    Running a Mailing List with Google Sheets, Twilio SendGrid and Python Running a Mailing List with Google Sheets, Twilio SendGrid and Python

    A mailing list is a great way to share information with a group of people. Google Forms provides the tools needed to handle subscriptions to a mailing list. In this tutorial we will build a Google Form that is backed by a Google Spreadsheet. The spreadsheet will be used as a storage mechanism for a list of subscribers. Then we will create a Python script that reads the spreadsheet and finally we will use the Twilio SendGrid Python client to send emails to all subscribers.

    Tutorial Requirements

    Working through this tutorial will require access to the following items:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • A Google account.
    • A Twilio SendGrid account. A free SendGrid account allows you to send up to 100 emails per day forever. Sign-up here.

    Create a Python …

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