> ## 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.

# List Notion data source templates

> List page templates available in a data source.

`notion.listDataSourceTemplates` list page templates available in a data source.

## Example

```ts automations/notion-list-data-source-templates.automation.ts theme={null}
import { automation, onSchedule } from "automate.ax"
import { notion } from "automate.ax/notion"

export default automation("List Notion data source templates", () => {
  onSchedule({ schedule: "0 9 * * *" })

  notion.listDataSourceTemplates({
    data_source_id: "data-source-id",
    page_size: 50,
  })
})
```

## Inputs

`data_source_id` is required. `name` filters templates; `start_cursor` and `page_size` paginate results. Every input accepts a compatible signal, and an optional second argument can select a named account.

## Output

Returns `templates`, `has_more`, and `next_cursor`; each template includes its ID, name, and default flag.
