Skip to content

Automatically Send SMS Via Twilio in Bulk Using Google Sheets Data

  • by

Let’s discuss how you can integrate Google Sheets with Twilio and automatically send bulk SMS at a specific time using data from Google Sheets.
This automation requires a one-time setup, for which we will use Pabbly Connect.
We will first add a Schedule trigger to the workflow to set a specific time for sending the SMS, link Pabbly Connect with Google Sheets to capture the data, then link Pabbly Connect with Twilio and send bulk SMS.

Steps to Automatically Send SMS Via Twilio in Bulk Using Google Sheets Data

1. Sign In / Sign Up to Pabbly Connect and Create a Workflow
2. Add Schedule as the Trigger App to Set Time to Send SMS
3. Setup Google Sheets as the Action App to Capture Data
4. Add an Iterator to the Workflow to Organise Data
5. Setup Twilio as the Action App to Send SMS

Step 1:- Sign In / Sign Up to Pabbly Connect and Create a Workflow

A. Sign In / Sign Up

To begin this process, visit Pabbly Connect and create your account by clicking on the ‘Sign Up Free’ button. You can also click on Sign In if you already have an account.

Click on the Pabbly Connect ‘Access Now’ button

B. Create Workflow

To create a new workflow, click the ‘Create Workflow’ button.

Name your workflow, and click on ‘Create’.

Step 2:- Add Schedule as the Trigger App to Set Time to Send SMS

Trigger is the app that executes the workflow. Since we want to send messages and execute the workflow at a specific time, in our case it would be Schedule by Pabbly.

Choose ‘Schedule by Pabbly’ as the Trigger App, select how often you want to send the message, set a Date and time to execute the workflow, and click on ‘Save’.
Note: Make sure to check your Time Zone.

Step 3:- Setup Google Sheets as the Action App to Capture Data

Action allows us to choose the application that will get executed by the workflow trigger.
We essentially want to capture the data stored in Google Sheets. Thus, Google Sheets will be our Action App.

A. Action App

Choose ‘Google Sheets’ as the Action App, select ‘Get Row(s)’ as an Action Event, and click on ‘Connect’.

B. Connect Google Sheets Account

To connect with your Google Sheets account, select ‘Add New Connection’, and click on ‘Connect With Google Sheets’. Also, grant the authorization.

Select the Spreadsheet and Sheet from where you want to capture the data.

Enter the Range for your data, toggle off Simple Response, and click on ‘Save & Send Test Request’.

Expand Response Received, and the data you entered must be visible, thus confirming our established connection.

Step 4:- Add an Iterator to the Workflow to Organise Data

The data we captured from Google Sheets is unorganized – To organize and separate the data by row, we will use Iterator by Pabbly.

Add another Action Step to your workflow by clicking the ‘+’ button.

Choose ‘Iterator by Pabbly’ as the Action App, and click on ‘Save & Send Test Request’.

The data is now arranged in proper row format, and we can use it to send SMS.

Step 5:- Setup Twilio as the Action App to Send SMS

We essentially want to use the data captured from Google Sheets to send customized SMS through Twilio. Thus, Twilio will be our Action App.

Add another Action Step to your workflow by clicking the ‘+’ button.

A. Action App

Choose ‘Twilio’ as the Action App, select ‘Send SMS Message’ as an Action Event, and click on ‘Connect’.

B. Connect Twilio Account

To connect your Twilio account, select ‘Add New Connection’, and go to the Twilio account dashboard to find the Account SID and Authorization Token.

Copy both Account SID and Authorization Token

Paste them in their respective fields, and click on ‘Save’.

C. Compose an SMS

You can write a static message or include variables in your message by mapping the details from above. These variables will be dynamic and change according to the data entered in the Excel sheet.

Compose an SMS by mapping the details from the step above.

Copy your Twilio phone number from the Twilio dashboard, and paste it as Sender Number.

Map the Recipient Number from above, and click on ‘Save & Send Test Request’.

The moment you click on Save & Send Test Request, an SMS will be sent to on recipient’s mobile number.

Our automation is complete. We have successfully integrated Google Sheets with Twilio. Each time you want to send bulk SMS from Google Sheets data, you can do so using this workflow.

You can copy this entire workflow by clicking this link.

Sign Up for a free Pabbly Connect account, and start automating your business
Subscribe to our Youtube Channel for more such automation
For any other queries, visit our forum