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

# New mod queue item

> Start when Automate.ax first observes a post or comment in a subreddit moderation queue.

<Warning>
  Reddit connections are temporarily unavailable while Automate.ax awaits
  Reddit's approval for commercial Data API access. You can connect a Reddit
  account after the integration is approved and enabled.
</Warning>

`reddit.onNewModQueueItem` start when Automate.ax first observes a post or comment in a subreddit moderation queue.

```ts automations/reddit-on-new-mod-queue-item.automation.ts theme={null}
import { automation } from "automate.ax"
import { reddit } from "automate.ax/reddit"

export default automation("New mod queue item", () => {
  const event = reddit.onNewModQueueItem({ subreddit: "AutomateAx" })
})
```

## Configuration

Set `subreddit` to the community name without `r/`. Use optional `account` to select a named Reddit binding.

## Event

Returns `{ kind: "post", post }` or `{ kind: "comment", comment }`. The connected account needs Reddit's `read` scope and suitable moderator permissions for the subreddit.

Automate.ax polls once per minute. It establishes a baseline when the trigger becomes active and emits only items observed afterward. Temporary provider failures retry; missing permissions or inaccessible subreddits appear as a trigger reconciliation error.
