Skip to main content

2. SMS Balance Update to Customer

This job was provided by an OpenFn.org user via the job library API.

Metadata

Key Functions

dataValue, field, fields, send

Expression

send(
fields(
field('to_number',
dataValue('Envelope.Body.notification.Phone_Number__c')
),
field('message_type', 'sms'),
field('route_id', 'PN5d224d8136086997'),
field('content',
'Payment successful! Your updated contract balance is '
+ state.data.Envelope.Body.notification.AmountDue__c
)
)
);