---
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/"
---

# DoorLoop + Wafeq Integrations: Connect with Zapier MCP
> zapier.com/apps/doorloop/integrations/wafeq
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate DoorLoop and Wafeq 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 `doorloop` and `wafeq`, then `enable_zapier_action`. If DoorLoop or Wafeq 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 Create Account is enabled, call `wafeq_create_account`. 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: "wafeq", owner: "me" });

const { data } = await zapier.runAction({
  app: "wafeq",
  actionType: "write",
  action: "create_account",
  connection: connection.id,
  inputs: {
    account_code: "", // Account Code
    account_type: "", // Account Type
    classification: "", // Classification
    is_payment_enabled: "", // Is Payment Enabled
    name_en: "", // Name (English)
    sub_classification: "", // Sub Classification
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action wafeq write create_account \
  --inputs '{"account_code":"","account_type":"","classification":"","is_payment_enabled":"","name_en":"","sub_classification":""}'
```

## DoorLoop

### Identity
DoorLoop is a powerful software for managing all your properties. Market units, screen prospects, collect rent, handle bookkeeping, & more.

- App slug: doorloop
- Operations published here: 36 (20 events, 6 functions, 9 queries, 1 search-or-write action)

### Authentication
Zapier connects to DoorLoop 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 doorloop
```

### Capabilities

#### Events (20)

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

##### In Eviction
Triggers once a Lease is shown as going into the Eviction Process in DoorLoop

- Type: read · Key: `in_Eviction`
- Requires: nothing
- Optional: filter_property, filter_portfolio
- MCP tool: `doorloop_in_eviction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "in_Eviction" })`
- CLI: `npx zapier-sdk run-action doorloop read in_Eviction`

##### Lease Ending
Triggers when a lease is about to end.

- Type: read · Key: `lease_ending`
- Requires: filter_end_date_from
- Optional: filter_group, filter_property, filter_owner
- MCP tool: `doorloop_lease_ending` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "lease_ending" })`
- CLI: `npx zapier-sdk run-action doorloop read lease_ending`

##### Lease Starting
Triggers when a lease is starting.

- Type: read · Key: `lease_starting`
- Requires: filter_start_date_to
- Optional: filter_group, filter_property, filter_owner
- MCP tool: `doorloop_lease_starting` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "lease_starting" })`
- CLI: `npx zapier-sdk run-action doorloop read lease_starting`

##### New Expense
Triggers when a new expense is created.

- Type: read · Key: `new_expense`
- Requires: nothing
- Optional: filter_property, filter_group, filter_vendor
- MCP tool: `doorloop_new_expense` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_expense" })`
- CLI: `npx zapier-sdk run-action doorloop read new_expense`

##### New Lease
Triggers when a new lease is created

- Type: read · Key: `new_lease`
- Requires: nothing
- Optional: filter_group, filter_propety, filter_owner, filter_status
- MCP tool: `doorloop_new_lease` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_lease" })`
- CLI: `npx zapier-sdk run-action doorloop read new_lease`

##### New Lease Charge
Triggers when a new lease charge is created.

- Type: read · Key: `new_lease_charge`
- Requires: nothing
- Optional: filter_portfolio, filter_property, filter_owner, filter_lease
- MCP tool: `doorloop_new_lease_charge` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_lease_charge" })`
- CLI: `npx zapier-sdk run-action doorloop read new_lease_charge`

##### New Lease Payment
Triggers when a new lease payment is created.

- Type: read · Key: `new_lease_payment`
- Requires: nothing
- Optional: filter_portfolio, filter_property, filter_owner, filter_paymentMethod
- MCP tool: `doorloop_new_lease_payment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_lease_payment" })`
- CLI: `npx zapier-sdk run-action doorloop read new_lease_payment`

##### New Owner
Triggers when a new owner is created.

- Type: read · Key: `new_owner`
- Requires: nothing
- Optional: filter_property, filter_group
- MCP tool: `doorloop_new_owner` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_owner" })`
- CLI: `npx zapier-sdk run-action doorloop read new_owner`

##### New Property
Triggers when a new property is created.

- Type: read · Key: `new_property`
- Requires: nothing
- Optional: filter_group, filter_owner, filter_class
- MCP tool: `doorloop_new_property` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_property" })`
- CLI: `npx zapier-sdk run-action doorloop read new_property`

##### New Prospect
Triggers when a new prospect is created.

- Type: read · Key: `new_prospect`
- Requires: nothing
- Optional: filter_prospect_interests_portfolio, filter_prospect_interests_property, filter_prospect_interests_unit, filter_prospect_assignedToUser
- MCP tool: `doorloop_new_prospect` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_prospect" })`
- CLI: `npx zapier-sdk run-action doorloop read new_prospect`

##### New Returned Payment
Triggers when a payment is returned.

- Type: read · Key: `new_returned_payment`
- Requires: nothing
- Optional: filter_property, filter_portfolio, filter_paymentMethod, filter_owner, filter_lease
- MCP tool: `doorloop_new_returned_payment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_returned_payment" })`
- CLI: `npx zapier-sdk run-action doorloop read new_returned_payment`

##### New Task / Work Order
Triggers when a new internal task is created.

- Type: read · Key: `new_task`
- Requires: filter_type
- Optional: filter_propertyGroup, filter_property, filter_assignedToUser
- MCP tool: `doorloop_new_task_work_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_task" })`
- CLI: `npx zapier-sdk run-action doorloop read new_task`

##### Tenant Moving In
Triggers when a new tenant moves in.

- Type: read · Key: `new_tenant_move_in`
- Requires: filter_movedInAt_from
- Optional: filter_group, filter_property
- MCP tool: `doorloop_tenant_moving_in` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_tenant_move_in" })`
- CLI: `npx zapier-sdk run-action doorloop read new_tenant_move_in`

##### New Tenant or Prospect
Triggers when a new tenant or prospect are created.

- Type: read · Key: `new_tenant_or_prospect`
- Requires: nothing
- Optional: filter_group, filter_property, filter_owner
- MCP tool: `doorloop_new_tenant_or_prospect` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_tenant_or_prospect" })`
- CLI: `npx zapier-sdk run-action doorloop read new_tenant_or_prospect`

##### New Vendor
Triggers when a new vendor is created.

- Type: read · Key: `new_vendor`
- Requires: nothing
- Optional: filter_property, filter_active
- MCP tool: `doorloop_new_vendor` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_vendor" })`
- CLI: `npx zapier-sdk run-action doorloop read new_vendor`

##### New Vendor Bill
Triggers when a new vendor bill is created.

- Type: read · Key: `new_vendor_bill`
- Requires: nothing
- Optional: filter_group, filter_property, filter_vendor
- MCP tool: `doorloop_new_vendor_bill` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "new_vendor_bill" })`
- CLI: `npx zapier-sdk run-action doorloop read new_vendor_bill`

##### Renter Insurance Expiring
Triggers when/before Renter's Insurance is about to Expire for a Lease

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

##### Tenant Moving Out
Triggers when a new tenant moves out.

- Type: read · Key: `tenant_moving_out`
- Requires: filter_movedOutAt_to
- Optional: filter_group, filter_property
- MCP tool: `doorloop_tenant_moving_out` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "tenant_moving_out" })`
- CLI: `npx zapier-sdk run-action doorloop read tenant_moving_out`

