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

# Validate item share recipients

> Validates recipient emails or domains against an item sharing policy.

`onePassword.validateItemShareRecipients` validates recipient emails or domains against an item sharing policy.

This action requires a service-account connection.

## Example

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

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

  const policy = onePassword.getItemSharePolicy({
    itemId: "item-id",
    vaultId: "vault-id",
  })
  onePassword.validateItemShareRecipients({
    policy,
    recipients: ["recipient@example.com"],
  })
})
```

## Inputs

Provide the result of `getItemSharePolicy` and one or more recipient strings. Every input accepts a compatible signal. Account-backed actions accept an optional second argument `{ account }` to select a named binding.

## Output

Returns normalized valid email or domain recipients. Recipient identities are sensitive.
