Skip to main content

nexmo@0.6.2

sendSMS(from, toNumber, message)

This adaptor exports the following from common:

alterState
combine()
dataPath()
dataValue()
each()
field()
fields()
fn()
fnIf()
lastReferenceValue()
log()
merge()
sourceValue()

Functions

sendSMS

sendSMS(from, toNumber, message) ⇒ Operation

Sends an SMS message to a specific phone number

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

Example

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