closeBot.deleteLeadNote deletes a note. CloseBot permits only the note’s author to delete it.
automations/delete-closebot-note.automation.ts
Inputs
ProvideleadId and noteId.
Output
Returnsnull after CloseBot accepts the deletion.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete an internal CloseBot conversation note.
closeBot.deleteLeadNote deletes a note. CloseBot permits only the note’s author to delete it.
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
export default automation("Delete CloseBot note", () => {
onDashboardRun({ title: "Delete CloseBot note" })
closeBot.deleteLeadNote({ leadId: "lead-id", noteId: "note-id" })
})
leadId and noteId.
null after CloseBot accepts the deletion.