Element details
type: meya.salesforce.component.contact.create
class: SalesforceContactCreateComponent
path: /meya/salesforce/component/contact/create.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
first_name | The contact's first name. | ◉ | ○ | str | |
last_name | The contact's last name. | ◉ | ○ | str | |
The contact's email address. | ○ | ○ | null | str | |
mobile_phone | The contact's mobile phone number. | ○ | ○ | null | str |
phone | The contact's phone number. | ○ | ○ | null | str |
title | Title of the contact e.g. CEO or Vice President. | ○ | ○ | null | str |
custom_fields | 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). | ○ | ○ | null | dict |
integration | ◉ | ○ | SalesforceIntegrationRef | ||
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
link | Links the current Meya user with the integration user when true (coming soon). | ○ | ○ | false | bool |
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