Question

How to list Google Contact GROUPS?

  • 9 June 2023
  • 1 reply
  • 22 views

Hi! I have a Zap where

  1. I create a new Contact in Google Contacts
  2. I create a new Google Contacts Group
  3. I add the newly created contact to the newly created group

The problem is that if the group I try to create in step 2 already exists, if defaults to FALSE (couldn't create the group because it already exists) and then I can't add the newly created contact to the group it should be part of.

Is there a way I can first list the groups I already have and if not existent, create it, if exists, add contact to group?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @Nova Igreja 

Good question.

One approach is to log all the GContact Groups (plus IDs) into a GSheet to use as a lookup table in the Zap.

 

OR

 

You can use the GContacts API: https://developers.google.com/people/api/rest/v1/contactGroups/list

You can use this Zap action: GContacts - API Request

You will need to pull the list of GContact Groups, then filter to determine if the desired Group exists.

 

If you need help, consider hiring a Certified Zapier Expert: https://zapier.com/experts/automation-ace