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

# Teamleader Focus + TrustLayer Integrations: Connect with Zapier MCP
> zapier.com/apps/teamleader/integrations/trustlayer
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Teamleader Focus and TrustLayer 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 `teamleader` and `trustlayer`, then `enable_zapier_action`. If Teamleader Focus or TrustLayer 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 Document to Party is enabled, call `trustlayer_add_document_to_party`. 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: "trustlayer", owner: "me" });

const { data } = await zapier.runAction({
  app: "trustlayer",
  actionType: "write",
  action: "addDocumentToPartyCreate",
  connection: connection.id,
  inputs: {
    documentId: "", // Document ID
    partyId: "", // Party ID
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action trustlayer write addDocumentToPartyCreate \
  --inputs '{"documentId":"","partyId":""}'
```

## Teamleader Focus

### Identity
Teamleader Focus incorporates CRM, project management and invoicing into one simple and intelligent tool that helps businesses work smarter.

- App slug: teamleader
- Operations published here: 12 (5 events, 5 functions, 2 queries)

### Authentication
Zapier connects to Teamleader Focus 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 teamleader
```

### Capabilities

#### Events (5)

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

##### New Deal
Triggers when a new deal is created.

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

##### New Company
Triggers when a new Company is added.

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

##### New Contact
Triggers when a new contact is added.

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

##### Invoice Paid
Triggers when an invoice is paid.

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

##### Deal Accepted
Triggers when a deal is accepted.

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

#### Functions (5)

Functions change something in Teamleader Focus.

##### Create Company
Creates a new company.

- Type: write · Key: `create_company`
- Requires: name
- Optional: business_type_id, vat_number, local_business_number, primary, invoicing, phone, fax, website, primary_line_1, primary_postal_code, primary_city, primary_country, invoicing_line_1, invoicing_postal_code, invoicing_city, invoicing_country, invoicing_addressee, delivery_line_1, delivery_postal_code, delivery_city, delivery_country, delivery_addressee, visiting_line_1, visiting_postal_code, visiting_city, visiting_country, visiting_addressee, iban, bic, language, responsible_user_id, remarks, tags, custom_fields, marketing_mails_consent
- MCP tool: `teamleader_focus_create_company` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "teamleader", actionType: "write", action: "create_company" })`
- CLI: `npx zapier-sdk run-action teamleader write create_company`

##### Create Contact
Creates a new contact.

- Type: write · Key: `create_contact`
- Requires: last_name
- Optional: first_name, salutation, primary, phone, mobile, fax, website, primary_line_1, primary_postal_code, primary_city, primary_country, delivery_line_1, delivery_postal_code, delivery_city, delivery_country, delivery_addressee, visiting_line_1, visiting_postal_code, visiting_city, visiting_country, visiting_addressee, language, gender, birthdate, iban, bic, remarks, tags, custom_fields, marketing_mails_consent
- MCP tool: `teamleader_focus_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "teamleader", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action teamleader write create_contact`

##### Create Deal
Creates a new deal.

- Type: write · Key: `create_deal`
- Requires: title, customer_type, customer_id
- Optional: summary, contact_person_id, source_id, department_id, responsible_user_id, phase_id, estimated_value_amount, estimated_value_currency, estimated_probability, estimated_closing_date, custom_fields
- MCP tool: `teamleader_focus_create_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "teamleader", actionType: "write", action: "create_deal" })`
- CLI: `npx zapier-sdk run-action teamleader write create_deal`

##### Create Draft Invoice
Creates a draft invoice in Teamleader Focus.

- Type: write · Key: `create_draft_invoice`
- Requires: invoicee_customer_type, department_id, payment_term, section_title, quantity, description, unit_price_amount, tax_rate_id
- Optional: copy_invoicee, for_attention_of_contact_id, copy_currency, currency_code, currency_exchange_rate, copy_line_items, extended_description, unit_of_measure_id, product_id, product_category_id, withholding_tax_rate_id, line_discount_value, project_id, purchase_order_number, invoice_date, delivery_date, note, document_template_id, invoice_discount_value, invoice_discount_description, expected_payment_method, expected_payment_reference
- MCP tool: `teamleader_focus_create_draft_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "teamleader", actionType: "write", action: "create_draft_invoice" })`
- CLI: `npx zapier-sdk run-action teamleader write create_draft_invoice`

##### Link Contact to Company
Links a contact to a company.

- Type: write · Key: `link_contact_to_company`
- Requires: id, company_id
- Optional: position, decision_maker
- MCP tool: `teamleader_focus_link_contact_to_company` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "teamleader", actionType: "write", action: "link_contact_to_company" })`
- CLI: `npx zapier-sdk run-action teamleader write link_contact_to_company`

