MCP server
get_lead_automation_history
List every automation run recorded for one lead, newest first, as automationLogs[] with status, message (the result or error text), automation (the automation id, see list_automations) and executedAt.
Lead automation history · Read-only
List every automation run recorded for one lead, newest first, as automationLogs[] with status, message (the result or error text), automation (the automation id, see list_automations) and executedAt. Use it to check whether a lead reached Slack, a CRM, a webhook or an email campaign and why a run failed. leadId comes from get_leads. To run automations again use retrigger_automations or rerun_automation_for_lead. Read-only.
| Connection | Account URL, team member URL or OAuth |
|---|
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
leadId | string | Yes | Lead id (the _id of a row returned by get_leads). |
Tool definition
What your assistant receives from tools/list:
{
"name": "get_lead_automation_history",
"title": "Lead automation history",
"annotations": {
"title": "Lead automation history",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
},
"inputSchema": {
"type": "object",
"properties": {
"leadId": {
"type": "string",
"description": "Lead id (the _id of a row returned by get_leads)."
}
},
"required": [
"leadId"
]
}
}