front.contact.update

Element details

type: meya.front.component.contact.update
class: FrontContactUpdateComponent
path: /meya/front/component/contact/update.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.○○nullSpec
integrationA string identifier for the Front integration (e.g. integration.front)◉○FrontIntegrationRef
handleA human readable alias for the Front contact. The format is alt::<handle> (e.g. alt☎️+12345678900)○○nullstr
sourceFront contact source. e.g. email. Front enforces contact handle format depending on the contact source, e.g., for Twitter the contact handle must start with @ This value will only be used in case of contact creation.○○"custom"FrontSource
name○○nullstr
descriptionA description of the contact○○nullstr
avatar_urlThe URL of an image to use as the contact's avatar○○nullstr
group_namesList of all the group names the contact belongs to. Missing groups will be created automatically.○○nulllist
is_spammerIndicates whether or not the contact is marked as a spammer○○nullbool
linksA list of all the links of the contact○○nulllist
custom_fieldsCustom field attributes for this contact. Leave empty if you do not wish to update the attributes. Not sending existing attributes will automatically remove them.○○{}dict
contextSend context data with this component's event.○○{}dict
sensitive○○truebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.○○[]list
contact_idThe Front Contact ID○○nullstr

Usage reference

Basic

triggers:
  - keyword: meya.front.component.contact.update
steps:
  - type: meya.front.component.contact.update
    integration: integration.front

Full

triggers:
  - keyword: meya.front.component.contact.update
steps:
  - type: meya.front.component.contact.update
    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
    name: STRING
    description: STRING
    avatar_url: STRING
    group_names:
      - STRING
    is_spammer: false
    links:
      - STRING
    custom_fields:
      STRING: ANY
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    contact_id: STRING