# link_client_crm

> Link a client to a record in a connected CRM (GlobalyOS or Agentcis), so forms can be prefilled from it and signed PDFs go back to it.

Tool of the AppliFlo MCP server at `https://appliflo.com/api/mcp`. Kind: asks first: it changes something in your workspace, so clients ask you first.

Link a client to a record in a connected CRM (GlobalyOS or Agentcis), so forms can be prefilled from it and signed PDFs go back to it. Take source_id, entity and record_id from a search_clients crm.results hit's recordRef. A client has at most one link per CRM, and a record links to one client (409 otherwise); 422 when that CRM isn't connected or has no such record. Linking the same record again returns the link unchanged. Returns the link (id, crm, label, url).

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `client_id` | string | yes | The client's id (from search_clients). Up to 64 characters |
| `source_id` | string | yes | recordRef.sourceId from search_clients' crm.results. Up to 200 characters |
| `entity` | string | yes | recordRef.entity. Up to 100 characters |
| `record_id` | string | yes | recordRef.recordId. Up to 200 characters |
