Skip to main content

nexmo@0.2.0

Functions

execute(operations)Operation

Execute a sequence of operations. Wraps @openfn/language-common/execute, and prepends initial state for http.

sendSMS(from, toNumber, message)Operation

Sends an SMS message to a specific phone number

execute(operations) ⇒ Operation

Execute a sequence of operations. Wraps @openfn/language-common/execute, and prepends initial state for http.

Kind: global function

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

execute(
create('foo'),
delete('bar')
)(state)

sendSMS(from, toNumber, message) ⇒ Operation

Sends an SMS message to a specific phone number

Kind: global function
Access: public

ParamTypeDescription
fromStringName or number the message should be sent from.
toNumberStringDestination phone number.
messageStringText message

Example

sendSMS("OpenFn", "phoneNumber", "Hello World!")