node-red-contrib-salesforce-chatter
v1.0.6
Published
A processing node of Node-RED nodes for Salesforce Chatter.
Downloads
5
Readme
node-red-contrib-salesforce-chatter
A processing node of Node-RED nodes for Salesforce Chatter
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: "[email protected]"//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] (https://github.com/jsforce/jsforce): Salesforce API Library for JavaScript applications.
- [Request] (https://github.com/request/request): Simplified HTTP request client.
- [force-node] (https://github.com/joeartsea/node-red-contrib-force): A collection of Node-RED nodes for Salesforce/force.com.