Skip to content

Google Contacts

Google Contacts is a cloud-based address book service provided by Google, allowing users to store, manage, and synchronize their contact information across multiple devices and platforms.

Categories: crm

Type: googleContacts/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Actions

Create Contact

Name: createContact

Creates a new contact.

Properties

NameLabelTypeDescriptionRequired
givenNameFirst NameSTRINGThe first name of the contact.true
middleNameMiddle NameSTRINGThe middle name of the contact.false
familyNameLast NameSTRINGThe last name of the contact.true
titleJob TitleSTRINGThe job title of the contact.false
nameCompanySTRINGThe company of the contact.false
emailEmailSTRINGThe email addresses of the contact.false
phoneNumberPhone NumberSTRINGThe phone numbers of the contact.false

Example JSON Structure

{
"label" : "Create Contact",
"name" : "createContact",
"parameters" : {
"givenName" : "",
"middleName" : "",
"familyName" : "",
"title" : "",
"name" : "",
"email" : "",
"phoneNumber" : ""
},
"type" : "googleContacts/v1/createContact"
}

Output

Type: OBJECT

Properties

NameTypeDescription
namesARRAY
Items [{STRING(familyName), STRING(givenName), STRING(middleName)}]
The person’s names.
organizationsARRAY
Items [{STRING(name), STRING(title)}]
The person’s past or current organizations.
emailAddressesARRAY
Items [{STRING(value)}]
The person’s email addresses.
phoneNumbersARRAY
Items [{STRING(value)}]
The person’s phone numbers.

Output Example

{
"names" : [ {
"familyName" : "",
"givenName" : "",
"middleName" : ""
} ],
"organizations" : [ {
"name" : "",
"title" : ""
} ],
"emailAddresses" : [ {
"value" : ""
} ],
"phoneNumbers" : [ {
"value" : ""
} ]
}

Create Group

Name: createGroup

Creates a new group.

Properties

NameLabelTypeDescriptionRequired
nameGroup NameSTRINGThe name of the group.true

Example JSON Structure

{
"label" : "Create Group",
"name" : "createGroup",
"parameters" : {
"name" : ""
},
"type" : "googleContacts/v1/createGroup"
}

Output

Type: OBJECT

Properties

NameTypeDescription
nameSTRINGThe contact group name set by the group owner or a system provided name for system groups.

Output Example

{
"name" : ""
}

Update Contact

Name: updateContact

Modifies an existing contact.

Properties

NameLabelTypeDescriptionRequired
resourceNameResource NameSTRINGResource name of the contact to be updated.true
givenNameFirst NameSTRINGNew first name of the contact.true
middleNameMiddle NameSTRINGNew middle name of the contact.false
familyNameLast NameSTRINGUpdated last name of the contact.true
titleJob TitleSTRINGUpdated job title of the contact.false
nameCompanySTRINGUpdated name of the company where the contact is employed.false
emailEmail AddressSTRINGUpdated email address of the contact.false
phoneNumberPhone NumberSTRINGUpdated phone number of the contact.false

Example JSON Structure

{
"label" : "Update Contact",
"name" : "updateContact",
"parameters" : {
"resourceName" : "",
"givenName" : "",
"middleName" : "",
"familyName" : "",
"title" : "",
"name" : "",
"email" : "",
"phoneNumber" : ""
},
"type" : "googleContacts/v1/updateContact"
}

Output

Type: OBJECT

Properties

NameTypeDescription
namesARRAY
Items [{STRING(familyName), STRING(givenName), STRING(middleName)}]
The person’s names.
organizationsARRAY
Items [{STRING(name), STRING(title)}]
The person’s past or current organizations.
emailAddressesARRAY
Items [{STRING(value)}]
The person’s email addresses.
phoneNumbersARRAY
Items [{STRING(value)}]
The person’s phone numbers.

Output Example

{
"names" : [ {
"familyName" : "",
"givenName" : "",
"middleName" : ""
} ],
"organizations" : [ {
"name" : "",
"title" : ""
} ],
"emailAddresses" : [ {
"value" : ""
} ],
"phoneNumbers" : [ {
"value" : ""
} ]
}

Search Contacts

Name: searchContacts

Searches the contacts in Google Contacts account.

Properties

NameLabelTypeDescriptionRequired
queryQuerySTRINGThe plain-text query for the request.The query is used to match prefix phrases of the fields on a person. For example, a person with name “foo name” matches queries such as “f”, “fo”, “foo”, “foo n”, “nam”, etc., but not “oo n”.true
readMaskRead MaskARRAY
Items [STRING]
A field mask to restrict which fields on each person are returned..true
pageSizePage SizeINTEGERThe number of results to return per page.true

Example JSON Structure

{
"label" : "Search Contacts",
"name" : "searchContacts",
"parameters" : {
"query" : "",
"readMask" : [ "" ],
"pageSize" : 1
},
"type" : "googleContacts/v1/searchContacts"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
namesARRAY
Items [{STRING(familyName), STRING(givenName), STRING(middleName)}]
The person’s names.
organizationsARRAY
Items [{STRING(name), STRING(title)}]
The person’s past or current organizations.
emailAddressesARRAY
Items [{STRING(value)}]
The person’s email addresses.
phoneNumbersARRAY
Items [{STRING(value)}]
The person’s phone numbers.

Output Example

[ {
"names" : [ {
"familyName" : "",
"givenName" : "",
"middleName" : ""
} ],
"organizations" : [ {
"name" : "",
"title" : ""
} ],
"emailAddresses" : [ {
"value" : ""
} ],
"phoneNumbers" : [ {
"value" : ""
} ]
} ]

Additional instructions


anl-c-google-contact-md

CONNECTION

Setting up OAuth2

Turning on Contacts API