node-red-contrib-salesforce-chatter

1.0.6 • Public • Published

node-red-contrib-salesforce-chatter

A processing node of Node-RED nodes for Salesforce Chatter

NPM

Pre-requisites

The node-red-contrib-salesforce-chatter requires Node-RED to be installed.

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-salesforce-chatter

Restart your Node-RED instance, the force node appears in the palette and ready for use.

Overview

node-red-contrib-salesforce-chatter contains the following modules.

force chatter content node

Post a message to Chatter. The message to be posted is set in msg.payload using the following structure:

msg.payload = [
      {
            text: "This is the message 1",
            mention: "chatty.00d2w000009yf8ueaw.9wfk1pviifmg@chatter.salesforce.com"//email to mention
      },
      {
            text: "Message 2 without mentioning"
      }
];

You can also post image which is set in msg.binaryBuffer and msg.filename (include image extension).

Tip: For more information on connected apps, see Create a Connected App in the Salesforce Help.

Acknowledgements

The node-red-contrib-salesforce-chatter uses the following open source software:

  • JSforce: Salesforce API Library for JavaScript applications.
  • Request: Simplified HTTP request client.
  • force-node: A collection of Node-RED nodes for Salesforce/force.com.

Package Sidebar

Install

npm i node-red-contrib-salesforce-chatter

Weekly Downloads

7

Version

1.0.6

License

MIT

Unpacked Size

78.8 kB

Total Files

12

Last publish

Collaborators

  • vnxtreme