salesforce.contact.create

Element details

type: meya.salesforce.component.contact.create
class: SalesforceContactCreateComponent
path: /meya/salesforce/component/contact/create.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
linkLinks the current Meya user with the integration user when true (coming soon).falsebool

Usage reference

Basic

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

Full

triggers:
  - keyword: meya.salesforce.component.contact.create
steps:
  - type: meya.salesforce.component.contact.create
    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
    link: false