#### Queries (2)

Queries read from Teamleader Focus and return data. They change nothing.

##### Find Company
Finds a company by Id.

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

##### Find Contact
Finds a contact by Id.

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

## TrustLayer

### Identity
TrustLayer is a tool to track compliance risk across your projects.

- App slug: trustlayer
- Operations published here: 49 (30 events, 12 functions, 5 queries, 2 search-or-write actions)

### Authentication
Zapier connects to TrustLayer 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 trustlayer
```

### Capabilities

#### Events (30)

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

##### New Comment
Triggers when a new comment is added to the activity timeline.

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

##### Document Archived
Triggers when a document is archived.

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

##### Document Deleted
Triggers when a document is deleted.

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

##### Document Edited
Triggers when a document is edited.

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

##### Document Flagged
Triggers when a document is flagged.

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

##### Document Flag Removed
Triggers when a document flag is removed.

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

##### Document Processed
Triggers when a document is processed.

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

##### Document Reviewed
Triggers when a document is reviewed.

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

##### Document Uploaded
Triggers when a document is uploaded.

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

##### Document Verification Removed
Triggers when a document verification is removed.

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

##### Document Verified
Triggers when a document is verified.

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

##### Party Activated
Triggers when a party is activated.

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

##### Party Compliance Changed
Triggers when a party compliance is changed in the global context.

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

##### Party Compliance Lost
Triggers when a party compliance is lost in the global context.

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

##### Party Compliance Profile Changed
Triggers when a party compliance profile is changed.

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

##### Party Compliance Reached
Triggers when a party compliance is reached in the global context.

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

##### Party Created
Triggers when a party is created.

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

##### Party Deactivated
Triggers when a party is deactivated.

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

##### Party Deleted
Triggers when a party is deleted.

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

##### Party Updated
Triggers when these party fields are updated: organization, address, website, name, type, isActive, additionalNotes.

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

##### Project Activated
Triggers when an inactive project is activated.

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

##### Party Compliance Changed in Project
Triggers when a party compliance score changes in a project.

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

##### Party Compliance Lost in Project
Triggers when a party compliance is lost in a project.

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

##### Party Compliance Reached in Project
Triggers when a party compliance score reaches 100% in a project.

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

##### Project Created
Triggers when a project is created.

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

##### Project Deleted
Triggers when a project is deleted.

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

##### Project Deactivated
Triggers when an active project is deactivated.

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

##### Party Added to a Project
Triggers when a party is added to a project.

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

##### Party Removed From a Project
Triggers when a party is removed from a project.

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

##### Project Updated
Triggers when name, description, start/end date, compliance profile, party list, attachments, custom fields are updated.

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

#### Functions (12)

Functions change something in TrustLayer.

##### Add Document to Party
Adds a Document to a party.

- Type: write · Key: `addDocumentToPartyCreate`
- Requires: documentId, partyId
- MCP tool: `trustlayer_add_document_to_party` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "addDocumentToPartyCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write addDocumentToPartyCreate`

##### Add Document to Project
Adds a Document to a project.

- Type: write · Key: `addDocumentToProjectCreate`
- Requires: documentId, projectId
- MCP tool: `trustlayer_add_document_to_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "addDocumentToProjectCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write addDocumentToProjectCreate`

##### Add Party to Project
Adds a party to a project.

- Type: write · Key: `addPartyToProjectCreate`
- Requires: projectId, partyId
- MCP tool: `trustlayer_add_party_to_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "addPartyToProjectCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write addPartyToProjectCreate`

##### Create Document
Creates a document.

- Type: write · Key: `documentCreate`
- Requires: content, name
- MCP tool: `trustlayer_create_document` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "documentCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write documentCreate`

##### Create Party
Creates a new party.

