closeBot.createSmartFaq creates an authored question and answer for one source.
automations/create-closebot-faq.automation.ts
Inputs
ProvidesourceId, question, and answer.
Output
Returnsnull after CloseBot creates the FAQ.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a CloseBot Smart FAQ for one source.
closeBot.createSmartFaq creates an authored question and answer for one source.
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
export default automation("Create CloseBot FAQ", () => {
onDashboardRun({ title: "Create Smart FAQ" })
closeBot.createSmartFaq({
sourceId: "source-id",
question: "What are your hours?",
answer: "Monday through Friday, 9 AM to 5 PM.",
})
})
sourceId, question, and answer.
null after CloseBot creates the FAQ.