##### Upcoming Rent Change
Triggers when/before or after a change in Rent amount will occur on a Lease

- Type: read · Key: `upcoming_rent_increase`
- Requires: filter_start_date_to
- Optional: filter_property
- MCP tool: `doorloop_upcoming_rent_change` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "upcoming_rent_increase" })`
- CLI: `npx zapier-sdk run-action doorloop read upcoming_rent_increase`

##### Updated Task / Work Order
Triggers when a Task/Work Order is updated

- Type: read · Key: `updated_task`
- Requires: nothing
- Optional: filter_type, filter_property
- MCP tool: `doorloop_updated_task_work_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "read", action: "updated_task" })`
- CLI: `npx zapier-sdk run-action doorloop read updated_task`

#### Functions (6)

Functions change something in DoorLoop.

##### Create Expense
Creates an Expense In DoorLoop

- Type: write · Key: `create_expense`
- Requires: date, payToResourceType, payToResourceId, payFromAccount, paymentMethod, account, resourceId, amount
- Optional: reference, account1, resourceId1, amount1, account2, resourceId2, amount2
- MCP tool: `doorloop_create_expense` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "write", action: "create_expense" })`
- CLI: `npx zapier-sdk run-action doorloop write create_expense`

##### Create Lease Charge
Creates a Lease Charge

