NAiOS IconNAiOS Logo
Volver al catálogo

Googlecontacts

googlecontacts

Access and manage Google Contacts data via the Google People API

Acciones
24
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (24)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Batch create contactsGOOGLECONTACTS_BATCH_CREATE_CONTACTSAcción

Create a batch of new contacts in Google Contacts. This action creates up to 200 contacts in a single API call and returns the PersonResponses for the newly created contacts. Use this action when you need to create multiple contacts at once to reduce API calls and improve performance. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures. Note: The contacts array accepts Person objects with any valid People API fields (names, emailAddresses, phoneNumbers, addresses, organizations, etc.). Each contact must be wrapped in a 'contactPerson' object.

Parámetros de entrada

  • sourcesstring[]

    List of source types to include in the response. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not specified.

  • contactsobject[]Obligatorio

    List of contacts to create. Each contact must have a 'contactPerson' field with the Person data. Supports up to 200 contacts per request.

  • readMaskstringObligatorio

    Comma-separated list of contact fields to return (e.g., 'names,emailAddresses,phoneNumbers'). If empty, post-mutate-get is skipped and no person data is returned.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch get contact groupsGOOGLECONTACTS_BATCH_GET_CONTACT_GROUPSAcción

Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names. Use when you need to retrieve details for specific contact groups, such as getting group metadata, member counts, or group names for multiple groups in a single API call.

Parámetros de entrada

  • max_membersinteger

    Specifies the maximum number of members to return for each group. If not set, all members are returned.

  • group_fieldsstring

    A field mask to restrict which fields are returned in the contact group. Valid values: clientData, groupType, memberCount, metadata, name. Comma-separated for multiple fields.

  • resource_namesstring[]Obligatorio

    The resource names of the contact groups to get. You can specify up to 200 contact groups. Format: contactGroups/{contactGroupId}. Use 'contactGroups/myContacts' for the authenticated user's My Contacts group.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Update Google ContactsGOOGLECONTACTS_BATCH_UPDATE_CONTACTSAcción

Update a batch of contacts in Google Contacts and return the updated contact data. Use this action when you need to modify multiple contacts at once, such as: - Updating names, phone numbers, or email addresses for several contacts - Making bulk changes to contact information - Syncing contact data from another source This action allows updating up to 200 contacts per request. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • sourcesstring[]

    Optional. Mask of source types to include in the response. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not specified. Valid values: READ_SOURCE_TYPE_CONTACT, READ_SOURCE_TYPE_PROFILE, READ_SOURCE_TYPE_DOMAIN_CONTACT, READ_SOURCE_TYPE_DOMAIN_PROFILE

  • contactsobjectObligatorio

    A map of resource names to PersonData to update. Keys are resource names (e.g., "people/123", "contacts/456") and values are PersonData objects with the fields to update. Common fields include: names (list of Name objects with givenName, familyName, displayName), phoneNumbers, emailAddresses, addresses, organizations, etc. Must include an 'etag' field if updating an existing contact to prevent conflicts.

  • readMaskstringObligatorio

    A comma-separated list of fields to return in the response. If empty, the response will not include person data. Example: "names,phoneNumbers,emailAddresses"

  • updateMaskstringObligatorio

    A comma-separated list of field paths to update. Common values: names, phoneNumbers, emailAddresses, addresses, organizations, biographies, birthdays, occupations. Example: "names,phoneNumbers,emailAddresses"

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Copy Other Contact to My ContactsGOOGLECONTACTS_COPY_OTHER_CONTACT_TO_MY_CONTACTSAcción

Copies an Other contact to a new contact in the user's myContacts group. Use this action when you need to save an existing "Other contact" (from Google's contact suggestions) to your permanent contacts in the myContacts group. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • sourcesstring[]

    Mask of source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.

  • copy_maskstring[]Obligatorio

    Field mask to restrict which fields are copied from the source contact. Valid values: emailAddresses, names, phoneNumbers

  • read_maskstring

    Field mask to restrict which fields are returned in the copied contact. Defaults to copyMask with metadata and membership fields if not set. Multiple fields are separated by commas.

  • other_contacts_idstringObligatorio

    The resource name of the Other contact to copy. Format: otherContacts/{otherContactId}

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ContactGOOGLECONTACTS_CREATE_CONTACTAcción

