Create SMS linked to contact
📜 This job is an official example from OpenFn.
Metadata​
- Name: Create SMS linked to contact
- Adaptor:
@openfn/language-salesforce
- Adaptor Version:
latest
- Created date unknown
- Updated date unknown
- Score: 100 (an indicator of how useful this job may be)
Key Functions​
create
, dataValue
, field
, fields
, relationship
Expression​
create(
'SMS__c',
fields(
field('text__c', dataValue('message_text')),
relationship(
'Contact__r',
'Contact_Phone_Number__c',
dataValue('from_number')
),
field('date__c', dataValue('date'))
)
);