@openfn/language-twilio
TypeScript icon, indicating that this package has built-in type declarations

0.4.2 • Public • Published

Language twilio

Language Pack for building expressions and operations to interact with the twilio API.

Documentation

Configuration

View all the required and optional properties for state.configuration in the official configuration-schema definition.

sendSMS

sample expression, sending an sms

sendSMS({
  body: dataValue('text'),
  from: '+15005550006',
  to: dataValue('recipient'),
});

local usage

~/devtools/core/bin/core execute \
  -l ~/devtools/adaptors/language-twilio \
  -s ./tmp/state.json \
  -o ./tmp/output.json \
  -e ./tmp/expression.js

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

Readme

Keywords

none

Package Sidebar

Install

npm i @openfn/language-twilio

Weekly Downloads

20

Version

0.4.2

License

LGPLv3

Unpacked Size

64.4 kB

Total Files

10

Last publish

Collaborators

  • mtuchi
  • elias-ba
  • stuartc-openfn
  • taylordowns2000