Create a new contact in Google Contacts and return the person resource for that contact. Use when you need to add a new person to the authenticated user's Google Contacts. The request returns a 400 error if more than one field is specified on a field that is a singleton for contact sources: biographies, birthdays, genders, or names. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures. This action creates a single contact; for bulk creation of multiple contacts, use GOOGLECONTACTS_BATCH_CREATE_CONTACTS instead. Note: Only the primary entry for singleton fields (biographies, birthdays, genders, names) will be saved for contact sources.

Parámetros de entrada

  • urlsobject[]

    List of URLs for the contact.

  • namesobject[]

    List of names for the contact. For contact sources, only the primary name is allowed.

  • eventsobject[]

    List of events for the contact.

  • skillsobject[]

    List of skills for the contact.

  • gendersobject[]

    List of genders for the contact. For contact sources, only the primary gender is allowed.

  • localesobject[]

    List of locales for the contact.

  • sourcesstring[]

    A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT if not specified.

  • fileAsesobject[]

    List of file-as entries for the contact.

  • addressesobject[]

    List of addresses for the contact.

  • birthdaysobject[]

    List of birthdays for the contact. For contact sources, only the primary birthday is allowed.

  • imClientsobject[]

    List of IM clients for the contact.

  • interestsobject[]

    List of interests for the contact.

  • locationsobject[]

    List of locations for the contact.

  • nicknamesobject[]

    List of nicknames for the contact.

  • relationsobject[]

    List of relations for the contact.

  • clientDataobject[]

    List of client data entries for the contact.

  • biographiesobject[]

    List of biographies for the contact. For contact sources, only the primary biography is allowed.

  • externalIdsobject[]

    List of external IDs for the contact.

  • membershipsobject[]

    List of memberships for the contact.

  • occupationsobject[]

    List of occupations for the contact.

  • userDefinedobject[]

    List of user-defined fields for the contact.

  • calendarUrlsobject[]

    List of calendar URLs for the contact.

  • miscKeywordsobject[]

    List of misc keywords for the contact.

  • personFieldsstringObligatorio

    Required. A field mask to restrict which fields are returned on the created contact. Comma-separated list of supported fields: names, emailAddresses, phoneNumbers, addresses, organizations, birthdays, biographies, genders, nicknames, occupations, relations, events, imClients, urls, sipAddresses, skills, interests, locales, locations, calendarsUrls, externalIds, fileAses, clientData, userDefined, memberships, miscKeywords, metadata, photos, coverPhotos, ageRanges, residences. At minimum, 'names' should be included to identify the contact.

  • phoneNumbersobject[]

    List of phone numbers for the contact.

  • sipAddressesobject[]

    List of SIP addresses for the contact.

  • organizationsobject[]

    List of organizations for the contact.

  • emailAddressesobject[]

    List of email addresses for the contact.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Contact GroupGOOGLECONTACTS_CREATE_CONTACT_GROUPAcción

Create a new contact group owned by the authenticated user. The group name must be unique among the user's contact groups. Use this action when you need to create a new contact group to organize the user's Google Contacts. Attempting to create a group with a duplicate name will return an HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • contact_groupobjectObligatorio

    The contact group to create. Must contain at least a 'name' field with the group name.

  • read_group_fieldsstring

    Optional. A field mask to restrict which fields on the created contact group are returned. Defaults to 'metadata', 'groupType', and 'name' if not set or empty. Valid fields: 'clientData', 'groupType', 'metadata', 'name'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Google ContactGOOGLECONTACTS_DELETE_CONTACTAcción

Delete a contact person from Google Contacts. Any non-contact data will not be deleted. Use this action when you need to permanently remove a contact from the user's Google Contacts list. This action is irreversible — the contact cannot be recovered once deleted. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • resource_namestringObligatorio

    The resource name of the contact to delete. Format: people/{personId} or contacts/{contactId}

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete contact groupGOOGLECONTACTS_DELETE_CONTACT_GROUPAcción

Deletes an existing contact group owned by the authenticated user by specifying the contact group resource name. This action is irreversible — once deleted, the contact group cannot be recovered. Use this action when you need to remove a contact group that is no longer needed. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • delete_contactsboolean

    Optional. If set to true, also deletes all contacts in the specified contact group. Defaults to false, which only deletes the contact group itself.

  • contact_group_idstringObligatorio

    The resource name of the contact group to delete. This is typically in the format 'contactGroups/{id}', for example 'contactGroups/79d41ce0f0139ea'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Contact PhotoGOOGLECONTACTS_DELETE_CONTACT_PHOTOAcción

