Twilio

Send SMS messages from your Glide app.

Twilio is a communications platform that enables businesses to send messages to their customers across multiple channels. With the Twilio integration, you can easily send SMS (text) messages from your app to keep your users engaged and informed.

Don't see the Twilio integration?

You may need to upgrade your plan. Browse Glide's plans and find the right fit for you.

Adding and Configuring the Integration

  1. In Glide, click the Settings icon in the upper-right corner.

  2. In the Integrations menu, choose Twilio and select Add.

  3. Next, you will to set your Twillio Account SID, Auth token, and From number.

  4. To find this information, open your Twilio dashboard.

  5. Input the information into your Glide integration. You are now ready to start using Twilio with Glide.

Verified phone numbers on Twilio

Twilio allows messaging to different numbers depending on what level of account you have. In some cases, you can only text phone numbers that you’ve verified. Click here to learn more about verified phone numbers on Twilio.

Features

To send a text with Twilio, select which column the integration should pull phone numbers from, and then input the message text you'd like to send. You can choose to send messages either as SMS or through Whatsapp.

The actions can be added to a component that supports actions (e.g., a button), added to an action sequence in the Action Editor, or after a form is submitted.

You can create a dynamic message by creating a Template Column in the Data Editor and then setting that column as your Message field.

Send SMS message

  1. If you have not already, set up columns to the recipient phone numbers and the message text.

  2. Select the component you'd like to add the action to. Remember, this must be a component that supports actions.

  3. Search for the Send SMS message action or navigate to Integrations -> Twilio -> Send SMS message.

  4. Name the action.

  5. Choose an icon.

  6. Select the column that contains the Recipient phone numbers, or enter a manual value.

  7. Select the column that contains the Message, or enter custom text.

  8. Click away to exit the configuration.

Send WhatsApp message

  1. If you have not already, set up columns to the recipient phone numbers and the message text.

  2. Select the component you'd like to add the action to. Remember, this must be a component that supports actions.

  3. Search for the Send WhatsApp message action or navigate to Integrations -> Twilio -> Send WhatsApp message.

  4. Name the action.

  5. Choose an icon.

  6. Select the column that contains the Recipient phone numbers, or enter a manual value.

  7. Select the column that contains the Message, or enter custom text.

  8. Click away to exit the configuration.

Ready to automate?

You can use a Template Column to create customized messages for different users.

Let’s look at a potential use case for this integration.

Optimizing Delivery Times with Twilio SMS Notifications

SwiftCourier, a premier courier service, coordinates with a network of freelance couriers working from mobile devices. They've encountered a bottleneck in getting couriers to pick up orders as soon as they become available for delivery. They need a way to send real-time order status, etas, and delivery updates to their drivers, who are on both ios and Android devices. Driver’s can opt-in to push notifications from the app, but not all do.

SwiftCourier manages all order data and metrics in Glide, and delivery drivers already have the mobile app on their phones. Currently when a delivery notification needs to be sent, SwiftCourier manually writes an email notification for the assigned courier to arrange pickup.

SwiftCourier app for managing new orders and deliveries.

This process, while functional, isn't scalable as the delivery business grows. Optimization is needed, so they decide to utilize Glide's Twilio integration with their existing mobile app to add more communication channels and improve delivery driver and customer experiences. This setup sends an automatic sms notification to the assigned delivery service or courier when a new order is marked ready for delivery.

Implementing Twilio Text Messages

After integrating Twilio with their Glide app, they create a custom Twilio action. This action is added to the custom action that marks an order as ready for delivery.

Custom action workflow for sending Twilio SMS to couriers.

And that's it! Each time an order is marked ready for delivery in Glide, a text message is instantly sent out to the assigned courier.

A text being sent to the courier.

Enhancing Twilio Notifications with Delivery Details

SwiftCourier takes this a step further by including pertinent delivery details in the text messages.

In the Orders table in Glide, they add a new template column. This column includes:

  • The pickup location

  • The delivery destination

  • Specific order details

Template column for SwiftCourier SMS.

They then modify the Twilio notification action to use this template column.

Adding the template column to the custom actions workflow.

Now, every time an order is ready, a detailed text is automatically dispatched to the assigned courier. This automation makes SwiftCourier's delivery process faster and eliminates manual text messaging, saving valuable hours.

Dynamic SwiftCourier SMS with Twilio.

If the order details were stored somewhere else (say, an e-commerce platform like shopify), SwiftCourier could use Call API to share data between their Glide app and the e-commerce platform.

To learn more generally about Integrations in Glide, including how they affect your app’s usage, check out our Introduction to Integrations.

Frequently Asked Questions

Have a question about Twilio? Ask the Glide community.

Updated more than a week ago
Was this article helpful?