Build the future of communications.
Start Building for Free

ahoy-five-minute-projects posts

  • By Sam Agnew
    Mars Rover Emails with Python and Twilio SendGrid Copy of C01 Blog Text.png

    NASA has a bunch of awesome APIs which give you programmatic access to the wonders of space. I think the Mars Rover Photos API in particular is really amazing as you can use it to see what kind of pictures the Mars Curiosity rover has been taking.

    Let’s build an app using the Mars Rover API with Twilio SendGrid, Python, and Flask to make it so that we can send an email and receive back pictures from Mars.

    Prerequisites and dependencies

    Make sure you have the following before moving on:

    • Python 3 installed on your machine
    • A free SendGrid account
    • An email address to test out this project
    • A domain on which you will receive emails. For the purposes of this article, I’m going to use You will need to replace it with your own domain name.

    Here is a guide you can follow for setting …

    Read More
  • By Diane Phan
    Cómo enviar un SMS con un clic de botón en Java Cómo enviar un SMS con un clic de botón en Java

    Twilio va de potenciar las comunicaciones y de hacerlo de forma cómoda y rápida en cualquier lenguaje.

    Con la ayuda de Twilio y Java, puede enviar un mensaje rápido a alguien sin tener que usar el dispositivo móvil. El uso de Java también le ofrece la divertida oportunidad de crear interfaces gráficas de usuario (GUI) para complementar la experiencia del usuario en el envío de un SMS de una forma más divertida e interactiva.

    En este artículo, implementará una pequeña GUI con botón que enviará un SMS al dispositivo móvil una vez que se haga clic.

    Requisitos del tutorial

    Read More
  • By Charlie Weems
    Create SMS QR Codes with Twilio SMS QR Code Blog Post (1).png
    • Interested in trying out our QR code generator? Click here!

    QR codes have been around for decades. In the 2010s they were the “next big thing” – until they weren’t. But QR codes have made a big comeback during COVID. Adoption has also been helped by built-in support on the iOS and Android camera apps. Gone are the days when you needed to install a QR code app.

    Most of us know QR codes as virtual tickets, or maybe the new way to get a link to a restaurant’s menu. But did you know that you can start an SMS conversation with a QR code? They’re a great way to seamlessly onboard customers into an SMS campaign, WhatsApp conversation, phone call, or email thread.

    If you’re coming to Twilio and want to know how QR codes can be used with communications, this post is for you! You’ll learn …

    Read More
  • By Allison Torres
    Automate Frequently Asked Questions in Multiple Languages Using WhatsApp and Twilio Studio Automate faqs in multiple languages using WhatsApp and Twilio Studio

    Why should businesses use WhatsApp as a channel?

    WhatsApp is one of the most popular messaging apps in the world. Users in the platform are ready to have conversations with businesses in a fast and efficient way.

    When Twilio launched the WhatsApp API we quickly learned the power of WhatsApp as a conversational channel. For example, we started with one-time password use cases and users were responding with "thank you" and emojis which is something we haven’t seen in any other channel.

    There are two ways you can communicate with your customers via WhatsApp:

    • Inbound: This means your customer initiates the conversation. This can be used in customer care use cases or support.
    • Outbound: This can be done through templates, these are preapproved messages that enable businesses to send the first message to their end customers. Many organizations send outbound notifications and alerts. To learn more about this …
    Read More
  • By Lizzie Siegle
    How to Send SMS from Airtable in 1 Minute header blog

    Airtable is an awesome spreadsheet-and-database-like tool with lots of flexible features helpful to builders. Airtable Apps let you extend the functionality of your bases: you can use apps to bring new information into Airtable, visualize and summarize your records in colorful ways, and even directly integrate your Airtable bases with your favorite apps. In this post, you’ll learn to send an SMS in one minute from Airtable using the Send SMS Airtable App.


    Read More
  • By Sam Agnew
    How to Send Recurring Emails in Python with SendGrid 1.png

    Many applications have the need to send emails programmatically at specific times or regular intervals. In Python this is possible with the use of the Twilio SendGrid API for sending emails as well as Redis Queue and RQ Scheduler. Let's walk through how to schedule an email step by step.

    Prerequisites and dependencies

    Make sure you have the following before moving on:

    Here is a guide you can follow for setting up your development environment if you are going to be doing more web development with Python in general and are unfamiliar with things like virtual environments.

    Before writing code, you'll need to install some dependencies:

    Read More
  • By Diane Phan
    Start a Ghost Writing Career for Halloween with OpenAI's GPT-3 Engine and Java header - Start a Ghost Writing Career for Halloween with OpenAI's GPT-3 Engine and Java

    Illustration by Caroline.

    It can be tempting to stay inside with a cup of hot cocoa to read as the days get chillier. Why not challenge yourself by writing some code along with a new story this fall season?

    In this article, you will learn how to navigate a Java IDE to build a ghost writing application in Java with the OpenAI GPT-3 engine.

    Tutorial Requirements

    Start a new Java project in IntelliJ IDEA

    Open IntelliJ IDEA and click on Create New Project.

    Choose Gradle on the left hand side, check Java in the box on the right hand side, and click Next.

    choose gradle option for new java project

    Give your project a name such as "GhostWriter" …

    Read More
  • By Alina Libova Cohen
    Keep a Journal of Special Moments using Twilio Programmable SMS and Google Sheets Keep a Journal of Special Moments using Twilio Programmable SMS and Google Sheets

    "It’s amazing how easy it is to forget the magical little moments you assumed would get tattooed on your brain." I read in Matthew Dick's article on how to remember more of your kid's childhood and couldn't help nodding along.

    My toddler recently turned two and a half and my second daughter was born three weeks ago, so special moments are abundant but the ability to remember them is severely compromised. His suggestion of recording a memory every day in an Excel sheet or leather bound journal resonated with me, but after a few days of trying to find time to open up Excel and write a memory I realized I needed a more lightweight solution. Texting, especially with the voice dictation feature, has always been my favorite medium, and Twilio makes it easy and cheap to set up a dedicated phone number that can record those text messages to …

    Read More
  • By Matthew Setter
    How to Create a QR Code in PHP How to Create a QR Code in PHP

    QR codes are almost everywhere these days!

    It makes sense. They're small, readable on any modern smartphone without special software, and let us do so many things easily and quickly, such as checking in at a cafe, gaining access to a WiFi network, accessing a scooter on a summer vacation, and making a purchase.

    Here are some examples that I found from around the web.

    Some examples of QR codes.

    So if you want to know how to create them in your PHP-based application, read on.


    To follow this tutorial, you need the following:

    • Previous experience with writing PHP code.
    • PHP 7.4 with the GD extension installed.
    • Composer installed globally.
    • A smartphone.

    Let's create a QR code in PHP

    First, we need to create a project directory structure to store all the files that we'll make use of. To do so, switch into the top-level directory, and run the commands below.

    mkdir -p php-qr-code-generator …
    Read More
  • By Diane Phan
    How to Start Your First Java Spark App header - How to Start Your First Java Spark App

    Setting up a new project to hack together an idea shouldn't be a problem, especially with the help of the Spark framework. Not only does this lightweight framework allow developers to be more productive with minimal boilerplate, but explore REST APIs at the same time.

    In this article, you will learn how to navigate a Java IDE to set up and build a Java Spark application.

    Tutorial requirements

    Start a new Java project in IntelliJ

    Open IntelliJ Idea and click on Create New Project.

    IntelliJ IDEA home screen

    Choose Gradle on the left hand side a …

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