2. SMS Balance Update to Customer
Metadata
- Name: 2. SMS Balance Update to Customer
- Adaptor:
@openfn/language-telerivet - Adaptor Version:
latest - Created almost 7 years ago
- Updated over 2 years ago
- Score: 3 (an indicator of how useful this job may be)
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
)
)
);