type: meya.thread.component.try_lookup
class: ThreadTryLookupComponent
path: /meya/thread/component/try_lookup.py
signature: thread_try_lookup
Try to find the thread ID linked to an integration thread.
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 |
thread_try_lookup | ◉ | ◉ | str | The integration ID to look up | |
integration | ○ | ◉ | IntegrationRef |
Examples
Basic
triggers:
- keyword: meya.thread.component.try_lookup
steps:
- thread_try_lookup: STRING
integration: integration.generic
Full
triggers:
- keyword: meya.thread.component.try_lookup
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
thread_try_lookup: STRING
integration: integration.generic