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
Element details
type: meya.user.component.identify
class: UserIdentifyComponent
path: /meya/user/component/identify.py
signature: user_identify
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | Mark this component's event as sensitive. This will encrypt the event if the Sensitive Data integration has been enabled. | ○ | ○ | false | bool |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
user_identify | The integration user ID to identify | ◉ | ◉ | str | |
integration | ◉ | ○ | IntegrationRef | ||
data | ○ | ○ | null | dict | |
default_data | ○ | ○ | null | dict | |
Usage reference
Basic
triggers:
- keyword: meya.user.component.identify
steps:
- user_identify: STRING
integration: integration.generic
Full
triggers:
- keyword: meya.user.component.identify
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
user_identify: STRING
integration: integration.generic
data:
STRING: ANY
default_data:
STRING: ANY