# Gravity Forms + Marketo Integrations: Connect with Zapier MCP
> zapier.com/apps/gravity-forms/integrations/marketo
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Gravity Forms and Marketo 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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## 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**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **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**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · add_lead_to_list`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "marketo",
  actionType: "write",
  action: "add_lead_to_list",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action marketo write add_lead_to_list \
  --inputs '{}'
```

## Gravity Forms

### Identity
Gravity Forms is a premier WordPress plugin that makes it easy to create powerful forms on the fly.

- App slug: gravity-forms
- Operations published here: 3 (1 event, 2 functions)

### Authentication
Zapier connects to Gravity Forms 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.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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 gravity-forms
```

### Capabilities

#### Events (1)

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

##### Form Submission
Triggers when the specified form is submitted.

- Type: read · Key: `getEntry`
- Requires: form_id
- Optional: admin_labels
- SDK: `runAction({ app: "gravity-forms", actionType: "read", action: "getEntry" })`
- CLI: `npx zapier-sdk run-action gravity-forms read getEntry`

#### Functions (2)

Functions change something in Gravity Forms.

##### Create Entry
Creates a new form entry.

- Type: write · Key: `createEntry`
- Requires: form_id
- SDK: `runAction({ app: "gravity-forms", actionType: "write", action: "createEntry" })`
- CLI: `npx zapier-sdk run-action gravity-forms write createEntry`

##### Submit Form
Creates an entry and fires all events associated with a form submission such as notifications and add-on feeds.

- Type: write · Key: `createFormSubmission`
- Requires: form_id
- SDK: `runAction({ app: "gravity-forms", actionType: "write", action: "createFormSubmission" })`
- CLI: `npx zapier-sdk run-action gravity-forms write createFormSubmission`

## Marketo

### Identity
Marketo's marketing automation software helps marketers engage customers and prospects.

- App slug: marketo
- Operations published here: 15 (5 events, 5 functions, 3 queries, 2 search-or-write actions)