- Type: write · Key: `create_lease_charge`
- Requires: lease, date, account, amount
- Optional: memo, notes, reference
- MCP tool: `doorloop_create_lease_charge` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "write", action: "create_lease_charge" })`
- CLI: `npx zapier-sdk run-action doorloop write create_lease_charge`

##### Create Lease Credit
Creates a Lease Credit

- Type: write · Key: `create_lease_credit`
- Requires: lease, date, account, amount
- Optional: memo, notes, reference
- MCP tool: `doorloop_create_lease_credit` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "write", action: "create_lease_credit" })`
- CLI: `npx zapier-sdk run-action doorloop write create_lease_credit`

##### Create Prospect
Creates a Prospect

- Type: write · Key: `create_prospect`
- Requires: firstName, lastName
- Optional: companyName, notes, primaryAddress__street1, primaryAddress__street2, primaryAddress__city, primaryAddress__state, primaryAddress__zip, primaryAddress__country, phone_type, number, email_type, address, leadSource, minBathrooms, minBedrooms, maxRent, expectedMoveInDate, creditScore, monthlyIncome, campaignSource, campaignMedium, campaignName, campaignContent, prospectStatus, assignedToUser
- MCP tool: `doorloop_create_prospect` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "write", action: "create_prospect" })`
- CLI: `npx zapier-sdk run-action doorloop write create_prospect`

##### Create a Task/Work Order
Creates an Internal Task, Work Order, Tenant request or Owner Request

- Type: write · Key: `create_task`
- Requires: subject, dueDate, task_type
- Optional: description, property, tenant, assignedToUsers, priority, status
- MCP tool: `doorloop_create_a_task_work_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action doorloop write create_task`

##### Create Vendor
Creates a Vendor

- Type: write · Key: `create_vendor`
- Requires: active
- Optional: firstName, lastName, companyName, notes, primaryAddress__street1, primaryAddress__street2, primaryAddress__city, primaryAddress__state, primaryAddress__zip, primaryAddress__country, email, type, number, properties
- MCP tool: `doorloop_create_vendor` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "write", action: "create_vendor" })`
- CLI: `npx zapier-sdk run-action doorloop write create_vendor`

#### Queries (9)

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

##### Find Account
Finds an Account

- Type: search · Key: `find_account`
- Requires: filter_text
- MCP tool: `doorloop_find_account` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_account" })`
- CLI: `npx zapier-sdk run-action doorloop search find_account`

##### Find Lease
Finds a DoorLoop Lease

- Type: search · Key: `find_lease`
- Requires: filter_text
- Optional: filter_property, filter_unit, filter_tenant
- MCP tool: `doorloop_find_lease` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_lease" })`
- CLI: `npx zapier-sdk run-action doorloop search find_lease`

##### Find Lease Tenants
The ability to find all Tenants associated with a Lease using a Lease ID. You can use the Zapier Loop function to loop through all the Tenants information.