- Type: write · Key: `partyCreate`
- Requires: name, partyType
- Optional: website, city, country, line1, line2, postalCode, region, provider, ids, customDataId, value, notes
- MCP tool: `trustlayer_create_party` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "partyCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write partyCreate`

##### Assign a Party Compliance Profile
Assign a Party Compliance Profile

- Type: write · Key: `party_compliance_profileCreate`
- Requires: complianceProfileId, partyId
- MCP tool: `trustlayer_assign_a_party_compliance_profile` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "party_compliance_profileCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write party_compliance_profileCreate`

##### Create Party Contact
Creates a new party contact.

- Type: write · Key: `party_contactCreate`
- Requires: partyId, email, name, primary, defaultRequestRecipient
- Optional: company, phone, fax, title
- MCP tool: `trustlayer_create_party_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "party_contactCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write party_contactCreate`

##### Add Custom Field to Party
Adds a custom field to a party.

- Type: write · Key: `party_custom_fieldCreate`
- Requires: id
- Optional: customDataId, value
- MCP tool: `trustlayer_add_custom_field_to_party` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "party_custom_fieldCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write party_custom_fieldCreate`

##### Create Project
Creates a new project.

- Type: write · Key: `projectCreate`
- Requires: name
- Optional: description, startDate, endDate, provider, ids, customDataId, value
- MCP tool: `trustlayer_create_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "projectCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write projectCreate`

##### Remove Document From Project
Remove a Document from a project.

- Type: write · Key: `removeDocumentFromProjectCreate`
- Requires: documentId, projectId
- MCP tool: `trustlayer_remove_document_from_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "removeDocumentFromProjectCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write removeDocumentFromProjectCreate`

##### Remove Party From Project
Remove a Party from a project.

- Type: write · Key: `removePartyFromProjectCreate`
- Requires: projectId, partyId
- MCP tool: `trustlayer_remove_party_from_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "removePartyFromProjectCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write removePartyFromProjectCreate`

##### Update Document
Updates a document.

- Type: write · Key: `update_documentCreate`
- Requires: documentId
- Optional: appliesToAllProjects, name, notes, email
- MCP tool: `trustlayer_update_document` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "write", action: "update_documentCreate" })`
- CLI: `npx zapier-sdk run-action trustlayer write update_documentCreate`

#### Queries (5)

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

##### Find Compliance Profile
Finds a compliance profile given the name

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

##### Find Custom Field
Finds a custom field given the name

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

##### Find Parties 
Finds Parties by External ID.

- Type: search · Key: `partySearch`
- Requires: nothing
- Optional: id, provider, name, partyType, project, createdAtDatetime, createdAtOperator, updatedAtDatetime, Updated At Operator, customDataId, value
- MCP tool: `trustlayer_find_parties` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "search", action: "partySearch" })`
- CLI: `npx zapier-sdk run-action trustlayer search partySearch`

##### Find Party Type
Finds a party type given the name.

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

##### Find Project
Finds a project by name, description or external ID.

- Type: search · Key: `projectSearch`
- Requires: nothing
- Optional: name, description, startDate, endDate, provider, ids
- MCP tool: `trustlayer_find_project` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "trustlayer", actionType: "search", action: "projectSearch" })`
- CLI: `npx zapier-sdk run-action trustlayer search projectSearch`

#### Search or Write Actions (2)

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

##### Find or Create Party
Finds Parties by External ID.

- Type: search_or_write · Key: `partySearch`
- Requires: name, partyType
- Optional: id, provider, project, createdAtDatetime, createdAtOperator, updatedAtDatetime, Updated At Operator, customDataId, value, website, city, country, line1, line2, postalCode, region, ids, notes
- SDK: `runAction({ app: "trustlayer", actionType: "search_or_write", action: "partySearch" })`
- CLI: `npx zapier-sdk run-action trustlayer search_or_write partySearch`

##### Find or Create Project
Finds a project by name, description or external ID.

- Type: search_or_write · Key: `projectSearch`
- Requires: name
- Optional: description, startDate, endDate, provider, ids, customDataId, value
- SDK: `runAction({ app: "trustlayer", actionType: "search_or_write", action: "projectSearch" })`
- CLI: `npx zapier-sdk run-action trustlayer search_or_write projectSearch`

## Frequently asked questions about automating with Teamleader Focus and TrustLayer

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