Delete a contact's photo from Google Contacts. Use when you need to remove a profile picture from a specific contact. This action is irreversible — once the photo is deleted, it cannot be recovered. Mutate requests for the same user should be sent sequentially to avoid lock contention and failures.

Parámetros de entrada

  • sourcesstring[]

    A mask of what source types to return on the person. Common values include 'READ_SOURCE_TYPE_CONTACT' and 'READ_SOURCE_TYPE_PROFILE'.

  • person_fieldsstring

    A field mask to restrict which fields are returned on the person after the photo is deleted. If not specified, the person data is not returned.

  • resource_namestringObligatorio

    The resource name of the contact whose photo will be deleted. Format: people/{personId}

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Delete Google ContactsGOOGLECONTACTS_DELETE_CONTACTS_BATCHAcción

Delete a batch of contacts from Google Contacts. Any non-contact data will not be deleted. Use this action when you need to permanently remove multiple contacts from the user's Google Contacts list at once. This action is irreversible — the contacts cannot be recovered once deleted. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • resourceNamesstring[]Obligatorio

    The resource names of the contacts to delete. Each resource name must be in the format 'people/{personId}' or 'contactEntities/{contactId}'. Maximum 500 contacts can be deleted in a single request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch get peopleGOOGLECONTACTS_GET_BATCH_PEOPLEAcción

Batch retrieves information about multiple people from Google Contacts. Use this action when you need to fetch contact information for several people in a single API call rather than making individual requests per person. This improves efficiency when you need data from multiple contacts at once. Note: The personFields parameter is required and determines which contact information fields are returned in the response. If a person cannot be found, the corresponding response will contain a status but no person data.

Parámetros de entrada

  • sourcesstring[]

    A mask specifying which source types to return. If not specified, all sources are returned.

  • personFieldsstringObligatorio

    A field mask specifying which fields to return (comma-separated). Valid values include: addresses, ageRanges, biographies, birthdays, calendarUrls, clientData, coverPhotos, emailAddresses, events, externalIds, fileAses, genders, imClients, interests, locales, locations, memberships, metadata, miscKeywords, names, nicknames, occupations, organizations, phoneNumbers, photos, relations, sipAddresses, skills, snippets, urls, userDomains.

  • resourceNamesstring[]Obligatorio

    List of resource names of people to retrieve. Use 'people/me' for the authenticated user. Maximum 200 per request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contact GroupGOOGLECONTACTS_GET_CONTACT_GROUPAcción

Retrieves a specific contact group owned by the authenticated user by specifying the contact group resource name. Use when you need to get details about a specific contact group, including its name, member count, and metadata. This is a read-only operation that fetches an existing contact group when you already know its resource name.

Parámetros de entrada

  • max_membersinteger

    The maximum number of members to return. If the number of members in the contact group exceeds this limit, only the first 'maxMembers' members are returned. If not specified, a default limit is applied.

  • group_fieldsstring

    A field mask to restrict which fields are returned in the contact group response. Multiple fields can be specified as a comma-separated list. For example: 'metadata,groupType,memberCount,name'. If not specified, returns 'metadata', 'groupType', 'memberCount', and 'name' by default.

  • contact_group_idstringObligatorio

    The resource name of the contact group to get. This is typically in the format 'contactGroups/{id}', for example 'contactGroups/myContacts' or 'contactGroups/79d41ce0f0139ea'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PersonGOOGLECONTACTS_GET_PERSONAcción

Provides information about a person by specifying a resource name. Use when you need to retrieve detailed information about a specific person, including their names, email addresses, phone numbers, organizations, and other profile data. Use 'people/me' as the resource name to get the authenticated user's profile. The request will return a 400 error if 'personFields' is not specified.

Parámetros de entrada

  • sourcesstring[]

    List of source types to include in the response.

  • personFieldsstringObligatorio

    Required. A field mask to restrict which fields are returned. Comma-separated list of supported fields: names, emailAddresses, phoneNumbers, addresses, organizations, birthdays, biographies, ages, events, genders, imClients, interests, locales, miscKeywords, nicknames, occupations, relations, residences, sipAddresses, skills, urls, userDefined, photos, coverPhotos, memberships, clientData, externalIds, fileAses, calendarUrls.

  • resourceNamestringObligatorio

    The resource name of the person to get. Use 'people/me' to get the authenticated user. Use 'people/{account_id}' for a Google account, or the contact resource name for contacts.

  • requestMask.includeFieldstring

    Comma-separated list of additional person fields to include in the response.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ConnectionsGOOGLECONTACTS_LIST_CONNECTIONSAcción