### Authentication
Zapier connects to Marketo 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.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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 marketo
```

### Capabilities

#### Events (5)

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

##### New Form Submission
Triggers when a new form is submitted.

- Type: read · Key: `new_form_submission`
- Requires: nothing
- Optional: formId
- SDK: `runAction({ app: "marketo", actionType: "read", action: "new_form_submission" })`
- CLI: `npx zapier-sdk run-action marketo read new_form_submission`

##### New Lead
Triggers when a new lead is created.

- Type: read · Key: `new_lead`
- Requires: nothing
- Optional: listId, additional_fields
- SDK: `runAction({ app: "marketo", actionType: "read", action: "new_lead" })`
- CLI: `npx zapier-sdk run-action marketo read new_lead`

##### New Program
Triggers when a new program is created.

- Type: read · Key: `program`
- Requires: nothing
- SDK: `runAction({ app: "marketo", actionType: "read", action: "program" })`
- CLI: `npx zapier-sdk run-action marketo read program`

##### New Self-Service Flow Action (SSFS)
Triggers when a configured Self-service Flow Action delivers leads.

- Type: read · Key: `ssfs`
- Requires: programContext, campaignContext, triggerContext, programMemberContext
- Optional: zap_id
- SDK: `runAction({ app: "marketo", actionType: "read", action: "ssfs" })`
- CLI: `npx zapier-sdk run-action marketo read ssfs`

##### Updated Lead
Triggers when a lead is updated.

- Type: read · Key: `updated_lead`
- Requires: nothing
- Optional: listId, additional_fields
- SDK: `runAction({ app: "marketo", actionType: "read", action: "updated_lead" })`
- CLI: `npx zapier-sdk run-action marketo read updated_lead`

#### Functions (5)

Functions change something in Marketo.

##### Add Lead to List
Adds a lead to a list.

- Type: write · Key: `add_lead_to_list`
- Requires: listId, leadId
- SDK: `runAction({ app: "marketo", actionType: "write", action: "add_lead_to_list" })`
- CLI: `npx zapier-sdk run-action marketo write add_lead_to_list`

##### Create or Update Company
Creates or Updates a company.

- Type: write · Key: `create_company`
- Requires: externalCompanyId
- SDK: `runAction({ app: "marketo", actionType: "write", action: "create_company" })`
- CLI: `npx zapier-sdk run-action marketo write create_company`

##### Create or Update Lead
Creates or Updates a lead.

- Type: write · Key: `create_lead`
- Requires: nothing
- Optional: partitionName
- SDK: `runAction({ app: "marketo", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action marketo write create_lead`

##### Create Program
Creates a new program in Marketo.

- Type: write · Key: `create_program`
- Requires: folderId, name, programType, channel
- Optional: description, costAmount, costStartDate, costNote, tagType, tagValue
- SDK: `runAction({ app: "marketo", actionType: "write", action: "create_program" })`
- CLI: `npx zapier-sdk run-action marketo write create_program`

##### Update Program
Updates an existing program in Marketo.

- Type: write · Key: `update_program`
- Requires: programId
- Optional: name, description, startDate, endDate, costAmount, costStartDate, costNote, tagType, tagValue
- SDK: `runAction({ app: "marketo", actionType: "write", action: "update_program" })`
- CLI: `npx zapier-sdk run-action marketo write update_program`

#### Queries (3)

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

##### Find Company
Finds a company whose name matches the search criteria.

- Type: search · Key: `search_company`
- Requires: company
- SDK: `runAction({ app: "marketo", actionType: "search", action: "search_company" })`
- CLI: `npx zapier-sdk run-action marketo search search_company`

##### Find Lead
Finds a lead whose e-mail address matches the search criteria.

- Type: search · Key: `search_lead`
- Requires: email
- Optional: additional_fields
- SDK: `runAction({ app: "marketo", actionType: "search", action: "search_lead" })`
- CLI: `npx zapier-sdk run-action marketo search search_lead`

##### Find Lead by Field
Finds a lead based on a specified field and value.

- Type: search · Key: `search_lead_by_field`
- Requires: filterType, filterValues
- Optional: additional_fields
- SDK: `runAction({ app: "marketo", actionType: "search", action: "search_lead_by_field" })`
- CLI: `npx zapier-sdk run-action marketo search search_lead_by_field`

#### Search or Write Actions (2)

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

##### Find or Create Company
Find or Create Company

- Type: search_or_write · Key: `search_company`
- Requires: company, externalCompanyId
- SDK: `runAction({ app: "marketo", actionType: "search_or_write", action: "search_company" })`
- CLI: `npx zapier-sdk run-action marketo search_or_write search_company`

##### Find or Create Lead
Find or Create Lead

- Type: search_or_write · Key: `search_lead`
- Requires: email
- Optional: additional_fields, partitionName
- SDK: `runAction({ app: "marketo", actionType: "search_or_write", action: "search_lead" })`
- CLI: `npx zapier-sdk run-action marketo search_or_write search_lead`

## Frequently asked questions about automating with Gravity Forms and Marketo

### How do I start the integration process between Gravity Forms and Marketo?

First, ensure that both Gravity Forms and Marketo are set up and accessible. Begin by creating a new Zap in your Zapier account. Choose Gravity Forms as the trigger app and select the specific form that will initiate the action. Then, set Marketo as the action app to complete the integration setup.

### What kind of data can be transferred from Gravity Forms to Marketo?

You can transfer various types of data such as contact information, survey responses, or any custom fields from submissions in Gravity Forms directly to Marketo. By mapping fields correctly during setup, all relevant data transfers over seamlessly when triggered by a new form submission.

### Can I automate email campaigns in Marketo using Gravity Forms submissions?

Yes, you can automate email campaigns. When a new entry is submitted through Gravity Forms, it can trigger specific campaigns or workflows in Marketo. Ensure your automation workflows are predefined in Marketo so they activate upon receiving new information via our integration.

### Are there any prerequisites for connecting Gravity Forms with Marketo via Zapier?

Before integrating, ensure you have administrator access to both platforms. In Gravity Forms, you’ll need to use a plugin like Zapier Add-On for integration purposes. In Marketo, you should have access to create API tokens to facilitate secure communication between platforms.

### How do I handle errors or issues during data transfer between these platforms?

In case of errors during data transfer, check our detailed logs accessible through your Zapier dashboard. Often, issues stem from incorrect field mapping or authentication problems with connected apps which can usually be resolved by reviewing each step within the associated Zap configuration.

### What specific triggers and actions does this integration support?

This integration supports triggers such as 'New Form Submission' in Gravity Forms and actions like 'Create/Update Lead' in Marketo. This means whenever there's a new entry on your form, we automatically pass this information along to update your leads database.

### How often does data sync take place once integrated?

Our platform operates in real-time; thus, every new submission made through Gravity Forms triggers an immediate sync with Marketo within seconds—providing near-instantaneous updates without having to manually refresh databases.

### 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
- Gravity Forms integrations: zapier.com/apps/gravity-forms/integrations.md
- Marketo integrations: zapier.com/apps/marketo/integrations.md
- Full page: zapier.com/apps/gravity-forms/integrations/marketo
- SDK: npmjs.com/package/@zapier/zapier-sdk