salesforce.contact.update

Element details

type: meya.salesforce.component.contact.update
class: SalesforceContactUpdateComponent
path: /meya/salesforce/component/contact/update.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
first_nameThe contact's first name.str
last_nameThe contact's last name.str
emailThe contact's email address.nullstr
mobile_phoneThe contact's mobile phone number.nullstr
phoneThe contact's phone number.nullstr
titleTitle of the contact e.g. CEO or Vice President.nullstr
custom_fieldsDictionary of name, value pairs used to set custom fields for the contact object. Custom fields must be defined by your Salesforce administrator. Field names must be entered using the API Name (ex. HireDate__c).nulldict
integrationSalesforceIntegrationRef
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
contact_idnullstr

Usage reference

Basic

triggers:
  - keyword: meya.salesforce.component.contact.update
steps:
  - type: meya.salesforce.component.contact.update
    first_name: STRING
    last_name: STRING
    integration: integration.salesforce

Full

triggers:
  - keyword: meya.salesforce.component.contact.update
steps:
  - type: meya.salesforce.component.contact.update
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    first_name: STRING
    last_name: STRING
    email: STRING
    mobile_phone: STRING
    phone: STRING
    title: STRING
    custom_fields:
      foo: bar
    integration: integration.salesforce
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    contact_id: STRING