- Type: search · Key: `find_lease_tenants`
- Requires: filter_lease
- MCP tool: `doorloop_find_lease_tenants` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_lease_tenants" })`
- CLI: `npx zapier-sdk run-action doorloop search find_lease_tenants`

##### Find Next Lease Rent Change
Find when a Lease's next rent increase will happen and for how much.

- Type: search · Key: `find_next_rent_increase`
- Requires: filter_lease
- MCP tool: `doorloop_find_next_lease_rent_change` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_next_rent_increase" })`
- CLI: `npx zapier-sdk run-action doorloop search find_next_rent_increase`

##### Find Property
Finds a Property

- Type: search · Key: `find_property`
- Requires: filter_text
- MCP tool: `doorloop_find_property` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_property" })`
- CLI: `npx zapier-sdk run-action doorloop search find_property`

##### Find Tenant or Prospect
Finds a tenant or a prospect. Optionally, create a new Prospect if one does not exist.

- Type: search · Key: `find_tenant`
- Requires: filter_text
- Optional: filter_property, filter_unit, filter_lease
- MCP tool: `doorloop_find_tenant_or_prospect` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_tenant" })`
- CLI: `npx zapier-sdk run-action doorloop search find_tenant`

##### Find Unit
Find a Unit's Information based on ID or Name

- Type: search · Key: `find_unit`
- Requires: filter_text
- MCP tool: `doorloop_find_unit` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_unit" })`
- CLI: `npx zapier-sdk run-action doorloop search find_unit`

##### Find User
Finds a DoorLoop user

- Type: search · Key: `find_user`
- Requires: filter_text
- MCP tool: `doorloop_find_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_user" })`
- CLI: `npx zapier-sdk run-action doorloop search find_user`

##### Find Vendor
Finds a Vendor in DoorLoop

- Type: search · Key: `find_vendor`
- Requires: filter_text
- MCP tool: `doorloop_find_vendor` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "doorloop", actionType: "search", action: "find_vendor" })`
- CLI: `npx zapier-sdk run-action doorloop search find_vendor`

#### Search or Write Actions (1)

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

##### Find or Create Prospect
Finds a tenant or a prospect. Optionally, create a new Prospect if one does not exist.

- Type: search_or_write · Key: `find_tenant`
- Requires: filter_text, firstName, lastName
- Optional: filter_property, filter_unit, filter_lease, companyName, notes, primaryAddress__street1, primaryAddress__street2, primaryAddress__city, primaryAddress__state, primaryAddress__zip, primaryAddress__country, phone_type, number, email_type, address, leadSource, minBathrooms, minBedrooms, maxRent, expectedMoveInDate, creditScore, monthlyIncome, campaignSource, campaignMedium, campaignName, campaignContent, prospectStatus, assignedToUser
- SDK: `runAction({ app: "doorloop", actionType: "search_or_write", action: "find_tenant" })`
- CLI: `npx zapier-sdk run-action doorloop search_or_write find_tenant`

## Wafeq

### Identity
Wafeq is an accounting and e-invoicing solution for business owners and accountants. Send invoices, quotes, and purchase orders, manage inventory and payroll.

- App slug: wafeq
- Operations published here: 10 (7 functions, 2 queries, 1 search-or-write action)

### Authentication
Zapier connects to Wafeq 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 wafeq
```

### Capabilities

#### Functions (7)

Functions change something in Wafeq.

##### Create Account
Creates a new chart of accounts entry.

- Type: write · Key: `create_account`
- Requires: account_code, account_type, classification, is_payment_enabled, name_en, sub_classification
- Optional: is_posting, name_ar, parent
- MCP tool: `wafeq_create_account` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "write", action: "create_account" })`
- CLI: `npx zapier-sdk run-action wafeq write create_account`

##### Create Bill
Creates a new vendor bill.

- Type: write · Key: `create_bill`
- Requires: bill_date, bill_due_date, bill_number, currency, line_items
- Optional: attachments, branch, contact, exchange_rate, language, notes, order_number, project, reference, status, tax_amount_type
- MCP tool: `wafeq_create_bill` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "write", action: "create_bill" })`
- CLI: `npx zapier-sdk run-action wafeq write create_bill`

