closeBot.publishBot publishes the bot’s current saved draft.
automations/publish-closebot-bot.automation.ts
Inputs
ProvidebotId.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Publish the current draft of a CloseBot bot.
closeBot.publishBot publishes the bot’s current saved draft.
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
export default automation("Publish CloseBot bot", () => {
onDashboardRun({ title: "Publish CloseBot bot" })
closeBot.publishBot({ botId: "bot-id" })
})
botId.