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

> Creates an item in a vault available to the service account.

`onePassword.createItem` creates an item in a vault available to the service account.

This action requires a service-account connection.

## Example

```ts automations/onepassword-create-item.automation.ts theme={null}
import { automation, onSchedule } from "automate.ax"
import { ItemCategory, onePassword } from "automate.ax/onepassword"

export default automation("Create item", () => {
  onSchedule({ schedule: "0 * * * *" })

  onePassword.createItem({
    item: {
      category: ItemCategory.Login,
      title: "Production login",
      vaultId: "vault-id",
    },
  })
})
```

## Inputs

`item` accepts the official SDK item-create shape, including fields, sections, websites, tags, files, or a Document payload. Every input accepts a compatible signal. Account-backed actions accept an optional second argument `{ account }` to select a named binding.

## Output

Returns the decrypted created item. The output is sensitive.