##### Create Contact
Creates a new contact (customer or vendor).

- Type: write · Key: `create_contact`
- Requires: name
- Optional: additional_number, address, attachments, building_number, city, code, country, district, email, phone, postal_code, relationship, tax_registration_number
- MCP tool: `wafeq_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action wafeq write create_contact`

##### Create Expense
Creates a new expense record.

- Type: write · Key: `create_expense`
- Requires: account, amount, currency, date, description, paid_through_account
- Optional: attachments, branch, contact, cost_center, exchange_rate, project, reference, tax_amount_type, tax_rate
- MCP tool: `wafeq_create_expense` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "write", action: "create_expense" })`
- CLI: `npx zapier-sdk run-action wafeq write create_expense`

##### Create Invoice
Creates a new sales invoice.

- Type: write · Key: `create_invoice`
- Requires: contact, currency, invoice_date, invoice_due_date, invoice_number, line_items__account, line_items__description, line_items__quantity, line_items__unit_amount
- Optional: attachments, branch, discount_account, discount_amount, discount_cost_center, discount_tax_rate, exchange_rate, language, line_items__tax_rate, line_items__discount, line_items__cost_center, line_items__item, notes, place_of_supply, project, purchase_order, reference, status, tax_amount_type, warehouse
- MCP tool: `wafeq_create_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "write", action: "create_invoice" })`
- CLI: `npx zapier-sdk run-action wafeq write create_invoice`

##### Create Manual Journal
Creates a new manual journal entry.

- Type: write · Key: `create_manual_journal`
- Requires: date
- Optional: attachments, line_items, notes, reference, tax_amount_type
- MCP tool: `wafeq_create_manual_journal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "write", action: "create_manual_journal" })`
- CLI: `npx zapier-sdk run-action wafeq write create_manual_journal`

##### Create Payment
Records a payment against a bill or invoice.

- Type: write · Key: `create_payment`
- Requires: amount, contact, currency, date, paid_through_account
- Optional: bill_payments_bill, bill_payments_amount, cost_center, credit_note_payments_credit_note, credit_note_payments_amount, debit_note_payments_debit_note, debit_note_payments_amount, employee, invoice_payments_invoice, invoice_payments_amount, payment_fees, payment_fees_account, payslip_payments_payslip, payslip_payments_amount, project, reference
- MCP tool: `wafeq_create_payment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "write", action: "create_payment" })`
- CLI: `npx zapier-sdk run-action wafeq write create_payment`

#### Queries (2)

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

##### Find Contact
Finds an existing contact by email.

- Type: search · Key: `find_contact`
- Requires: email
- MCP tool: `wafeq_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action wafeq search find_contact`

##### List Contacts
Returns a list of contacts, with optional filters.

- Type: search · Key: `list_contacts`
- Requires: nothing
- Optional: relationship, country, external_id
- MCP tool: `wafeq_list_contacts` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wafeq", actionType: "search", action: "list_contacts" })`
- CLI: `npx zapier-sdk run-action wafeq search list_contacts`

#### Search or Write Actions (1)

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

##### Find or Create Contact
Finds a contact by email, or creates one if not found.

- Type: search_or_write · Key: `find_contact`
- Requires: email, name
- Optional: additional_number, address, attachments, building_number, city, code, country, district, phone, postal_code, relationship, tax_registration_number
- SDK: `runAction({ app: "wafeq", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action wafeq search_or_write find_contact`

## Frequently asked questions about automating with DoorLoop and Wafeq

### 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
- DoorLoop integrations: zapier.com/apps/doorloop/integrations.md
- Wafeq integrations: zapier.com/apps/wafeq/integrations.md
- Full page: zapier.com/apps/doorloop/integrations/wafeq
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk