# Interface: RunAutomationsOptions

Defined in: [packages/std/src/automations.ts:447](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L447)

## Extended by

- [`StartAutomationsOptions`](https://minca.dev/api/std/interfaces/StartAutomationsOptions.md)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-ask"></a> `ask?` | `readonly` | (`trigger`) => `Promise`\<`Pick`\<\{ `at`: `string`; `did`: `string`; `made?`: `string`; `ok`: `boolean`; \}, `"did"` \| `"ok"`\>\> | Does what an automation asks an agent. Without it, automations that ask are left to a runner that can. | [packages/std/src/automations.ts:453](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L453) |
| <a id="property-bot"></a> `bot?` | `readonly` | `boolean` | A bot, running as an account of its own: nothing it writes sets an automation off | [packages/std/src/automations.ts:449](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L449) |
| <a id="property-busy"></a> `busy?` | `readonly` | `Set`\<`string`\> | Records being acted on now, shared across calls so a second look leaves them alone | [packages/std/src/automations.ts:457](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L457) |
| <a id="property-claimms"></a> `claimMs?` | `readonly` | `number` | How long to wait after claiming a record before acting, to hear whether a device of the same account claimed it too; the earlier claim acts and the later steps back. 0, the default, doesn't wait. | [packages/std/src/automations.ts:463](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L463) |
| <a id="property-notify"></a> `notify?` | `readonly` | [`AutomationNotifier`](https://minca.dev/api/std/type-aliases/AutomationNotifier.md) | Shows a notification. Without it, a `notify` automation's run says nothing could. | [packages/std/src/automations.ts:451](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L451) |
| <a id="property-onrun"></a> `onRun?` | `readonly` | (`trigger`, `run`) => `void` | Each time an automation acted | [packages/std/src/automations.ts:465](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L465) |
| <a id="property-title"></a> `title?` | `readonly` | (`record`) => `string` | What a record is called, for `{title}` | [packages/std/src/automations.ts:455](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L455) |
