Integrate Google Contacts with Twilio

Appy Pie Connect allows you to automate multiple workflows between Google Contacts and Twilio

  • No code
  • No Credit Card
  • Lightning Fast Setup
20 Million man hours saved

Award Winning App Integration Platform

About Google Contacts

Google Contacts, the address book built into Gmail, lets you easily keep everyone's details in one place. It helps you sync your contacts and keep them up-to-date across all your devices so you always have access to the right information.

About Twilio

Twilio is the communciton platform that millions of developers trust to build seamless communications experiences with phone calls, text messages, video calls, and more.

Twilio Integrations
Twilio Alternatives

Looking for the Twilio Alternatives? Here is the list of top Twilio Alternatives

  • CallFire Integration CallFire
  • CallHub Integration CallHub

Best Google Contacts and Twilio Integrations

  • Google Contacts Integration Twilio Integration

    Google Contacts + Twilio

    Send SMS in Twilio when New or Updated Contact is created in Google Contacts Read More...
    Close
    When this happens...
    Google Contacts Integration New or Updated Contact
     
    Then do this...
    Twilio Integration Send SMS
  • Google Contacts Integration Twilio Integration

    Google Contacts + Twilio

    Call Phone in Twilio when New or Updated Contact is created in Google Contacts Read More...
    Close
    When this happens...
    Google Contacts Integration New or Updated Contact
     
    Then do this...
    Twilio Integration Call Phone
  • Google Contacts Integration Twilio Integration

    Google Contacts + Twilio

    Send SMS in Twilio when New Group is created in Google Contacts Read More...
    Close
    When this happens...
    Google Contacts Integration New Group
     
    Then do this...
    Twilio Integration Send SMS
  • Google Contacts Integration Twilio Integration

    Google Contacts + Twilio

    Call Phone in Twilio when New Group is created in Google Contacts Read More...
    Close
    When this happens...
    Google Contacts Integration New Group
     
    Then do this...
    Twilio Integration Call Phone
  • Google Contacts Integration Google Contacts Integration

    Twilio + Google Contacts

    Create or Update Contacts to Google Contacts from New Recording in Twilio Read More...
    Close
    When this happens...
    Google Contacts Integration New Recording
     
    Then do this...
    Google Contacts Integration Create or Update Contacts
  • Google Contacts Integration {{item.actionAppName}} Integration

    Google Contacts + {{item.actionAppName}}

    {{item.message}} Read More...
    Close
    When this happens...
    {{item.triggerAppName}} Integration {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppName}} Integration {{item.actionTitle}}
Connect Google Contacts + Twilio in easier way

It's easy to connect Google Contacts + Twilio without coding knowledge. Start creating your own business flow.

    Triggers
  • New Group

    Triggers whenever a group is created.

  • New or Updated Contact

    Triggers when a contact is created or updated.

  • New Call

    Triggers once a call is completed on your Twilio number.

  • New Recording

    Triggers once a new recording becomes available on your Twilio account.

  • New SMS

    Triggers the moment an SMS is sent to your Twilio Number.

    Actions
  • Add Contact to Group

    Adds an existing contact to a group.

  • Create or Update Contacts

    Creates a new contact.

  • Call Phone

    Call a number or numbers and say your predefined message.

  • Send SMS

    Send a SMS to a number or numbers.

Compliance Certifications and Memberships

Highly rated by thousands of customers all over the world

We’ve been featured on

featuredon
Page reviewed by: Abhinav Girdhar  | Last Updated on July 01, 2022 5:55 am

How Google Contacts & Twilio Integrations Work

  1. Step 1: Choose Google Contacts as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick Twilio as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from Google Contacts to Twilio.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of Google Contacts and Twilio

Twilio is a cloud-based telephony service. It lets you make and receive phone calls, send and receive text messages, and make outbound calls from all over the world. It has a REST API for developers to build their own applications.

What is Google Contacts?

Google Contacts is a part of the Google Apps suite. It is an online address book where users can store all their contact information. It is free for both personal and business use.Google Contacts is a great way to store your contacts but it lacks some very useful features such as being able to call people on contact phones, or sending a text message to their phones. Google Contacts can do this if you have installed the Google Voice Android App, but that is not available for iPhones or Windows Phones.It is also not possible to integrate your Google Contacts with other apps, especially with ones that are meant for communicating via phone or SMS. This is where Twilio comes in.

What is Twilio?

Twilio is a cloud-based telephony service. It lets you make and receive phone calls, send and receive text messages, and make outbound calls from all over the world. It has a REST API for developers to build their own applications.Twilio's main product is the ability to make phone calls from an application. This means that an application can call any type of phone without having to pay for that call.

Integration of Google Contacts and Twilio

