---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Google Analytics 4 + Relate Integrations: Connect with Zapier MCP
> zapier.com/apps/google-analytics-4/integrations/relate
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Google Analytics 4 and Relate in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `google-analytics-4` and `relate`, then `enable_zapier_action`. If Google Analytics 4 or Relate isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Add Contact Entry to List is enabled, call `relate_add_contact_entry_to_list`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "relate", owner: "me" });

const { data } = await zapier.runAction({
  app: "relate",
  actionType: "write",
  action: "add_contact_entry_to_list",
  connection: connection.id,
  inputs: {
    list_id: "", // List ID
    entryable_id: "", // Contact ID
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action relate write add_contact_entry_to_list \
  --inputs '{"list_id":"","entryable_id":""}'
```

## Google Analytics 4

### Identity
Google Analytics 4 is a powerful web analytics platform that provides businesses with deep insights into user behavior and website performance.

- App slug: google-analytics-4
- Operations published here: 6 (1 event, 4 functions, 1 query)

### Authentication
Zapier connects to Google Analytics 4 via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection google-analytics-4
```

### Capabilities

#### Events (1)

Events fire when something happens in Google Analytics 4. Use them to start a run.

##### New Conversion Event
Triggers when a new conversion event is created.

- Type: read · Key: `new_conversion_event`
- Requires: nothing
- MCP tool: `google_analytics_4_new_conversion_event` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "google-analytics-4", actionType: "read", action: "new_conversion_event" })`
- CLI: `npx zapier-sdk run-action google-analytics-4 read new_conversion_event`

#### Functions (4)

Functions change something in Google Analytics 4.

##### Create Conversion Event for a Property
Creates a new Conversion Event for a Property.

- Type: write · Key: `conversionEvent`
- Requires: eventName
- MCP tool: `google_analytics_4_create_conversion_event_for_a_p` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "google-analytics-4", actionType: "write", action: "conversionEvent" })`
- CLI: `npx zapier-sdk run-action google-analytics-4 write conversionEvent`

##### Create Measurement
Creates a new measurement property secret.

- Type: write · Key: `measurement`
- Requires: measurementDisplayName
- MCP tool: `google_analytics_4_create_measurement` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "google-analytics-4", actionType: "write", action: "measurement" })`
- CLI: `npx zapier-sdk run-action google-analytics-4 write measurement`

##### Run Report for a Property
Run Report for a Property.

- Type: write · Key: `runReport`
- Requires: startDate, endDate, dateName
- Optional: dimensionFilter_dimension, dimensionFilter_comparison, dimensionFilter_matchType, dimensionFilter_caseSensitive, dimensionFilter_dimensionFilterValue, metricFilter_metric, metricFilter_comparison, metricFilter_operation, metricFilter_metricFilterValue, offset, limit, currency, keepEmptyRows, returnPropertyQuota
- MCP tool: `google_analytics_4_run_report_for_a_property` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "google-analytics-4", actionType: "write", action: "runReport" })`
- CLI: `npx zapier-sdk run-action google-analytics-4 write runReport`

##### Send Measurement Events for an Application
Send Measurement Events for given application.

- Type: write · Key: `sendEvents`
- Requires: nothing
- MCP tool: `google_analytics_4_send_measurement_events_for_an_` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "google-analytics-4", actionType: "write", action: "sendEvents" })`
- CLI: `npx zapier-sdk run-action google-analytics-4 write sendEvents`

#### Queries (1)

Queries read from Google Analytics 4 and return data. They change nothing.

##### Find Conversion
Finds a conversion based on id.

- Type: search · Key: `find_conversion_by_id`
- Requires: nothing
- MCP tool: `google_analytics_4_find_conversion` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "google-analytics-4", actionType: "search", action: "find_conversion_by_id" })`
- CLI: `npx zapier-sdk run-action google-analytics-4 search find_conversion_by_id`

## Relate

### Identity
Relate is a simple collaborative sales and CRM software.

- App slug: relate
- Operations published here: 39 (14 events, 15 functions, 6 queries, 4 search-or-write actions)

