The reply toolbar is displayed when sending a reply to an email.
Configuration
Navigate to Search » Toolbars.
Edit the record for mail.reply
.
Add interactions using toolbar KATA.
interaction/autoreply:
label: Auto-Reply
uri: cerb:automation:example.autoreply
icon: magic
The following placeholders are available in KATA:
Key | |
---|---|
message_* |
The message record. Supports key expansion. |
worker_* |
The active worker record. Supports key expansion. |
Interactions
Caller: cerb.toolbar.mail.reply
Inputs
The following caller_params
are passed to the interaction:
Key | Type | |
---|---|---|
selected_text |
string | The currently selected editor text, if any |
text |
string | The full editor text |
Output
The caller expects the following return:
dictionary:
Key | Type | |
---|---|---|
snippet |
string | A snippet of text to insert in the editor at the cursor |