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.notifications.Notification.sObject.Phone_Number__c')
),
field('message_type', 'sms'),
field('route_id', 'PN5d224d8136086997'),
field('content',
'Payment successful! Your updated contract balance is '
+ state.data.Envelope.Body.notifications.Notification.sObject.AmountDue__c
)
)
);