Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@seven.io/nodered

seven-io3MIT4.0.0

sms77 node collection for Node-RED.

cnam, hlr, mnp, node-red, sms, sms77, text2speech, tts

readme

Official seven nodes for Node-RED

Node-RED node collection for sending SMS , text-to-speech calls and number validation via seven.

Installation

Run the following command in your Node-RED user directory - usually ~/.node-red:

NPM npm install @seven.io/nodered

Yarn yarn add @seven.io/nodered

Request Options

sms77-config node

API Key: An API key from seven - create one in your developer dashboard.

Name: An arbitrary name for the node, helpful if you use multiple configurations.

sms77-sms node

Use this node for sending SMS.

Config*: A sms77-config node.

Message*: The SMS text which defaults to msg.payload. May not exceed 1520 characters.

Recipient(s)*: SMS recipient(s) separated by comma defaulting to msg.topic.

From (Sender): Set a custom sender identifier.

Label: Set a custom label for sorting analytics.

Foreign ID: Optionally set a custom value returned in callbacks.

UDH: Set a custom user data header.

TTL: Set a custom time to live in minutes.

Delay: Set a custom date for time-delayed dispatch in the form of a Unix timestamp or a date/time string formatted as yyyy-mm-dd hh:ii.

Return JSON?: If enabled, the API returns a detailed JSON response.

Unicode?: If enabled, enforce unicode encoding ignoring API detection.

Flash?: If enabled, SMS get sent as flash.

Details?: If enabled, the API returns dispatch specific information - is ignored if json is enabled.

UTF8?: If enabled, enforce UTF8 encoding ignoring API detection.

No Reload?: If enabled, dispatch of duplicate SMS, text and recipient alike within 180 seconds, gets allowed.

Performance Tracking?: If enabled, links found in the text get replaced with a shortened URL and click tracking enabled.

Name: An arbitrary name for the node helpful for identification.

sms77-voice node

Use this node for converting a text to speech, call a number and read the message out loud.

Config*: A sms77-config node.

Message*: The text to convert to voice which defaults to msg.payload. May not exceed 10.000 characters.

Recipient(s)*: The recipient(s) of the call separated by comma defaulting to msg.topic .

From (Caller): The caller identifier which must be your own virtual number or a shared number.

Is XML?: If enabled, the API parses the text as XML format.

Return JSON?: If enabled, the API returns a detailed JSON response.

Ringtime: Define how long to initiate the call.

Name: An arbitrary name for the node helpful for identification.

sms77-lookup node

Use this node for performing number lookups.

Config*: A sms77-config node.

Number(s)*: The phone number(s) to look up separated by comma.

Type*: The lookup type to perform.

Return JSON?: If enabled, the API returns a detailed JSON response for MNP lookups. All other types return JSON by default.

Name: An arbitrary name for the node helpful for identification.

Required options are marked with an asterisk (*).

Visit our API Documentation for a detailed request description.

Support

Need help? Feel free to contact us.

MIT

changelog

3.4.0

  • add parameter ringtime to voice node
  • bump sms77-client to ^2.26.0
  • bump node-fetch to ^2.7.0

3.3.0

  • use empty string for unset parameters
  • fix wrong context when using multiple nodes of the same type
  • bump sms77-client to ^2.25.0

3.2.0

  • add missing translations
  • extend README
  • add .npmignore
  • add locale "de"
  • bump sms77-client to ^2.14.0
  • bump node-fetch to ^2.6.6
  • fix response validation for sms

3.1.0

  • add lookup node

3.0.0

  • fixed nodes paths
  • enable sending multiple text-to-speech calls
  • prepared internationalization
  • add option voice.json

2.0.0

  • changed nodes naming style from PascalCase to kebab-case
  • added remaining request options for /sms and /voice