The message toolbar is displayed when viewing email messages on a ticket profile page.
Configuration
Navigate to Search » Toolbars.
Edit the record for mail.read
.
Add interactions using toolbar KATA.
interaction/feedback:
label: Capture Feedback
icon: conversation
uri: cerb:automation:example.captureFeedback
#after:
The following placeholders are available in KATA:
Key | |
---|---|
message_* |
The message record. Supports key expansion. |
widget_* |
The widget record. Supports key expansion. widget__type will be one of: card_widget, profile_widget, or workspace_widget. |
worker_* |
The active worker record. Supports key expansion. |
Interactions
Caller: cerb.toolbar.mail.read
Inputs
The following caller_params
are passed to the interaction:
Key | Type | |
---|---|---|
message_id |
record | The message record |
selected_text |
string | The currently selected text |
Output
The caller expects the following return:
dictionary:
Key | Type | |
---|---|---|
reply:draft_id: |
record | The draft ID to resume |
after:
Key | Type | |
---|---|---|
refresh_widgets@list: |
records | One or more profile widget names to refresh |