Lists the connections (contacts) for the authenticated user. Use when you need to retrieve a paginated list of all contacts with optional sorting, filtering, and incremental sync support. Sync tokens expire 7 days after a full sync — requests with expired tokens return a 410 error. When using page_token or sync_token, all other parameters must match the original request. Deleted contacts appear as Person objects with PersonMetadata.deleted set to true. Incremental syncs are not intended for read-after-write use cases.

Parámetros de entrada

  • page_sizeinteger

    The number of connections to include in the response. Maximum 1000.

  • person_idstring

    Resource name of the person whose connections to list. Use 'me' for the authenticated user. Only 'people/me' is valid.

  • page_tokenstring

    A page token received from a previous list call. When specified, all other request parameters must match the first call.

  • sort_orderstringenum

    Sort order for contacts.

    LAST_MODIFIED_ASCENDINGLAST_MODIFIED_DESCENDINGFIRST_NAME_ASCENDINGLAST_NAME_ASCENDING
  • sync_tokenstring

    A sync token returned by a previous list call. When specified, all other request parameters must match the first call. Expires 7 days after full sync. If expired, returns a 410 error.

  • person_fieldsstring

    A field mask to restrict which fields are returned. Comma-separated list of fields (e.g., 'names,emailAddresses,phoneNumbers').

  • request_sync_tokenboolean

    Whether the response should return nextSyncToken for incremental sync.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Contact GroupsGOOGLECONTACTS_LIST_CONTACT_GROUPSAcción

List all contact groups owned by the authenticated user. Use when you need to retrieve all contact groups (e.g., "My Contacts", "Starred", custom groups) for organizing or managing contacts. Members of the contact groups are not populated in this response.

Parámetros de entrada

  • page_sizeinteger

    The maximum number of resources to return. Valid values are 1 to 1000. Default is 30.

  • page_tokenstring

    The nextPageToken value returned from a previous list call, to request the next page of results.

  • sync_tokenstring

    A sync token returned by a previous list call. When provided, only changes since that sync are returned.

  • group_fieldsstring

    A field mask to restrict which fields are returned. Valid values: clientData, groupType, memberCount, metadata, name. Defaults to metadata,groupType,memberCount,name if not specified.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Directory PeopleGOOGLECONTACTS_LIST_DIRECTORY_PEOPLEAcción

Lists domain profiles and domain contacts in the authenticated user's domain directory. Use when you need to retrieve directory information for all users in a Google Workspace domain, including their contact details like names, emails, and phone numbers. Supports pagination via pageToken and incremental sync via syncToken. When syncToken is used, deleted resources are returned with PersonMetadata.deleted set to true. Note: Write propagation delays of several minutes may apply for sync requests — this is not suitable for read-after-write use cases. All request parameters must remain consistent when using pagination or sync tokens.

Parámetros de entrada

  • sourcesstring[]Obligatorio

    Directory sources to return. Use 'DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT' for domain contacts and 'DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE' for domain profiles.

  • pageSizeinteger

    The number of people to include in the response. Maximum 1000. Default is 100.

  • readMaskstringObligatorio

    A field mask to restrict which fields are returned. Comma-separated list of field names (e.g., 'names,emailAddresses,phoneNumbers').

  • pageTokenstring

    A page token received from a previous list call. Use to retrieve subsequent pages of results.

  • syncTokenstring

    A sync token returned by a previous list call. When specified, only resources changed since that token are returned.

  • mergeSourcesstring[]

    Additional directory sources to merge into the results. Same source type values as sources.

  • requestSyncTokenboolean

    Whether the response should return a nextSyncToken for incremental sync.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Other ContactsGOOGLECONTACTS_LIST_OTHER_CONTACTSAcción

Lists "Other contacts" from Google People API. Other contacts are contacts that are not in a contact group, typically auto-created from interactions like emails sent or received. Use this action when you need to retrieve contacts that exist outside of organized contact groups, such as auto-generated contacts from email communications. Sync tokens expire 7 days after a full sync. If you receive an EXPIRED_SYNC_TOKEN error, make a new request without a sync_token. The first page of a full sync has a fixed quota that cannot be increased. When using pageToken or syncToken, all other request parameters must match the original call.

