retrigger_automations
Runs a website's automations again for a list of leads, for example after a CRM or Slack connection was fixed.
Rerun automations for leads · Changes data · Acts outside your account
Runs a website's automations again for a list of leads, for example after a CRM or Slack connection was fixed. This can send Slack messages, push to CRMs, call webhooks and add people to email campaigns. Confirm with the user before calling. Get leadIds from get_leads and automationIds from list_automations. To rerun one automation type for one lead and see the outcome, use rerun_automation_for_lead. To see what already ran for a lead, use get_lead_automation_history. leadIds and automationIds must both be non-empty lists; otherwise the call returns 400.
| Connection | Account URL, team member URL or OAuth |
|---|
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
websiteId | string | Yes | Website ID from list_websites. |
leadIds | string[] | Yes | Lead _ids from get_leads, e.g. ["64f1c2..."]. Must not be empty. |
automationIds | string[] | Yes | Automation _ids from list_automations to run for these leads, e.g. ["65a0..."]. Must not be empty. |
Tool definition
What your assistant receives from tools/list:
{
"name": "retrigger_automations",
"title": "Rerun automations for leads",
"annotations": {
"title": "Rerun automations for leads",
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true
},
"inputSchema": {
"type": "object",
"properties": {
"websiteId": {
"type": "string",
"description": "Website ID from list_websites."
},
"leadIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Lead _ids from get_leads, e.g. [\"64f1c2...\"]. Must not be empty."
},
"automationIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Automation _ids from list_automations to run for these leads, e.g. [\"65a0...\"]. Must not be empty."
}
},
"required": [
"websiteId",
"leadIds",
"automationIds"
]
}
}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.
list_crm_variables
The lead and company fields (name, email, job title, company size, pages visited, score…) that can be mapped to fields in your CRM.