> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/communication/google-contacts.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Google Contacts

Google Contacts stores a user's contacts. Create, update and delete contacts and contact groups, and copy other contacts into My Contacts.

![Google Contacts logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-93611efc0f6b807a6f2b751249b62cf439fa62be%2Fgoogle-forms.png?alt=media)

|                    |                                                                                        |
| ------------------ | -------------------------------------------------------------------------------------- |
| **Category**       | [Communication](https://docs.fastn.ai/connectors/catalog/communication.md)             |
| **Website**        | [people.googleapis.com](https://people.googleapis.com)                                 |
| **Authentication** | OAuth 2.0                                                                              |
| **Slug**           | `googleContacts`                                                                       |
| **On fastn.ai**    | [Embed Google Contacts in your product](https://fastn.ai/integrations/google-contacts) |

## Setup

Your customers sign in to Google Contacts through Fastn's own OAuth app, so nothing needs setting up first. To show your own app on the consent screen instead, add your OAuth app on the connector's **Auth** tab under **Manage providers**.

## Connect in Fastn

Your customers connect Google Contacts from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Google Contacts**.
2. Select **Connect** on the Google Contacts card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Keep the **Default** auth provider, or choose your own OAuth app if you added one. Pick the **Scopes** you need, select **Authorize**, then sign in to Google Contacts and approve access in the window that opens.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-0e2bbdd7109cec207402cf6883484b8525b7fbf5%2Fconnect-oauth.png?alt=media" alt="The Connect Salesforce dialog for OAuth 2.0 with the Default auth provider, an optional account name, the Scopes selector and an Authorize button"><figcaption><p>A connect form for OAuth 2.0. Salesforce is shown here.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Google Contacts's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Batch Create Contacts</td><td><code>batchCreateContacts</code></td><td>Creates up to 200 contacts in a single request and returns a person response for each one. Mutating requests for the same user should be sent sequentially to avoid contention.</td></tr><tr><td>Batch Delete Contacts</td><td><code>batchDeleteContacts</code></td><td>Deletes up to 500 contacts in a single request. Profile data that is not contact data is not deleted. Returns an empty body on success.</td></tr><tr><td>Batch Get Contact Groups</td><td><code>batchGetContactGroups</code></td><td>Retrieves one contact group by resource name and returns it inside a per-group response with its own status. Pass one resource name per call; to read several groups, call this action once per group.</td></tr><tr><td>Batch Get People</td><td><code>batchGetPeople</code></td><td>Retrieves one person by resource name and returns it inside a per-person response with its own status. A field mask (Person Fields) is required. Pass one resource name per call; to read several people, call this action once per person.</td></tr><tr><td>Batch Update Contacts</td><td><code>batchUpdateContacts</code></td><td>Updates up to 200 existing contacts in a single request and returns a person response for each one. The contacts are supplied as a map keyed by resource name, and each person must carry its current etag.</td></tr><tr><td>Copy Other Contact To My Contacts</td><td><code>copyOtherContactToMyContacts</code></td><td>Promotes an Other Contact into a real contact in the user's myContacts group, copying the field families named in the copy mask.</td></tr><tr><td>Create Contact</td><td><code>createContact</code></td><td>Creates a new contact in the authenticated user's contacts and returns the created person. Each singleton field family such as biographies, birthdays, and genders accepts at most one entry for a contact source.</td></tr><tr><td>Create Contact Group</td><td><code>createContactGroup</code></td><td>Creates a new contact group owned by the authenticated user. Group names must be unique within the user's contact groups, and a duplicate name</td></tr><tr><td>Delete Contact</td><td><code>deleteContact</code></td><td>Deletes a contact from the authenticated user's contacts. Profile data that is not contact data is not deleted.</td></tr><tr><td>Delete Contact Group</td><td><code>deleteContactGroup</code></td><td>Deletes a contact group owned by the authenticated user, and optionally deletes the contacts that belong to it. System contact groups cannot be deleted.</td></tr></tbody></table>

<details>

<summary>View 14 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Delete Contact Photo</td><td><code>deleteContactPhoto</code></td><td>Removes a contact's photo, reverting the contact to the default placeholder image.</td></tr><tr><td>Get Contact Group</td><td><code>getContactGroup</code></td><td>Retrieves a single contact group owned by the authenticated user, optionally including the resource names of its members.</td></tr><tr><td>Get Person</td><td><code>getPerson</code></td><td>Retrieves a single person by id. Use the person id 'me' to fetch the authenticated user's own profile. A field mask is required, and the request fails with 400 if it is omitted.</td></tr><tr><td>List Connections</td><td><code>listConnections</code></td><td>Lists the authenticated user's contacts, with paging and optional incremental sync. A field mask is required. Sync tokens expire 7 days after the full sync.</td></tr><tr><td>List Contact Groups</td><td><code>listContactGroups</code></td><td>Lists all contact groups owned by the authenticated user, including the system groups such as My Contacts and Starred. Group members are not populated by this call.</td></tr><tr><td>List Directory People</td><td><code>listDirectoryPeople</code></td><td>Lists the domain profiles and domain contacts in the authenticated user's Google Workspace directory. Requires a Google Workspace account with directory sharing enabled.</td></tr><tr><td>List Other Contacts</td><td><code>listOtherContacts</code></td><td>Lists the authenticated user's Other Contacts, which are the auto-created contacts from interactions such as email that do not belong to any contact group. Sync tokens expire 7 days after the full sync.</td></tr><tr><td>Modify Contact Group Members</td><td><code>modifyContactGroupMembers</code></td><td>Adds contacts to and removes contacts from a contact group. Among system groups only contactGroups/myContacts and contactGroups/starred accept member changes. At most 1000 contacts may be added and 1000 removed per request.</td></tr><tr><td>Search Contacts</td><td><code>searchContacts</code></td><td>Searches the authenticated user's contacts by prefix match against names, nicknames, email addresses, phone numbers, and organizations. Send an empty query first to warm the search cache, as newly changed contacts can take several seconds to become searchable.</td></tr><tr><td>Search Directory People</td><td><code>searchDirectoryPeople</code></td><td>Searches the domain profiles and domain contacts in the authenticated user's Google Workspace directory. Requires a Google Workspace account with directory sharing enabled.</td></tr><tr><td>Search Other Contacts</td><td><code>searchOtherContacts</code></td><td>Searches the authenticated user's Other Contacts by prefix match against names, email addresses, and phone numbers. Send an empty query first to warm the search cache.</td></tr><tr><td>Update Contact</td><td><code>updateContact</code></td><td>Updates an existing contact in the authenticated user's contacts. Every field family named in the update mask is replaced wholesale, so send the complete desired set of entries for each one. The contact's current etag must be supplied.</td></tr><tr><td>Update Contact Group</td><td><code>updateContactGroup</code></td><td>Renames an existing contact group owned by the authenticated user. The new name must be unique among the user's contact groups, and the group's current etag must be supplied.</td></tr><tr><td>Update Contact Photo</td><td><code>updateContactPhoto</code></td><td>Sets or replaces a contact's photo from raw image bytes. The image must be supplied base64-encoded and be a JPEG, PNG, or similar raster format.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/communication/google-contacts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
