user.identify

type: meya.user.component.identify
class: UserIdentifyComponent
path: /meya/user/component/identify.py
signature: user_identify

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

  • If not linked yet, create a new Meya user
  • If data provided, merge into loaded user data
  • If default data provided, merge into loaded user 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

user_identify

str

The integration user ID to identify

integration

IntegrationRef

data

dict

null

default_data

dict

null

Examples

Basic

triggers:
  - keyword: meya.user.component.identify
steps:
  - user_identify: STRING
    integration: integration.generic

Full

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