closeBot.endPersonaSplitTest immediately ends a bot’s active persona split test, records its results, and promotes the winning persona as the default.
automations/end-closebot-persona-split-test.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.
End a CloseBot bot’s persona split test and promote its winner.
closeBot.endPersonaSplitTest immediately ends a bot’s active persona split test, records its results, and promotes the winning persona as the default.
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
export default automation("End CloseBot persona split test", () => {
onDashboardRun({ title: "End persona split test" })
closeBot.endPersonaSplitTest({ botId: "bot-id" })
})
botId.