# AgentFire + Lofty Integrations: Connect with Zapier MCP
> zapier.com/apps/agentfire/integrations/lofty
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate AgentFire and Lofty 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 · createLeadAction`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action lofty write createLeadAction \
  --inputs '{}'
```

## AgentFire

### Identity
AgentFire is a revolutionary real estate website and marketing platform that helps agents maximize digital opportunities.

- App slug: agentfire
- Operations published here: 12 (6 events, 2 functions, 3 queries, 1 search-or-write action)

### Authentication
Zapier connects to AgentFire 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 agentfire
```

### Capabilities

#### Events (6)

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

##### Lead Assigned to Agent/Office
Triggers when an existing lead is re-assigned to another Agent/Office.

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

##### Lead Marked as Hot
Triggers when an existing lead is marked as Hot in the Lead Manager.

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

##### New Lead
Triggers when a new lead is captured in the Lead Manager.

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

##### Notes Added to Lead
Triggers when notes are added to an existing lead in the Lead Manager.

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

##### Page View
Triggers when a page view event is recorded in the Lead Manager.

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

##### Updated Lead
Triggers when an existing lead is updated in the Lead Manager.

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

#### Functions (2)

Functions change something in AgentFire.

##### Create New Lead
Send new lead to AgentFire Lead Manager

- Type: write · Key: `create_lead`
- Requires: nothing
- Optional: lead_type, first_name, last_name, phone_number, email_address, street_address, city, state, zip_code, country, other, tags, notes, hot, source_id, source_url, agent_id, office_id, meta
- SDK: `runAction({ app: "agentfire", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action agentfire write create_lead`

##### Update Lead
Update Lead in the Lead Manager

- Type: write · Key: `updateLeadCreate`
- Requires: lead_id
- Optional: notes, hot, agent_id, office_id, meta
- SDK: `runAction({ app: "agentfire", actionType: "write", action: "updateLeadCreate" })`
- CLI: `npx zapier-sdk run-action agentfire write updateLeadCreate`

#### Queries (3)

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

##### Find Agent
Find Agent in your Team Members directory.

- Type: search · Key: `find_agent`
- Requires: nothing
- Optional: name, email, phone
- SDK: `runAction({ app: "agentfire", actionType: "search", action: "find_agent" })`
- CLI: `npx zapier-sdk run-action agentfire search find_agent`

##### Find Lead
Find Lead in the Lead Manager

- Type: search · Key: `find_lead`
- Requires: nothing
- Optional: id, name, phone, email
- SDK: `runAction({ app: "agentfire", actionType: "search", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action agentfire search find_lead`

##### Find Office
Find Office in your Offices directory.

- Type: search · Key: `find_office`
- Requires: nothing
- Optional: name, email, phone, address
- SDK: `runAction({ app: "agentfire", actionType: "search", action: "find_office" })`
- CLI: `npx zapier-sdk run-action agentfire search find_office`

#### Search or Write Actions (1)

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

##### Find or Create Lead
Find Lead in the Lead Manager

- Type: search_or_write · Key: `find_lead`
- Requires: nothing
- Optional: id, name, phone, email, lead_type, first_name, last_name, phone_number, email_address, street_address, city, state, zip_code, country, other, tags, notes, hot, source_id, source_url, agent_id, office_id, meta
- SDK: `runAction({ app: "agentfire", actionType: "search_or_write", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action agentfire search_or_write find_lead`

## Lofty

### Identity
Lofty is a product of the technology company Lofty Inc, which offers a complete tech solution for real estate agents.

- App slug: lofty
- Operations published here: 12 (7 events, 4 functions, 1 query)

### Authentication
Zapier connects to Lofty 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 lofty
```

### Capabilities

#### Events (7)

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

##### Segment Changed
Triggers when a lead is moved to the selected group.

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

##### Lead Pipeline Changed
Triggers when a lead is moved to the selected pipeline.

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

##### New Transaction
New transaction trigger

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

##### New Lead
Triggers when a new lead is assigned to you. Does not work for lender-type accounts.

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

##### Smart Plan Action
Trigger this zap when a specific Smart Plan step with a unique "Zap Trigger ID" is run for a lead.

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

##### Transaction File Uploaded
Fires when a new file is uploaded to a Transaction in Lofty.

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

##### Update Transaction
Update transaction trigger

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

#### Functions (4)

Functions change something in Lofty.

##### Create Lead
Creates a new lead.

- Type: write · Key: `createLeadAction`
- Requires: nothing
- Optional: firstName, lastName, email, phone, birthday, addressForMailingAddress, leadType, ownership, source, group, tag, note, smartPlanAndMassMailStatus, propertyAlertStatus, marketReportStatus, minPriceForBuyer, maxPriceForBuyer, locationForBuyer, cityForBuyer, stateForBuyer, zipcodeForBuyer, addressForBuyer, minBedsForBuyer, minBathsForBuyer, timeFrameForBuyer, bedsForSeller, bathsForSeller, maxPriceForSeller, addressForSeller, sqFtForSeller, cityForSeller, stateForSeller, zipcodeForSeller, timeFrameForSeller, sendWelcome, cityForMailingAddress, stateForMailingAddress, zipCodeForMailingAddress, callOptIn, textOptIn, emailOptIn, numberConsent
- SDK: `runAction({ app: "lofty", actionType: "write", action: "createLeadAction" })`
- CLI: `npx zapier-sdk run-action lofty write createLeadAction`

##### Create Transaction
Create Transaction Action

- Type: write · Key: `create_or_update`
- Requires: transactionName, leadFirstName, transactionType, transactionStage
- Optional: transactionId, leadLastName, leadId, associatedLeadEmail, transactionOwnerId, transactionOwnerEmail, closePrise, gci, teamRevenue, agentRevenue, commissionRate, timeZone, closeDate, expectedCloseDate, appointmentDate, agreementSignedDate, offerDate, contractDate, appraisalDate, homeInspectionDate, escrowDate, expirationDate, propertyAddress, propertyUnit, propertyListingStatus, propertyMLSListingId, propertyLabel, propertyListPrice, propertyType, propertyBedrooms, propertyBathrooms, propertySquareFeet, propertyLotSize, propertyNote
- SDK: `runAction({ app: "lofty", actionType: "write", action: "create_or_update" })`
- CLI: `npx zapier-sdk run-action lofty write create_or_update`

##### Update Lead
Updates an existing lead.

- Type: write · Key: `UpdateLeadInfoInChime`
- Requires: nothing
- Optional: email, leadId, firstName, lastName, phone, birthday, addressForMailingAddress, leadType, source, group, tag, note, smartPlanAndMassMailStatus, propertyAlertStatus, marketReportStatus, minPriceForBuyer, maxPriceForBuyer, locationForBuyer, cityForBuyer, stateForBuyer, zipcodeForBuyer, addressForBuyer, minBedsForBuyer, minBathsForBuyer, timeFrameForBuyer, bedsForSeller, bathsForSeller, maxPriceForSeller, addressForSeller, sqFtForSeller, cityForSeller, stateForSeller, zipcodeForSeller, timeFrameForSeller, cityForMailingAddress, stateForMailingAddress, zipCodeForMailingAddress, callOptIn, textOptIn, emailOptIn, numberConsent
- SDK: `runAction({ app: "lofty", actionType: "write", action: "UpdateLeadInfoInChime" })`
- CLI: `npx zapier-sdk run-action lofty write UpdateLeadInfoInChime`

##### Update Transaction
Update Transaction Action

- Type: write · Key: `update_transaction`
- Requires: transactionName, leadFirstName, transactionType, transactionStage
- Optional: transactionId, leadLastName, leadId, associatedLeadEmail, transactionOwnerId, transactionOwnerEmail, closePrise, gci, teamRevenue, agentRevenue, commissionRate, timeZone, closeDate, expectedCloseDate, appointmentDate, agreementSignedDate, offerDate, contractDate, appraisalDate, homeInspectionDate, escrowDate, expirationDate, propertyAddress, propertyUnit, propertyListingStatus, propertyMLSListingId, propertyLabel, propertyListPrice, propertyType, propertyBedrooms, propertyBathrooms, propertySquareFeet, propertyLotSize, propertyNote
- SDK: `runAction({ app: "lofty", actionType: "write", action: "update_transaction" })`
- CLI: `npx zapier-sdk run-action lofty write update_transaction`

#### Queries (1)

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

##### Find Record
FindRecord            

- Type: search · Key: `FindRecord`
- Requires: findObject, searchValue
- SDK: `runAction({ app: "lofty", actionType: "search", action: "FindRecord" })`
- CLI: `npx zapier-sdk run-action lofty search FindRecord`

## Frequently asked questions about automating with AgentFire and Lofty

### 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
- AgentFire integrations: zapier.com/apps/agentfire/integrations.md
- Lofty integrations: zapier.com/apps/lofty/integrations.md
- Full page: zapier.com/apps/agentfire/integrations/lofty
- SDK: npmjs.com/package/@zapier/zapier-sdk