### Authentication
Zapier connects to Relate via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection relate
```

### Capabilities

#### Events (14)

Events fire when something happens in Relate. Use them to start a run.

##### Contact Created
Triggers when a new contact is created. Return contact data with custom fields.

- Type: read · Key: `contact_created`
- Requires: nothing
- MCP tool: `relate_contact_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "contact_created" })`
- CLI: `npx zapier-sdk run-action relate read contact_created`

##### Contact Deleted
Triggers when a contact is deleted. Return contact data with custom fields.

- Type: read · Key: `contact_deleted`
- Requires: nothing
- MCP tool: `relate_contact_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "contact_deleted" })`
- CLI: `npx zapier-sdk run-action relate read contact_deleted`

##### Deal Assignee Updated
Triggers when a deal assignee is updated. Return deal data with custom fields.

- Type: read · Key: `deal_assignee_updated`
- Requires: nothing
- MCP tool: `relate_deal_assignee_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "deal_assignee_updated" })`
- CLI: `npx zapier-sdk run-action relate read deal_assignee_updated`

##### Deal Created
Triggers when a new deal is created. Return deal data with custom fields.

- Type: read · Key: `deal_created`
- Requires: nothing
- MCP tool: `relate_deal_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "deal_created" })`
- CLI: `npx zapier-sdk run-action relate read deal_created`

##### Deal Deleted
Triggers when a deal is deleted. Return deal data with custom fields.

- Type: read · Key: `deal_deleted`
- Requires: nothing
- MCP tool: `relate_deal_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "deal_deleted" })`
- CLI: `npx zapier-sdk run-action relate read deal_deleted`

##### Deal Updated
Triggers when a deal is updated. Return deal data with custom fields.

- Type: read · Key: `deal_updated`
- Requires: nothing
- MCP tool: `relate_deal_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "deal_updated" })`
- CLI: `npx zapier-sdk run-action relate read deal_updated`

##### Entry Created
Triggers when a new Entry is created. Return entry data with fields.

- Type: read · Key: `entry_created`
- Requires: nothing
- MCP tool: `relate_entry_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "entry_created" })`
- CLI: `npx zapier-sdk run-action relate read entry_created`

##### Entry Deleted
Triggers when a entry is deleted. Return contact data with fields.

- Type: read · Key: `entry_deleted`
- Requires: nothing
- MCP tool: `relate_entry_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "entry_deleted" })`
- CLI: `npx zapier-sdk run-action relate read entry_deleted`

##### Entry Updated
Triggers when a contact is updated. Return contact data with fields.

- Type: read · Key: `entry_updated`
- Requires: nothing
- MCP tool: `relate_entry_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "entry_updated" })`
- CLI: `npx zapier-sdk run-action relate read entry_updated`

##### Organization Created
Triggers when a new organization is created. Return organization data with custom fields.

- Type: read · Key: `lead_created`
- Requires: nothing
- MCP tool: `relate_organization_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "lead_created" })`
- CLI: `npx zapier-sdk run-action relate read lead_created`

##### Organization Deleted
Triggers when an organization is deleted. Return organization data with custom fields.

- Type: read · Key: `lead_deleted`
- Requires: nothing
- MCP tool: `relate_organization_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "lead_deleted" })`
- CLI: `npx zapier-sdk run-action relate read lead_deleted`

##### Note Created
Triggers when a new note is created. Return note data with custom fields of related lead.

- Type: read · Key: `note_created`
- Requires: nothing
- MCP tool: `relate_note_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "note_created" })`
- CLI: `npx zapier-sdk run-action relate read note_created`

##### Note Deleted
Triggers when a note is deleted. Return note data with custom fields of related lead.

- Type: read · Key: `note_deleted`
- Requires: nothing
- MCP tool: `relate_note_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "note_deleted" })`
- CLI: `npx zapier-sdk run-action relate read note_deleted`

##### Pipeline Stage Updated
Triggers when a pipeline stage is updated. Return deal data with custom fields.

- Type: read · Key: `pipeline_stage_updated`
- Requires: nothing
- MCP tool: `relate_pipeline_stage_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "read", action: "pipeline_stage_updated" })`
- CLI: `npx zapier-sdk run-action relate read pipeline_stage_updated`

#### Functions (15)

Functions change something in Relate.

##### Add Contact Entry to List
adds an entry for a contact into a selected list

- Type: write · Key: `add_contact_entry_to_list`
- Requires: list_id, entryable_id
- MCP tool: `relate_add_contact_entry_to_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "add_contact_entry_to_list" })`
- CLI: `npx zapier-sdk run-action relate write add_contact_entry_to_list`

##### Add Contact Entry to Process
Adds an entry for a contact into a selected process.

- Type: write · Key: `add_contact_entry_to_process`
- Requires: list_id, entryable_id, status, one_time_value, recurring_value, recurring_value_period
- Optional: assignee_id
- MCP tool: `relate_add_contact_entry_to_process` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "add_contact_entry_to_process" })`
- CLI: `npx zapier-sdk run-action relate write add_contact_entry_to_process`

