type: meya.session.trigger.page.open
class: PageOpenTrigger
path: /meya/session/trigger/page/open.py
signature: -
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
bot | ○ | ○ | BotRef | null | Bot used to evaluate this trigger |
action | ○ | ◉ | TriggerActionEntry | Action executed if this trigger matches | |
when | ○ | ◉ | typing.Any | Custom condition for when to evaluate this trigger | |
confidence | ○ | ○ | Real | null | Custom confidence override value for trigger matches |
magic_link_error | ○ | ○ | bool | null |
Examples
Basic
triggers:
- type: meya.session.trigger.page.open
when: ANY
steps:
- say: STRING
Full
type: meya.session.trigger.page.open
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
magic_link_error: false