Parámetros de entrada

  • sourcesstring[]

    A mask of what source types to return. If not specified, defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE.

  • page_sizeinteger

    The number of other contacts to include in the response. Minimum 1, maximum 1000. Default is 25.

  • read_maskstringObligatorio

    A field mask to restrict which fields are returned. Comma-separated list of field names (e.g., 'names,emailAddresses,phoneNumbers'). Valid fields: names, emailAddresses, phoneNumbers, photos, metadata.

  • page_tokenstring

    A page token received from a previous list call. Use this to get the next page of results.

  • sync_tokenstring

    A sync token to retrieve contacts changed since the last sync. When specified, only contacts modified after this token will be returned.

  • request_sync_tokenboolean

    Whether the response should include nextSyncToken. Set to true to enable incremental sync.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Modify Contact Group MembersGOOGLECONTACTS_MODIFY_CONTACT_GROUP_MEMBERSAcción

Modifies the members of a contact group by adding or removing contact resource names. Only system contact groups 'contactGroups/myContacts' and 'contactGroups/starred' can have members added. Other system contact groups are deprecated and can only have contacts removed. Use when you need to add contacts to or remove contacts from a contact group. Note: Combined total of contacts to add and remove cannot exceed 1000 per request.

Parámetros de entrada

  • contact_group_idstringObligatorio

    The resource name of the contact group to modify. Format: contactGroups/{contact_group_id}. Use 'myContacts' for the authenticated user's main contact group or 'starred' for starred contacts.

  • resource_names_to_addstring[]

    Resource names of contacts to add to the group in format 'people/{person_id}'. Only 'contactGroups/myContacts' and 'contactGroups/starred' accept new members. Other system groups are deprecated.

  • resource_names_to_removestring[]

    Resource names of contacts to remove from the group in format 'people/{person_id}'. Can be used with any contact group.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search ContactsGOOGLECONTACTS_SEARCH_CONTACTSAcción

Searches the authenticated user's contacts for matches against the provided query. The query matches against names, nicknames, email addresses, phone numbers, and organizations. Use this action when you need to find specific contacts in the user's Google Contacts by name, email, phone, or organization. Clients should send a warmup request with an empty query before searching to update the cache. Results are limited to contacts from the CONTACT source.

Parámetros de entrada

  • querystringObligatorio

    The plain-text query for the request. The query matches against a contact's names, nickNames, emailAddresses, phoneNumbers, and organizations fields. To search without a query (for cache warming), provide an empty string.

  • sourcesstring[]

    Optional list of source types to return. If not specified or empty, all sources are returned. Supported values: CONTACT (user's saved contacts), PROFILE (user's profile data).

  • page_sizeinteger

    The number of results to return. Valid range is 0-100. If set to 0 or not specified, defaults to 10 results. Values greater than 30 are capped to 30 by the API.

  • read_maskstring

    A field mask to restrict which fields are returned for each contact. Provide a comma-separated list of field names (e.g., 'names,emailAddresses,phoneNumbers'). Invalid fields are silently ignored. Common fields: names, emailAddresses, phoneNumbers, organizations, addresses, birthdays.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Domain Directory PeopleGOOGLECONTACTS_SEARCH_DIRECTORY_PEOPLEAcción

Search domain directory people in Google Contacts. Provides a list of domain profiles and domain contacts in the authenticated user's domain directory that match the search query. Use this action when you need to find people within your organization's Google Workspace domain by searching their names or email addresses. This action requires the https://www.googleapis.com/auth/directory.readonly OAuth scope.

Parámetros de entrada

  • querystringObligatorio

    Prefix query that matches fields in the person (e.g., name, email). Does not use readMask for determining match fields.

  • sourcesstring[]Obligatorio

    Directory sources to return. Use DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT for domain contacts and DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE for domain profiles.

  • page_sizeinteger

    The number of people to include in the response. Valid values: 1-500. Defaults to 25.

  • read_maskstringObligatorio

    A field mask to restrict which fields are returned. Multiple fields should be comma-separated (e.g., 'names,emailAddresses,phoneNumbers'). Valid values: addresses, ageRanges, biographies, birthdays, calendarUrls, clientData, coverPhotos, emailAddresses, events, externalIds, genders, imClients, interests, locales, locations, memberships, metadata, miscKeywords, names, nicknames, occupations, organizations, phoneNumbers, photos, relations, sipAddresses, skills, urls, userDefined.

  • page_tokenstring

    A page token received from a previous search call. Must match the first call's parameters.

  • merge_sourcesstring[]

    Additional data to merge into directory sources if connected through verified join keys (email addresses or phone numbers).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Other ContactsGOOGLECONTACTS_SEARCH_OTHER_CONTACTSAcción

