zendesk.support.user.create_or_update

Create (or update) a user in Zendesk Support.

Here is an example of how to use this component to create a user using
their email:

triggers:
  - keyword: zendesk_user_create_or_update

steps:
  - say: Creating or updating user using email...
  - type: meya.zendesk.support.component.user.create_or_update
    integration: integration.zendesk.support
    link: true
    email: [email protected]

  - say: User (@ flow.result.id ) created or updated

Element details

type: meya.zendesk.support.component.user.create_or_update
class: ZendeskSupportUserCreateOrUpdateComponent
path: /meya/zendesk/support/component/user/create_or_update.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
contextSend context data with this component's event.{}
dict
sensitivetruebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.[]list
integrationThe reference path to the Zendesk Support integration file. See the integration reference paths documentation for more information.ZendeskSupportIntegrationRef
linkWhether to link the user to the current Meya user. This will use the Zendesk user ID returned from the API response as the integration user ID for Meya to link to.truebool
nameThe user's name.nullstr
detailsAny details you want to store about the user, such as an addressnullstr
emailThe user's primary email address. Writeable on create only. On update, a secondary email is added. See the Zendesk email address documentation for more information.nullstr
verifiedWhether any of the user's identities have been verified.nullbool
phoneThe user's primary phone number. See the Zendesk phone number documentation for more information.nullstr
tagsAn array of tags to add to the user. This is only present if user tagging is enabled for your Zendesk instance.nulllist
user_fieldsValues of custom fields in the user's profile. See the Zendesk user fields documentation for more information.nulldict
external_idAn ID you can use to link Zendesk Support users to local records. Note, the Zendesk API treats the ID as case sensitive.nullstr

Usage reference

Basic

triggers:
  - keyword: meya.zendesk.support.component.user.create_or_update
steps:
  - type: meya.zendesk.support.component.user.create_or_update
    integration: integration.zendesk_support

Full

triggers:
  - keyword: meya.zendesk.support.component.user.create_or_update
steps:
  - type: meya.zendesk.support.component.user.create_or_update
    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
    integration: integration.zendesk_support
    link: false
    name: STRING
    details: STRING
    email: STRING
    verified: false
    phone: STRING
    tags:
      - STRING
    user_fields:
      STRING: ANY
    external_id: STRING