type: meya.front.component.contact.handle.add
class: FrontContactHandleCreateComponent
path: /meya/front/component/contact/handle/add.py
signature: -
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
integration | ○ | ◉ | FrontIntegrationRef | A string identifier for the Front integration (e.g. integration.front) | |
handle | ○ | ◉ | str | A human readable alias for the Front contact. The format is alt:: (e.g. alt | |
source | ○ | ○ | FrontSource | "custom" | Front contact source. e.g. |
contact_id | ○ | ○ | str | null | The Front Contact ID |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
Examples
Basic
triggers:
- keyword: meya.front.component.contact.handle.add
steps:
- type: meya.front.component.contact.handle.add
integration: integration.front
handle: STRING
Full
triggers:
- keyword: meya.front.component.contact.handle.add
steps:
- type: meya.front.component.contact.handle.add
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
integration: integration.front
handle: STRING
source: email|phone|twitter|facebook|intercom|front_chat|custom
contact_id: STRING
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY