mail.compose
The compose toolbar is displayed when sending a new email.
Configuration
Navigate to Search » Toolbars.
Edit the record for mail.compose
.
Add interactions using toolbar KATA.
interaction/example:
uri: cerb:automation:example.alert
label: Example
icon: bell
The following placeholders are available in KATA:
Key | |
---|---|
worker_* |
The active worker record. Supports key expansion. |
Interactions
Caller: cerb.toolbar.mail.compose
Inputs
The following caller_params
are passed interactions:
Key | Type | |
---|---|---|
selected_text |
string | The currently selected editor text |
Output
Interactions can return:
the following keys:
Key | Type | |
---|---|---|
snippet |
string | A snippet of text to insert in the editor at the cursor |