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.
asks firstChanges something in your workspace, so clients ask you before running it.
What it does
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 | Description |
|---|---|---|
client_idrequired | string | The client's id (from search_clients).Up to 64 characters |
source_idrequired | string | recordRef.sourceId from search_clients' crm.results.Up to 200 characters |
entityrequired | string | recordRef.entity.Up to 100 characters |
record_idrequired | string | recordRef.recordId.Up to 200 characters |
Call it
Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "link_client_crm",
"arguments": {
"client_id": "<client_id>",
"source_id": "<source_id>",
"entity": "<entity>",
"record_id": "<record_id>"
}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"additionalProperties": false,
"properties": {
"client_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The client's id (from search_clients)."
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "recordRef.sourceId from search_clients' crm.results."
},
"entity": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "recordRef.entity."
},
"record_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "recordRef.recordId."
}
},
"required": [
"client_id",
"source_id",
"entity",
"record_id"
]
}list_client_documents
The documents (PDFs and Docs) that belong to a client, newest first, as on the client's page: id, name, kind, status and status group (needs_you, drafts, waiting, completed, declined, expired, voided), owner, envelope id and a url to open it, plus counts per group.
save_library_as_template
Keep an AppliFlo library contract or official government form (a "lib_..." template_id from list_templates) as one of the workspace's OWN saved templates, as the app's Templates page does, so the workspace can edit its roles, settings and boxes.