@sammachin/node-red-dragonpbx 1.0.0

A Node-RED node to append JSON objects to an array in msg.callScript

npm install @sammachin/node-red-dragonpbx

node-red-contrib-json-appender

A Node-RED node that appends a JSON object to an array in msg.callScript.

Installation

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

npm install node-red-contrib-json-appender

Usage

  1. Add the "JSON Appender" node to your flow.
  2. Configure the JSON object to append.
  3. Set whether to create the array if it's missing.
  4. Connect the node to your flow.

Features

  • Append a predefined JSON object to an array in msg.callScript
  • Option to create the array if it doesn't exist
  • Validation of the JSON object during configuration

Example

Here's a basic example of how to use this node:

  1. Inject a message with a payload
  2. Pass it through the JSON Appender node configured with your desired JSON object
  3. The JSON object will be appended to msg.callScript

License

MIT

Node Info

Version: 1.0.0
Updated 3 weeks, 1 day ago
License: MIT
Rating: not yet rated

Categories

Actions

Downloads

0 in the last week

Nodes

  • basenode

Keywords

  • node-red
  • json
  • append
  • array

Maintainers