Searches other contacts from Google People API that match a query string. Other contacts are contacts not in any contact group, typically auto-created from interactions like emails sent or received. This action searches across names, email addresses, and phone numbers using prefix matching. Use this action when you need to find a specific contact among the authenticated user's other contacts by searching for a name, email, or phone number. Note: The Google People API recommends sending a warmup request with an empty query before the first search to update the cache, ensuring fresh results.

Parámetros de entrada

  • querystringObligatorio

    The plain-text query to search for in other contacts. Matches prefix phrases across names, email addresses, and phone numbers. For example, 'j' matches 'John Doe' and 'Jane Smith'.

  • page_sizeinteger

    The number of results to return. Minimum 1, maximum 30. Default is 25. Values above 30 are capped to 30 by the API.

  • read_maskstringObligatorio

    A field mask to restrict which fields are returned. Comma-separated list of field names (e.g., 'names,emailAddresses,phoneNumbers'). Valid fields: names, emailAddresses, phoneNumbers, photos, metadata.

  • page_tokenstring

    A page token received from a previous search call. Use this to retrieve the next page of results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Google ContactGOOGLECONTACTS_UPDATE_CONTACTAcción

Update contact data for an existing contact person. Any non-contact data will not be modified. Use this action when you need to update information (such as name, email, phone) for an existing contact in Google Contacts. Important notes: - All fields specified in `update_person_fields` will be replaced. Fields not specified in the update mask will remain unchanged. - The `etag` field in the request body is required for optimistic concurrency control. - The server returns a 400 error if the contact has been modified since it was read (etag mismatch). - The server returns a 400 error if more than one value is specified for singleton fields (names, birthdays, genders, biographies). - Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • personobjectObligatorio

    The Person object with updated contact data. Must include 'etag' for optimistic concurrency control. Only fields specified in updatePersonFields will be updated.

  • sourcesstring[]

    A mask of what source types to return. By default, all sources are returned. Options: CONTACT, PROFILE, DOMAIN_CONTACT, OTHER_CONTACT

  • personFieldsstring

    A field mask to restrict which fields are returned on the updated contact. Use comma-separated field names (e.g., 'names,emailAddresses'). If not specified, all fields are returned.

  • resourceNamestringObligatorio

    The resource name of the contact to update. Format: people/{personId} or contacts/{contactId}

  • updatePersonFieldsstringObligatorio

    A field mask to restrict which fields to update. Use comma-separated field names (e.g., 'names,emailAddresses,phoneNumbers'). Required - you must specify at least one field. See the API documentation for available field names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Contact GroupGOOGLECONTACTS_UPDATE_CONTACT_GROUPAcción

Update the name of an existing contact group owned by the authenticated user. Use this action when you need to rename a contact group or update its metadata. Attempting to create a group with a duplicate name will return an HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

Parámetros de entrada

  • contactGroupobjectObligatorio

    The contact group to update. Must include resourceName, etag, and name.

  • readGroupFieldsstring

    Optional field mask specifying which fields to return in the response. Valid values: 'clientData', 'groupType', 'memberCount', 'metadata', 'name'.

  • updateGroupFieldsstring

    Optional field mask specifying which fields to update. Valid values: 'clientData', 'name'. If not specified, all fields are updated.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Contact PhotoGOOGLECONTACTS_UPDATE_CONTACT_PHOTOAcción

Update a contact's photo. Use when you need to change or set the profile picture for an existing Google Contact. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures. The photo should be provided as base64-encoded bytes (JPEG, PNG, or WebP format).

Parámetros de entrada

  • photo_bytesstringObligatorio

    Base64-encoded photo bytes. The photo should be JPEG, PNG, or WebP format.

  • person_fieldsstring

    A field mask to restrict which fields to return in the response. Example: 'names,emailAddresses,photos'

  • resource_namestringObligatorio

    The resource name of the contact whose photo to update. Format: people/{personId}

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not