> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Create Smart FAQ

> Create a CloseBot Smart FAQ for one source.

`closeBot.createSmartFaq` creates an authored question and answer for one source.

```ts automations/create-closebot-faq.automation.ts theme={null}
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.",
  })
})
```

## Inputs

Provide `sourceId`, `question`, and `answer`.

## Output

Returns `null` after CloseBot creates the FAQ.