##### Add Organization Entry to List
Adds an entry for an organization to the selected list

- Type: write · Key: `add_organization_entry_to_list`
- Requires: list_id, entryable_id
- Optional: contact_id
- MCP tool: `relate_add_organization_entry_to_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "add_organization_entry_to_list" })`
- CLI: `npx zapier-sdk run-action relate write add_organization_entry_to_list`

##### Add Organization Entry to Process
Adds an entry for a organization into a selected process

- Type: write · Key: `add_organization_entry_to_process`
- Requires: list_id, entryable_id, status, one_time_value, recurring_value, recurring_value_period
- Optional: contact_id, assignee_id
- MCP tool: `relate_add_organization_entry_to_process` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "add_organization_entry_to_process" })`
- CLI: `npx zapier-sdk run-action relate write add_organization_entry_to_process`

##### Create Contact
Creates a Contact

- Type: write · Key: `create_contact`
- Requires: nothing
- Optional: organization_id, name, title, email, phone
- MCP tool: `relate_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action relate write create_contact`

##### Create Deal
Create a Deal in the workspace

- Type: write · Key: `create_deal`
- Requires: organization_id, value_cents, value_period
- Optional: pipeline_stage_id, pipeline_name, pipeline_stage_name, prospect_status_id, prospect_status_name, contact_id, assignee_id, assignee_email, deal_note
- MCP tool: `relate_create_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "create_deal" })`
- CLI: `npx zapier-sdk run-action relate write create_deal`

##### Create Note
Create a Note into selected Organization.

- Type: write · Key: `create_note`
- Requires: organization_id, body
- Optional: author_id, author_email
- MCP tool: `relate_create_note` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "create_note" })`
- CLI: `npx zapier-sdk run-action relate write create_note`

##### Create Organization
Create an Organization.

- Type: write · Key: `create_organization`
- Requires: organization_name
- Optional: website, description, organization_assignee
- MCP tool: `relate_create_organization` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "create_organization" })`
- CLI: `npx zapier-sdk run-action relate write create_organization`

##### Create Org & Contact & Deal & Note
Create new organization, contact, deal and note

- Type: write · Key: `generate_lead`
- Requires: company, name, email
- Optional: website, description, organization_assignee, title, phone, note, assignee, pipeline_stage, prospect_status, value, deal_note
- MCP tool: `relate_create_org_contact_deal_note` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "generate_lead" })`
- CLI: `npx zapier-sdk run-action relate write generate_lead`

##### Update Contact
Updates a Contact

- Type: write · Key: `update_contact`
- Requires: nothing
- Optional: organization_id, contact_id, name, new_name, new_title, email, new_email, phone, new_phone
- MCP tool: `relate_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action relate write update_contact`

##### Update Contact Entry
Update contact entry

- Type: write · Key: `update_contact_entry`
- Requires: list_id, id, status, one_time_value, recurring_value, recurring_value_period
- Optional: assignee_id
- MCP tool: `relate_update_contact_entry` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "update_contact_entry" })`
- CLI: `npx zapier-sdk run-action relate write update_contact_entry`

##### Update Deal
Updates a Deal in the workspace

- Type: write · Key: `update_deal`
- Requires: deal_id
- Optional: new_contact, new_assignee, new_assignee_email, new_pipeline_stage, new_pipeline_name, new_pipeline_stage_name, new_prospect_status, new_prospect_status_name, new_deal_value, new_value_period, new_deal_note
- MCP tool: `relate_update_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "update_deal" })`
- CLI: `npx zapier-sdk run-action relate write update_deal`

##### Update Note
Update a Note. (a Note should be found)

- Type: write · Key: `update_note`
- Requires: nothing
- Optional: note_id, new_body
- MCP tool: `relate_update_note` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "update_note" })`
- CLI: `npx zapier-sdk run-action relate write update_note`

##### Update Organization
Updates an Organization

