type: meya.orb.component.magic_link
class: OrbMagicLinkComponent
path: /meya/orb/component/magic_link.py
signature: magic_link
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 | false | Mark this component's event as sensitive |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
magic_link | ◉ | ◉ | str | ||
integration | ○ | ◉ | OrbIntegrationRef | ||
integration_user_id | ○ | ○ | str | null | |
integration_thread_id | ○ | ○ | str | null | |
button_id | ○ | ◉ | str | ||
single_use | ○ | ◉ | bool | ||
expiry | ○ | ○ | timedelta | "1d" |
Examples
Basic
triggers:
- keyword: meya.orb.component.magic_link
steps:
- magic_link: STRING
integration: integration.orb
button_id: STRING
single_use: false
Full
triggers:
- keyword: meya.orb.component.magic_link
steps:
- 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
magic_link: STRING
integration: integration.orb
integration_user_id: STRING
integration_thread_id: STRING
button_id: STRING
single_use: false
expiry: 60s