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

TwilioVoices posts

  • By Dhruv Patel
    Build a Contact Form in Node.js with SendGrid Header

    Contact forms on web applications are essential as it’s great for signups, customer engagement, or even getting feedback from visitors. There are many solutions when it comes to creating contact forms such as using embedded forms. And although embedded forms are easy to implement, building out your own form allows you to have complete transparency and customization of the form and its processing.

    A great solution to send out emails through contact forms is Twilio Sendgrid. SendGrid offers deliverability, scalability and even in-depth metrics and analytics when it comes to email-based solutions such as contact forms. In this post, you’ll learn how to build a basic contact form with SendGrid to let your visitors contact you which can be incorporated into your Node application.

    Stylized contact form

    Prerequisites

    Here is what you will need to complete this tutorial:

    Read More
  • By Dhruv Patel
    Send Email Notifications to Subscribers with SendGrid and Node.js Send Email Notifications to Subscribers with SendGrid and Node.js Header

    Introduction

    Sitting at your device all day waiting for a price drop on a product can be a cumbersome task. An email notification system will ensure that you never miss out on your most coveted item. Whether you’re looking for the hottest pair of shoes or a couch for your living room, it can all be automated to your benefit and make technology work for you.

    In this article, you will learn how to build an email price notification system. To do this, you’ll use the Sneaks API to track sneaker prices and deliver SendGrid email alerts whenever the price of a particular sneaker decreases.

    Prerequisites

    Here is what you will need to follow along with this article:

    Configure Your Environment

    In this section, you will first configure your environment by setting up your SendGrid account, …

    Read More
  • By Dhruv Patel
    Build a GPT-3 Discord Chatbot with Node.js Gpt-3 Discord Bot Header

    OpenAI’s GPT-3 is a language model that offers a multifaceted “text in, text out” interface that can be applied to virtually any task. It can produce code, stories, recipes, and more. The engine is capable of doing anything - it can even do your homework for you! OpenAI's GPT-3 engine is also a remarkable tool for chatbots since its output text is indistinguishable from human text. A fitting integration with this is Discord chatbots.

    In recent years, Discord has become the central messaging platform for communities especially with the help of Discord bots. Through Discords extensive API, developers are able to build robust bots that are capable of various actions such as automating tasks and chatting with users.

    With the gaining traction of both of these technologies, I decided to combine them to build an intelligent but fun chatbot.

    In this article you’ll learn how to use …

    Read More
  • By Dhruv Patel
    How to Send Recurring Emails in Node.js with SendGrid Header

    When building applications, there are often times when you need to create and run background tasks that run on a schedule such as checking for updates or backing up data.

    There are many ways of scheduling recurring tasks in Node.js such as using Crontab or cloud based extensions. Another approach to scheduling recurring tasks is through npm packages such as node-cron and node-schedule which provide flexible cron scheduling to Node.js through libraries without the need to rely on infrastructure.

    In this tutorial, you’ll learn how to use node-schedule and SendGrid to schedule recurring emails.

    Prerequisites

    Here is what you will need to follow along with this article:

    Configure your environment

    Start off by logging into your SendGrid account and heading to the API Keys section. Click the blue “Create API Key” button …

    Read More
  • By Miguel Grinberg
    Send Scheduled Emails from Python and Flask with Twilio SendGrid Send Scheduled Emails from Python and Flask with Twilio SendGrid

    Twilio SendGrid eliminates many of the complexities of sending email. In a previous tutorial, you learned how to use SendGrid’s SMTP server to send emails to your users from a Python and Flask application. But how do you schedule your emails so that they are sent at a specific time?

    In this short tutorial you will learn how to use SendGrid’s email scheduling options, which will save you from having to implement your own background scheduling.

    Requirements

    To work on this tutorial you will need the following items:

    • Python 3.6 or newer. If your operating system does not provide a Python 3.6+ interpreter, you can go to python.org to download an installer.
    • A free Twilio SendGrid account. If you are new to Twilio Sendgrid you can create a trial account. With a trial account you can send 100 emails per day forever.

    Create a Flask project

    Find an …

    Read More
  • By Miguel Grinberg
    Add a Realtime Viewer Count to your Twilio Live Stream Add a Realtime Viewer Count to your Twilio Live Stream

    An important aspect of running a Twilio Live streaming experience is to track your viewership. But how do you do that? There are many different ways to do it, and the best method to use will depend on your needs and your technology stack.

    Are you ready to learn how to count your livestream viewers? In this article I’ll show you a few possible implementations with varying levels of complexity and flexibility.

    Requirements

    This article does not have any requirements beyond having some familiarity with the Twilio Live product. If you haven’t worked with Twilio Live before, I recommend that you follow an introductory tutorial first. My colleague Mia Adjei wrote a Twilio Live tutorial using Express.js, and I have also written one using the Twilio serverless platform, both of which show you how to build a complete livestreaming project step by step.

    To apply what you learn …

    Read More
  • By Miguel Grinberg
    Deploy your Vue.js Application with the Twilio Serverless Toolkit Deploy your Vue.js Application with the Twilio Serverless Toolkit

    When you are ready to deploy your Vue.js application you are faced with the problem of selecting a hosting platform. For this there are lots of options, but many require you to set up and manage your own server or container.

    In this short tutorial I want to introduce you to the Twilio Runtime, a serverless hosting platform that when paired with the Twilio Serverless Toolkit makes deploying your front end application as easy as typing yarn deploy on your terminal.

    Requirements

    To work on this tutorial you will need the following items:

    Read More
  • By Miguel Grinberg
    Deploy your React Application with the Twilio Serverless Toolkit Deploy your React Application with the Twilio Serverless Toolkit

    When you are ready to deploy your React application you are faced with the problem of selecting a hosting platform. Here you have a variety of options, many of them requiring you to set up servers or containers.

    In this short tutorial I want to introduce you to the Twilio Runtime, a serverless hosting platform that when paired with the Twilio Serverless Toolkit makes deploying your React application as easy as typing yarn deploy on your terminal.

    Requirements

    To work on this tutorial you will need the following items:

    Read More
  • By Carlos Mucuho
    Turn Voice Recordings into Shareable Videos with Python and FFmpeg Turn Voice Recordings into Shareable Videos with Python and FFmpeg

    In this tutorial, we are going to learn how to build an application with Python and FFmpeg that will allow us to turn voice recordings into cool videos that can be easily shared on social media.

    At the end of the tutorial we will have turned a voice recording into a video that looks similar to the following:

    Project demo

    Tutorial requirements

    To follow this tutorial you are going to need the following components:

    • One or more voice recordings that you want to convert to videos. Programmable Voice recordings stored in your Twilio account work great for this tutorial.
    • Python 3.6+ installed.
    • FFmpeg version 4.3.1 or newer installed.

    Creating the project structure

    In this section, we will create our project directory, and inside this directory, we will create sub-directories where we will store the recordings, images, fonts, and videos that will be used in this tutorial. Lastly, we will create the Python …

    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
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.