# Function: runAutomations()

```ts
function runAutomations(
   node, 
   space, 
   account, 
   options?
): Promise<void>;
```

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

Runs, once, every automation `account` runs in a space: acts for each record
an automation newly holds for, and leaves a run for it. `startAutomations`
calls it when records change; a device can call it itself.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `node` | [`P2PNode`](https://minca.dev/api/core/interfaces/P2PNode.md) |
| `space` | `string` |
| `account` | `string` |
| `options?` | [`RunAutomationsOptions`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md) |

## Returns

`Promise`\<`void`\>
