salesforce.contact.create

type: meya.salesforce.component.contact.create
class: SalesforceContactCreateComponent
path: /meya/salesforce/component/contact/create.py
signature: -

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

first_name

str

The contact's first name.

last_name

str

The contact's last name.

email

str

null

The contact's email address.

mobile_phone

str

null

The contact's mobile phone number.

phone

str

null

The contact's phone number.

title

str

null

Title of the contact e.g. CEO or Vice President.

custom_fields

dict

null

Dictionary 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).

integration

SalesforceIntegrationRef

context

dict

{}

Send context data with this component's event

sensitive

bool

true

triggers

list

[]

Activate these dynamic triggers when the component runs

link

bool

false

Links the current Meya user with the integration user when true (coming soon).

Examples

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: '?'
    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