# LeadConnector + XBuild Integrations: Connect with Zapier MCP
> zapier.com/apps/leadconnector/integrations/xbuild
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate LeadConnector and XBuild 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 · create_project`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action xbuild write create_project \
  --inputs '{}'
```

## LeadConnector

### Identity
LeadConnector is a platform for marketing agencies to manage marketing automation to customer communications and beyond.

- App slug: leadconnector
- Operations published here: 6 (1 event, 5 functions)

### Authentication
Zapier connects to LeadConnector 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.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 leadconnector
```

### Capabilities

#### Events (1)

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

##### Pipeline Stage Changed
Triggers when the pipeline stage was updated for an opportunity.

- Type: read · Key: `pipeline_trigger`
- Requires: nothing
- Optional: pipelineId, pipelineStageId
- SDK: `runAction({ app: "leadconnector", actionType: "read", action: "pipeline_trigger" })`
- CLI: `npx zapier-sdk run-action leadconnector read pipeline_trigger`

#### Functions (5)

Functions change something in LeadConnector.

##### Add/Update Contact
Adds or updates an existing contact.

- Type: write · Key: `add_update_contact`
- Requires: lead
- Optional: firstName, lastName, name, phone, email, address1, city, state, postalCode, tags, source, notes, companyName, country, dateOfBirth
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "add_update_contact" })`
- CLI: `npx zapier-sdk run-action leadconnector write add_update_contact`

##### Add/Update Opportunity
Adds or updates an existing opportunity.

- Type: write · Key: `add_update_opportunity`
- Requires: lead
- Optional: firstName, lastName, name, phone, email, address1, city, state, country, postalCode, tags, source, notes, pipelineId, stageId, assignedTo
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "add_update_opportunity" })`
- CLI: `npx zapier-sdk run-action leadconnector write add_update_opportunity`

##### Add Lead to Workflow
Adds a lead to an existing workflow.

- Type: write · Key: `campaign`
- Requires: campaign_id
- Optional: firstName, lastName, name, phone, email, address1, city, state, postalCode, tags, source, leadSource, notes, eventStartTime
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "campaign" })`
- CLI: `npx zapier-sdk run-action leadconnector write campaign`

##### Stop All Workflows for Lead
Stops all workflow for a lead.

- Type: write · Key: `campaign_stop_all`
- Requires: nothing
- Optional: phone, email, firstName, lastName, name
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "campaign_stop_all" })`
- CLI: `npx zapier-sdk run-action leadconnector write campaign_stop_all`

##### Add Task
Adds a task to the account.

- Type: write · Key: `task`
- Requires: title, body
- Optional: assigned_to, dueDate, firstName, lastName, phone, email
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "task" })`
- CLI: `npx zapier-sdk run-action leadconnector write task`

## XBuild

### Identity
XBuild is a construction platform that helps contractors manage projects, files and site photos.

- App slug: xbuild
- Operations published here: 12 (8 events, 2 functions, 1 query, 1 search-or-write action)

### Authentication
Zapier connects to XBuild 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.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 xbuild
```

### Capabilities

#### Events (8)

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

##### New Project
Triggers when a project is created, whether from the app, the API or a connector.

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

##### Proposal Approved
Triggers when an insurance carrier approves an estimate.

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

##### Proposal Funded
Triggers when a proposal is funded, meaning its deposit has been collected.

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

##### Proposal Published
Triggers when a proposal is published.

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

##### Proposal Sent
Triggers when a proposal is sent to the homeowner.

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

##### Proposal Signed
Triggers when a proposal is signed.

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

##### Proposal Submitted
Triggers when an insurance estimate is submitted to the carrier.

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

##### Proposal Viewed
Triggers when a homeowner first opens a version of your proposal, once per version rather than once per view.

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

#### Functions (2)

Functions change something in XBuild.

##### Create Project
Creates a new project from an inbound lead.

- Type: write · Key: `create_project`
- Requires: nothing
- Optional: external_id, name, contact_name, contact_email, contact_phone, street1, street2, city, state, zip, description, files
- SDK: `runAction({ app: "xbuild", actionType: "write", action: "create_project" })`
- CLI: `npx zapier-sdk run-action xbuild write create_project`

##### Upload File to Project
Uploads files or photos to an existing project.

- Type: write · Key: `upload_file_to_project`
- Requires: project_id, files
- SDK: `runAction({ app: "xbuild", actionType: "write", action: "upload_file_to_project" })`
- CLI: `npx zapier-sdk run-action xbuild write upload_file_to_project`

#### Queries (1)

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

##### Find Project
Finds an existing project by its external ID.

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

#### Search or Write Actions (1)

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

##### Find or Create Project
Finds a project by External ID, creating one if it does not exist yet.

- Type: search_or_write · Key: `find_project`
- Requires: external_id
- Optional: name, contact_name, contact_email, contact_phone, street1, street2, city, state, zip, description, files
- SDK: `runAction({ app: "xbuild", actionType: "search_or_write", action: "find_project" })`
- CLI: `npx zapier-sdk run-action xbuild search_or_write find_project`

## Frequently asked questions about automating with LeadConnector and XBuild

### 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
- LeadConnector integrations: zapier.com/apps/leadconnector/integrations.md
- XBuild integrations: zapier.com/apps/xbuild/integrations.md
- Full page: zapier.com/apps/leadconnector/integrations/xbuild
- SDK: npmjs.com/package/@zapier/zapier-sdk