Skip to content

Params node

Guido edited this page Jun 9, 2020 · 5 revisions

The Params node is used to specify some platform related parameters or flag. For example in Telegram it's possible to deliver a message silently while in Twilio it's possible to specify the originator number (overriding the bot configuration).

The text-like values of parameters also accepts chat contexts variables. For example in Telegram to modify the previous sent message instead of sending a new one, just add a parameter, select platform Telegram then select "Reply to message" and then type {{messageId}}

Modify message flow

The same can obtained with in a upstream Function node:

msg.params = [
  { platform: 'telegram', name: 'modifyMessageId', value: '{{messageId}}'
];
return msg;

Available parameters for the msg.payload

Name Type Description
params array of [param] Array of parameters to send to the Sender node

The param object

Name Type Description
platform string The specific platform (transport) this parameter is used for (telegram, slack, facebook, etc)
name string The name of the parameter
value any The value of the parameter
Clone this wiki locally