# Interface: RunAutomationsOptions

Defined in: [packages/core/src/schemas/automations.ts:505](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L505)

## Extended by

- [`StartAutomationsOptions`](https://minca.dev/api/schemas/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/core/src/schemas/automations.ts:511](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L511) |
| <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/core/src/schemas/automations.ts:507](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L507) |
| <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/core/src/schemas/automations.ts:515](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L515) |
| <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/core/src/schemas/automations.ts:521](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L521) |
| <a id="property-notify"></a> `notify?` | `readonly` | [`AutomationNotifier`](https://minca.dev/api/schemas/type-aliases/AutomationNotifier.md) | Shows a notification. Without it, a `notify` automation's run says nothing could. | [packages/core/src/schemas/automations.ts:509](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L509) |
| <a id="property-onrun"></a> `onRun?` | `readonly` | (`trigger`, `run`) => `void` | Each time an automation acted | [packages/core/src/schemas/automations.ts:523](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L523) |
| <a id="property-title"></a> `title?` | `readonly` | (`record`) => `string` | What a record is called, for `{title}` | [packages/core/src/schemas/automations.ts:513](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L513) |
