closeBot.updateLeadAiStatus changes whether CloseBot AI may respond in one conversation.
automations/pause-closebot-ai.automation.ts
Inputs
ProvideleadId and enabled.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Enable or disable CloseBot AI responses for a lead.
closeBot.updateLeadAiStatus changes whether CloseBot AI may respond in one conversation.
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
export default automation("Pause CloseBot AI", () => {
onDashboardRun({ title: "Pause CloseBot AI" })
closeBot.updateLeadAiStatus({ leadId: "lead-id", enabled: false })
})
leadId and enabled.