thread.identify

type: meya.thread.component.identify
class: ThreadIdentifyComponent
path: /meya/thread/component/identify.py
signature: thread_identify

Find and load the Meya thread linked to from an integration thread.

  • If not linked yet, create a new Meya thread
  • If data provided, merge into loaded thread data
  • If default data provided, merge into loaded thread data for keys not yet
    set

Fields

field

signature

required

type

default

description               

spec

ForwardRef('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_identify

str

The integration thread ID to identify

integration

IntegrationRef

data

dict

null

default_data

dict

null

Examples

Basic

triggers:
  - keyword: meya.thread.component.identify
steps:
  - thread_identify: STRING
    integration: integration.generic

Full

triggers:
  - keyword: meya.thread.component.identify
steps:
  - spec: '?'
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    thread_identify: STRING
    integration: integration.generic
    data:
      STRING: ANY
    default_data:
      STRING: ANY