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

> Creates exactly one notifier channel.

`axiom.createNotifier` creates exactly one notifier channel. Supported channels include email, Slack, webhooks, PagerDuty, incident-management services, Discord, and Microsoft Teams.

```ts automations/axiom-create-notifier.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { axiom } from "automate.ax/axiom"

export default automation("Create notifier", () => {
  onHttpRequest({ scope: "automation" })
  axiom.createNotifier({
    name: "Operations email",
    properties: { email: { emails: ["ops@example.com"] } },
  })
})
```

## Inputs

`name` and exactly one channel in `properties` are required. Supported shapes are:

* `email.emails` with at least one email address
* `slack.slackUrl`, `webhook.url`, `discordWebhook.discordWebhookUrl`, or `microsoftTeams.microsoftTeamsUrl`
* `customWebhook` with `url`, non-empty `body`, and optional public or secret header maps
* `pagerduty` with `routingKey` or `token`
* `opsgenie` with `apiKey` and optional `isEU`
* `discord` with `discordChannel` and `discordToken`

`disabledUntil` is optional and may be an Axiom timestamp or `null`. Automate.ax adds no defaults.

## Output

Returns the created notifier with its `id`, effective properties, pause schedule, and available audit metadata.

## Permission and failures

The API token needs the organization-level `notifiers|create` capability. Axiom rejects invalid destination URLs, credentials, templates, and unsupported channel configurations. This mutation is not retried automatically after an ambiguous provider response.
