automation.editor
The toolbar displayed in the automation editor.
Configuration
Navigate to Search » Toolbars.
Edit the record for automation.editor
.
Add interactions using toolbar KATA.
interaction/magic:
uri: cerb:automation:wgm.example.openai
icon: magic
tooltip: Add form elements with OpenAI
hidden@bool:
{{trigger_name not in [
'interaction.website',
'interaction.worker',
]}}
The following placeholders are available in KATA:
Key | |
---|---|
trigger_id |
The extension ID of the current automation trigger. |
trigger_name |
The name of the current automation trigger. |
worker_* |
The active worker record. Supports key expansion. |
Interactions
Output
The caller expects the following return:
dictionary:
Key | Type | |
---|---|---|
snippet |
string | A snippet of text to insert in the editor at the cursor |