Upsert User in Salesforce
Metadata
- Name: Upsert User in Salesforce
- Adaptor:
@openfn/language-salesforce
- Adaptor Version:
v1.3.2
- Created over 3 years ago
- Updated about 24 hours ago
- Score: 0 (an indicator of how useful this job may be)
Key Functions
dataPath
, dataValue
, each
, field
, fields
, upsert
Expression
//Example job to upsert Users in Salesforce
each('$.users[*]',
dataPath('state.data.users'),
upsert('User', 'Email', fields(
field('Email', dataValue('email')),
field('FirstName', dataValue('firstName')),
field('LastName', dataValue('surname')),
field('Active', 'true')
))
);