0.3.13 • Published 10 months ago
@openfn/language-telerivet v0.3.13
Language Telerivet
Language Pack for sending messages using the telerivet API.
Documentation
Configuration
View all the required and optional properties for state.configuration in the
official
configuration-schema
definition.
Send message
Current send expression:
send(
fields(
field('to_number', dataValue('recipient_number')),
field('content', dataValue('recipient_text')),
// Lots of optional parameters...
field('message_type', 'sms'),
field('route_id', dataValue('some_route'))
)
);sendBulk messages - WIP
Current sendBulk expression:
send(fields(
field("content", dataValue("recipient_text")),
field("to_numbers", [
"+14155550123",
"+14255550234",
"+16505550345"
]
// Lots of optional parameters...
field("message_type", "sms"),
field("route_id", dataValue("some_route"))
))Note that "recipient_text" may be a concatenation like this:
field('content', function (state) {
return dataValue('salutation')(state).concat(
'. ',
dataValue('last_name')(state),
', )'
);
});Development
Clone the adaptors monorepo. Follow the
Getting Started guide inside to get set up.
Run tests using pnpm run test or pnpm run test:watch
Build the project using pnpm build.
To just build the docs run pnpm build docs
0.3.9
11 months ago
0.3.13
10 months ago
0.3.12
10 months ago
0.3.11
10 months ago
0.3.10
11 months ago
0.3.6
1 year ago
0.3.8
1 year ago
0.3.7
1 year ago
0.3.5
1 year ago
0.3.4
1 year ago
0.3.3
1 year ago
0.3.0
2 years ago
0.3.2
1 year ago
0.3.1
2 years ago
0.2.1
3 years ago
0.1.4
3 years ago
0.1.2
3 years ago
0.1.3
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago