closeBot.deleteSmartFaq permanently deletes one FAQ.
automations/delete-closebot-faq.automation.ts
Inputs
ProvidefaqId.
Output
Returnsnull after deletion.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a CloseBot Smart FAQ.
closeBot.deleteSmartFaq permanently deletes one FAQ.
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
export default automation("Delete CloseBot FAQ", () => {
onDashboardRun({ title: "Delete Smart FAQ" })
closeBot.deleteSmartFaq({ faqId: "faq-id" })
})
faqId.
null after deletion.