PlatformDocs
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.

View as Markdown

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.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredAcceptsDescription
leadIdstringYesanyLead 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"
    ]
  }
}

On this page