MCPFerramentas MCP/Apps conectados/run_crm_import
run_crm_import
Writereview-invite:write
Start importing contacts from a connected CRM into review-invite campaigns. Returns a run id IMMEDIATELY — a real CRM takes minutes to read, so this queues the work rather than waiting. Tell the user it's started and that the result appears in Recipients → Import history; do not claim a contact count, you won't have one. Contacts are routed to locations by the connection's mapping rule; pass locationId to send everything to one location instead. Contacts whose location can't be resolved are skipped, never filed under a default. You don't pass an agency — it comes from your credentials.
Parâmetros
connectionIdstringobrigatório
The CRM connection to import from, from list_connected_apps (required).
locationIdstringopcional
Send every imported contact to this one location, ignoring the connection's routing rule. Use when the user says "map them all to X". Omit to use the stored mapping.
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run_crm_import",
"arguments": {
"connectionId": "string"
}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.