# Function: fillAutomationText()

```ts
function fillAutomationText(
   text, 
   match, 
   title?
): string;
```

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

`{title}`, and `{<include>}` as a count, filled in

## Parameters

| Parameter | Type | Default value |
| ------ | ------ | ------ |
| `text` | `string` | `undefined` |
| `match` | \| `Pick`\<[`AutomationMatch`](https://minca.dev/api/schemas/interfaces/AutomationMatch.md), `"record"` \| `"included"`\> \| `undefined` | `undefined` |
| `title?` | (`record`) => `string` | `titleOf` |

## Returns

`string`
