Google Contacts
App · Contact Management · 15 actions
Manage your Google Contacts.
Actions
| Action | What it does |
|---|---|
| Add contact to label | Put a contact under one of your labels, such as Customers. |
| Create contact | Create a new contact in Google Contacts. |
| Create label | Make a new label to group contacts under. |
| Delete contact | Delete a contact from Google Contacts. |
| Delete label | Delete one of your labels. |
| Find contacts | Find contacts by name, email address, phone number or company, such as the contact to update for an email that just arrived. |
| Find or create contact | Find the contact with an email address, and add them as a new contact if there's none, so a workflow never makes the same person twice. |
| Get contact | Look up a single contact by its ID. |
| List contacts | List contacts from your Google account. |
| List contacts in label | List the contacts under one of your labels, such as every contact labeled Customers, with each one's name, email and phone. |
| List labels | List the labels you made in Google Contacts, with how many contacts are under each. |
| Remove contact from label | Take a contact out from under one of your labels. |
| Rename label | Give one of your labels a new name. |
| Update contact | Update an existing contact in Google Contacts. |
| Update contact's company and notes | Set a contact's company, job title, notes or address. |
Add contact to label
Put a contact under one of your labels, such as Customers. A contact already under it stays as it is.
Inputs
- Contact ID
resource_nametextRequired - The ID of the contact, for example people/c123456789, as Find contacts, Create contact or a trigger gives it.
- Label
labeltextRequired - The label to put the contact under.
Outputs
labeltext- The label's ID, for example contactGroups/1a2b3c
resource_nametext- The contact's ID
Example output
{
"label": "contactGroups/1a2b3c4d5e",
"resource_name": "people/c123456789"
}Create contact
Create a new contact in Google Contacts.
Inputs
- First name
given_nametextRequired - First name of the contact.
- Last name
family_nametext - Last name of the contact.
- Email
emailtext - Email address of the contact.
- Phone
phonetext - Phone number of the contact.
Outputs
Response envelope; the payload is in the "resource_name" field.
resource_nametext- Resource name of the created contact
Example output
{
"resource_name": "people/c987654321"
}Create label
Make a new label to group contacts under.
Inputs
- Name
nametextRequired - What to call the label. No two labels can share a name.
Outputs
labeltext- The new label's ID, for Add contact to label
nametext- The label's name
Example output
{
"label": "contactGroups/1a2b3c4d5e",
"name": "Customers"
}Delete contact
Delete a contact from Google Contacts.
Inputs
- Contact ID
resource_nametextRequired - The ID of the contact to delete, for example people/c123456789
Outputs
statustext- Deletion status.
Example output
{
"status": "deleted"
}Delete label
Delete one of your labels. The contacts under it are kept.
Inputs
- Label
labeltextRequired - The label to delete.
Outputs
labeltext- The deleted label's ID
statustext- Deletion status
Example output
{
"label": "contactGroups/1a2b3c4d5e",
"status": "deleted"
}Find contacts
Find contacts by name, email address, phone number or company, such as the contact to update for an email that just arrived. Words match from their start: 'Sam' finds Sam Lee.
Inputs
- Search for
querytextRequired - A name, email address, phone number or company, or the start of one.
- Maximum contacts
limitnumber - Most contacts to return, from 1 to 30.From 1 to 30. Default:
10.
Outputs
contactslist- The matching contacts, best match first
countnumber- How many contacts matched
Example output
{
"contacts": [
{
"email": "jane@acme.com",
"fullName": "Jane Doe",
"phone": "+1234567890",
"resourceName": "people/c123456789"
}
],
"count": 1
}Find or create contact
Find the contact with an email address, and add them as a new contact if there's none, so a workflow never makes the same person twice.
Inputs
- Email
emailtextRequired - The person's email address, used to look them up.
- First name
given_nametext - First name for a new contact. Leave blank to use the part of the email before the @.
- Last name
family_nametext - Last name for a new contact.
- Phone
phonetext - Phone number for a new contact.
Outputs
createdtrue/false- Whether the contact was new and added just now
emailtext- Primary email
fullNametext- Full name
phonetext- Primary phone
resourceNametext- The contact's ID, for example people/c123456789
Example output
{
"created": false,
"email": "john@example.com",
"fullName": "John Smith",
"phone": "+1234567890",
"resourceName": "people/c123456789"
}Get contact
Look up a single contact by its ID.
Inputs
- Contact ID
resource_nametextRequired - The ID of the contact, for example people/c123456789
Outputs
Response envelope; the payload is in the "contact" field.
contactobject
Example output
{
"contact": {
"email": "john@example.com",
"etag": "%EgUBAgkLNz4aBAECBQciDFJJREZyWjJIMDdBTT0=",
"fullName": "John Smith",
"phone": "+1234567890",
"resourceName": "people/c123456789"
}
}List contacts
List contacts from your Google account.
Inputs
- Maximum contacts
page_sizenumber - Maximum number of contacts to return (1-1000, default 25)
Outputs
Response envelope; the payload is in the "contacts" field.
contactslist- List of contacts
Example output
{
"contacts": [
{
"email": "john@example.com",
"fullName": "John Smith",
"phone": "+1234567890",
"resourceName": "people/c123456789"
}
]
}List contacts in label
List the contacts under one of your labels, such as every contact labeled Customers, with each one's name, email and phone.
Inputs
- Label
labeltextRequired - The label whose contacts to list.
- Maximum contacts
limitnumber - Most contacts to return (1-200, default 50).From 1 to 200. Default:
50.
Outputs
contactslist- The contacts under the label
countnumber- How many contacts came back
labeltext- The label's ID
nametext- The label's name
Example output
{
"contacts": [
{
"email": "john@example.com",
"fullName": "John Smith",
"phone": "+1234567890",
"resourceName": "people/c123456789"
}
],
"count": 1,
"label": "contactGroups/1a2b3c4d5e",
"name": "Customers"
}List labels
List the labels you made in Google Contacts, with how many contacts are under each.
Inputs
None.
Outputs
countnumber- How many labels
labelslist- Your labels, A to Z
Example output
{
"count": 1,
"labels": [
{
"contact_count": 12,
"label": "contactGroups/1a2b3c4d5e",
"name": "Customers"
}
]
}Remove contact from label
Take a contact out from under one of your labels. The contact itself is kept.
Inputs
- Contact ID
resource_nametextRequired - The ID of the contact, for example people/c123456789, as Find contacts, Create contact or a trigger gives it.
- Label
labeltextRequired - The label to take the contact out of.
Outputs
labeltext- The label's ID, for example contactGroups/1a2b3c
resource_nametext- The contact's ID
Example output
{
"label": "contactGroups/1a2b3c4d5e",
"resource_name": "people/c123456789"
}Rename label
Give one of your labels a new name. The contacts under it stay under it.
Inputs
- Label
labeltextRequired - The label to rename.
- New name
nametextRequired - The label's new name. No two labels can share a name.
Outputs
labeltext- The label's ID
nametext- The label's new name
Example output
{
"label": "contactGroups/1a2b3c4d5e",
"name": "Past customers"
}Update contact
Update an existing contact in Google Contacts.
Inputs
- Contact ID
resource_nametextRequired - The ID of the contact to update, for example people/c123456789
- First name
given_nametext - New first name of the contact
- Last name
family_nametext - New last name of the contact
- Email
emailtext - New email address of the contact
- Phone
phonetext - New phone number of the contact
Outputs
Response envelope; the payload is in the "resource_name" field.
resource_nametext- Resource name of the updated contact
Example output
{
"resource_name": "people/c123456789"
}Update contact's company and notes
Set a contact's company, job title, notes or address. Notes and address replace the ones the contact had. Fields left blank stay as they are.
Inputs
- Contact ID
resource_nametextRequired - The ID of the contact, for example people/c123456789, as Find contacts, Create contact or a trigger gives it.
- Company
companytext - Where the person works.
- Job title
job_titletext - The person's job title.
- Notes
notestext - Notes about the person, replacing any they had.
- Address
addresstext - The person's address, written out in full, replacing any they had.
Outputs
addresstext- Address
companytext- Company
job_titletext- Job title
notestext- Notes
resource_nametext- The contact's ID
Example output
{
"address": "1 Main St, Springfield",
"company": "Acme Ltd",
"job_title": "Office manager",
"notes": "Met at the spring fair.",
"resource_name": "people/c123456789"
}