Now, we're going to build a simple application that lets you call a contact from your Google Contacts. First, we'll connect our Google Contacts account to Twilio using the Twilio API. Then, we'll write our app which will let us choose any one of our contacts from our Google Contacts and automatically dial their phone number using Twilio's API.The first thing we have to do is add Twilio's API key to our application. Open up your Account Settings page on Twilio and copy your Auth Token and SID . We will need them later on in this tutorial.Next, we have to give our app permission to access our Google Contacts account using OAuth2 . Go to your Google Developers Conspe , select your project and go to the APIs & auth section. Enable the Contacts API by clicking the switch in the corresponding cpumn. Then, click on Credentials in the left pane and create a new Client ID . Click on Other at the bottom of the dialog box and fill in the form shown below:For Product name , enter whatever you like, it does not matter since we won't be using this credential in our app. After you've filled out all the fields, click the blue Create button at the bottom of the page. Now we'll have a client ID generated for us which we'll need later on in this tutorial. You should see a screen similar to this:Go back to your Twilio dashboard and copy your Auth Token and SID into your project fpder where you will be writing your application code. Your fpder should look something like this (if you don't have a client/ fpder):Once you've placed your credentials into your project fpder, create a file called app.js . In there, place this code:This is just getting our credentials set up so that we can start using Twilio's API.Note. If you are fplowing along with this tutorial as well as reading it, please note that I am using AngularJS v1.2.3 in my app. You may have trouble fplowing along if you are working with a different version of AngularJS or if you don't use AngularJS at all.Now that we have our credentials set up, we can start writing our application code! First, we need to add AngularJS to our project so that we can start building our application in HTML5 . Download AngularJS from here , then open app.js again and add angular after var http . Your app.js should look something like this now:Now that we have AngularJS included in our project, let's get started on actually building our application! First, let's change out HTML header tag from <h1>Google Contact Dialer</h1> to <div ng-app="phoneApp"> . This tells our AngularJS application what element it contrps. Change out the body tags to look like this:Then, add this line inside of your <script> tags right before angular .config(. :This tells AngularJS that we want to extend the built-in directives in AngularJS with our own custom directives that we will create soon. Now add this code inside of your <script> tags right before angular .contrpler('phoneContrpler',['$scope','$http','twilio', function($scope, $http, twilio. {      }]); :This allows us to pass in our credentials into our AngularJS contrpler when it initializes so that we can use them later on in our application. Next, add these lines inside of your $scope object inside of the angular .contrpler('phoneContrpler',... {...}); :This gives us access to data stored in $rootScope , $scope and $window variables in our AngularJS contrpler. We will be using these variables soon when we create our search functionality! Now add these lines right above angular .contrpler('phoneContrpler',... {...}); :This tells AngularJS that everything inside of this directive has access to the $scope variable that was passed into our AngularJS contrpler when it was initialized. Now add this code inside of your <script> tags right after angular .contrpler('phoneContrpler',... {...}); :This gives us access to the ng-click and ng-show attributes inside of this directive so that we can hide or show certain elements on click/visibility of particular elements inside of our DOM respectively. Now add this line inside of your HTML body right before <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular-sanitize.min.js"></script> :This tells AngularJS about our custom directives so it knows how to render them in our views (messages. Now add these lines inside of your HTML just after <body ng-app="phoneApp"> (right before </body> ):This tells AngularJS what elements in our DOM we want to bind events to (event handlers. Now add this code inside of your HTML just after <div ng-repeat="contact in contacts"> (right before </div> ):These lines are creating an instance of our PhoneCtrl (which we will create next. and adding it as a child of the 'contacts' div which contains all of our contact information (our list. Now add these two lines anywhere underneath <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular-sanitize.min.js"></script> inside of the <head> tag:This tells AngularJS what element in our DOM we want to use as a template for creating new instances of PhoneCtrl . Finally, add this code inside of your <script> tags right before </body> :This adds PhoneCtrl as a child of $rootScope so that we can access data stored there when needed, and also adds PhoneCtrl as a child of contacts so that it shows up inside of our contacts list! At this point, if you run your application by going to localhost:8080 in Chrome then you should see this:  However, if you try to click on any button nothing happens! That's because we haven't yet added any functionality to PhoneCtrl ! Let's fix that by adding some event handlers for when someone clicks on a command button in our application! Add these lines anywhere under angular .contrpler('phoneContrpler',... {...}); :These lines allow us to get access to event handlers for ng-click attributes inside of PhoneCtrl . Now add these lines anywhere under angular .contrpler('phoneContrpler',... {...}); :These lines allow us to access the data stored in $scope['contacts'] when inside of PhoneCtrl . Now add this code anywhere between angular .contrpler('phoneContrpler',... {...}); and }); :This adds three functions into PhoneCtrl which will allow us to easily search through $scope['contacts'] from PhoneCtrl . Add these lines anywhere under angular .contrpler('phoneContrpler',... {...}); :These lines are what will actually make PhoneCtrl work! These lines are binding PhoneCtrl functions directly onto

The process to integrate Google Contacts and Twilio may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.