- Type: write · Key: `update_organization`
- Requires: organization_name
- Optional: new_organization_name, website, description, organization_assignee
- MCP tool: `relate_update_organization` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "update_organization" })`
- CLI: `npx zapier-sdk run-action relate write update_organization`

##### Update Organization Entry
Update organization entry

- Type: write · Key: `update_organization_entry`
- Requires: list_id, id, status, one_time_value, recurring_value, recurring_value_period
- Optional: assignee_id
- MCP tool: `relate_update_organization_entry` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "write", action: "update_organization_entry" })`
- CLI: `npx zapier-sdk run-action relate write update_organization_entry`

#### Queries (6)

Queries read from Relate and return data. They change nothing.

##### Find Contact
Finds a Contact

- Type: search · Key: `find_contact`
- Requires: nothing
- Optional: name, email, phone, contact_id
- MCP tool: `relate_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action relate search find_contact`

##### Find Deal
Finds the last deal from organization

- Type: search · Key: `find_deal`
- Requires: nothing
- Optional: organization_id, organization_name
- MCP tool: `relate_find_deal` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "search", action: "find_deal" })`
- CLI: `npx zapier-sdk run-action relate search find_deal`

##### Find Entry From Contact Process
find entry from contact process

- Type: search · Key: `find_entry_from_contact_process`
- Requires: list_id, entryable_id
- MCP tool: `relate_find_entry_from_contact_process` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "search", action: "find_entry_from_contact_process" })`
- CLI: `npx zapier-sdk run-action relate search find_entry_from_contact_process`

##### Find Entry From Organization Process
find entry from organization process

- Type: search · Key: `find_entry_from_organization_process`
- Requires: list_id, entryable_id
- MCP tool: `relate_find_entry_from_organization_process` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "search", action: "find_entry_from_organization_process" })`
- CLI: `npx zapier-sdk run-action relate search find_entry_from_organization_process`

##### Find Note
Finds a Note from Relate.

- Type: search · Key: `find_note`
- Requires: nothing
- Optional: organization_id, organization_name, author_email, body
- MCP tool: `relate_find_note` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "search", action: "find_note" })`
- CLI: `npx zapier-sdk run-action relate search find_note`

##### Find Organization
Finds an Organization

- Type: search · Key: `find_organization`
- Requires: nothing
- Optional: organization_name, match_mode, organization_id
- MCP tool: `relate_find_organization` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "relate", actionType: "search", action: "find_organization" })`
- CLI: `npx zapier-sdk run-action relate search find_organization`

#### Search or Write Actions (4)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Contact
Finds a Contact

- Type: search_or_write · Key: `find_contact`
- Requires: nothing
- Optional: name, email, phone, contact_id, organization_id, title
- SDK: `runAction({ app: "relate", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action relate search_or_write find_contact`

##### Find or Create Deal
Finds the last deal from organization

- Type: search_or_write · Key: `find_deal`
- Requires: organization_id, value_cents, value_period
- Optional: organization_name, pipeline_stage_id, pipeline_name, pipeline_stage_name, prospect_status_id, prospect_status_name, contact_id, assignee_id, assignee_email, deal_note
- SDK: `runAction({ app: "relate", actionType: "search_or_write", action: "find_deal" })`
- CLI: `npx zapier-sdk run-action relate search_or_write find_deal`

##### Find or Create Note
Finds a Note from Relate.

- Type: search_or_write · Key: `find_note`
- Requires: organization_id, body
- Optional: organization_name, author_email, author_id
- SDK: `runAction({ app: "relate", actionType: "search_or_write", action: "find_note" })`
- CLI: `npx zapier-sdk run-action relate search_or_write find_note`

##### Find or Create Organization
Finds an Organization

- Type: search_or_write · Key: `find_organization`
- Requires: organization_name
- Optional: match_mode, organization_id, website, description, organization_assignee
- SDK: `runAction({ app: "relate", actionType: "search_or_write", action: "find_organization" })`
- CLI: `npx zapier-sdk run-action relate search_or_write find_organization`

## Frequently asked questions about automating with Google Analytics 4 and Relate

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Google Analytics 4 integrations: zapier.com/apps/google-analytics-4/integrations.md
- Relate integrations: zapier.com/apps/relate/integrations.md
- Full page: zapier.com/apps/google-analytics-4/integrations/relate
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk