Trying to remove contact from google group: "must be in the format people/<person_id>"

When a status changes in airtable, I am trying to remove the group someone is in on google contacts. However, I am getting this error:

I have it set up like to search for the google contact by the users email address in airtable
(as an aside, searching by phone number returns zero results, even when the string is exactly the same as what is in google contacts)

But I am stuck on how to set up the “add/remove contacts from a group” module. It seems that “contact ID” in the remove contact section doesn’t do the job, hence the error. But google contacts doesn’t seem to store a “<person_id>” field.

I’m sure I’m missing something very obvious, but i’ve been bashing my head against a wall for over an hour on this!

As an aside, does anyone know why the search query of the airtable field for phone number isn’t working to pull the google contacts? Email does work, but searching by phone number will be more reliable. Make automatically updates the airtable phone field from the google contacts “canonical form” phone number to keep these in sync.

Just going to bump this again!

Welcome to the Make community!

You probably have to do something like this using the map and get functions:

{{first(map(65.memberships; "contactGroupMembership.contactGroupId"; "contactGroupMembership.contactGroupResourceName"; "contactGroups/myContacts"))}}

(copy-paste the above into the field, or type it exactly as shown)

Change contactGroups/myContacts to the Contact Group Resource Name, as displayed in the output bundle of the previous module (NOT how it looks in Google Contacts).

One question per thread please.

Hope this helps! Let me know if there are any further questions or issues. P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

@samliew