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

NameLabelTypeControl TypeDescriptionRequired
clientIdClient IdSTRINGTEXTtrue
clientSecretClient SecretSTRINGTEXTtrue

Actions

Create Contact

Name: createContact

Creates a new contact.

Properties

NameLabelTypeControl TypeDescriptionRequired
givenNameFirst NameSTRINGTEXTThe first name of the contact.true
middleNameMiddle NameSTRINGTEXTThe middle name of the contact.false
familyNameLast NameSTRINGTEXTThe last name of the contact.true
titleJob TitleSTRINGTEXTThe job title of the contact.false
nameCompanySTRINGTEXTThe company of the contact.false
emailEmailSTRINGEMAILThe email addresses of the contact.false
phoneNumberPhone NumberSTRINGPHONEThe phone numbers of the contact.false

Output

Type: OBJECT

Properties

NameTypeControl Type
namesARRAY
Items [{STRING(familyName), STRING(givenName), STRING(middleName)}]
ARRAY_BUILDER
organizationsARRAY
Items [{STRING(name), STRING(title)}]
ARRAY_BUILDER
emailAddressesARRAY
Items [{STRING(value)}]
ARRAY_BUILDER
phoneNumbersARRAY
Items [{STRING(value)}]
ARRAY_BUILDER

JSON Example

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

Create Group

Name: createGroup

Creates a new group.

Properties

NameLabelTypeControl TypeDescriptionRequired
nameGroup NameSTRINGTEXTThe name of the group.true

Output

Type: OBJECT

Properties

NameTypeControl Type
nameSTRINGTEXT

JSON Example

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

Update Contact

Name: updateContact

Modifies an existing contact.

Properties

NameLabelTypeControl TypeDescriptionRequired
resourceNameResource NameSTRINGTEXTResource name of the contact to be updated.true
givenNameFirst NameSTRINGTEXTNew first name of the contact.true
middleNameMiddle NameSTRINGTEXTNew middle name of the contact.false
familyNameLast NameSTRINGTEXTUpdated last name of the contact.true
titleJob TitleSTRINGTEXTUpdated job title of the contact.false
nameCompanySTRINGTEXTUpdated name of the company where the contact is employed.false
emailEmail AddressSTRINGEMAILUpdated email address of the contact.false
phoneNumberPhone NumberSTRINGPHONEUpdated phone number of the contact.false

Output

Type: OBJECT

Properties

NameTypeControl Type
namesARRAY
Items [{STRING(familyName), STRING(givenName), STRING(middleName)}]
ARRAY_BUILDER
organizationsARRAY
Items [{STRING(name), STRING(title)}]
ARRAY_BUILDER
emailAddressesARRAY
Items [{STRING(value)}]
ARRAY_BUILDER
phoneNumbersARRAY
Items [{STRING(value)}]
ARRAY_BUILDER

JSON Example

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

Search Contacts

Name: searchContacts

Searches the contacts in Google Contacts account.

Properties

NameLabelTypeControl TypeDescriptionRequired
queryQuerySTRINGTEXTThe plain-text query.true

Output

Type: ARRAY

Properties

NameTypeControl Type
OBJECT
Properties {[{STRING(familyName), STRING(givenName), STRING(middleName)}](names), [{STRING(name), STRING(title)}](organizations), [{STRING(value)}](emailAddresses), [{STRING(value)}](phoneNumbers)}
OBJECT_BUILDER

JSON Example

{
"label" : "Search Contacts",
"name" : "searchContacts",
"parameters" : {
"query" : ""
},
"type" : "googleContacts/v1/searchContacts"
}

Additional instructions


anl-c-google-contact-md

CONNECTION

Setting up OAuth2

Turning on Contacts API