type: meya.directly.component.automate.feedback
class: DirectlyAutomateFeedbackComponent
path: /meya/directly/component/automate/feedback.py
signature: -
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
integration | ○ | ◉ | DirectlyIntegrationRef | ||
answer_uuid | ○ | ◉ | str | ||
quick_reply | ○ | ◉ | QuickReply |
Examples
Basic
triggers:
- keyword: meya.directly.component.automate.feedback
steps:
- type: meya.directly.component.automate.feedback
integration: integration.directly
answer_uuid: STRING
quick_reply: ACCEPTED|REJECTED
Full
triggers:
- keyword: meya.directly.component.automate.feedback
steps:
- type: meya.directly.component.automate.feedback
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
integration: integration.directly
answer_uuid: STRING
quick_reply: ACCEPTED|REJECTED