hubot-salesforce

0.0.2 • Public • Published

hubot-salesforce

Hubot Salesforce handler script to query topics by company.

NPM Version NPM Downloads License

Stories in Ready

See src/salesforce.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-salesforce --save

Then add hubot-salesforce to your external-scripts.json:

["hubot-salesforce"]

Configuration

Environment Variable Notes
SF_INSTANCE_URL url of your salesforce instance eg. https://na2.salesforce.com
SF_CONSUMER_KEY consumer key from the Remote Access Setup page in Salesforce
SF_CONSUMER_SECRET consumer secret from the Remote Access Setup page in Salesforce
SF_USERNAME a valid salesforce login
SF_PASSWORD password and security token mashed together

Usage

hubot salesforce account <ACCOUNT_NAME> - returns a list of matching account.
hubot salesforce query <SOQL_QUERY> - returns the SOQL query results.

Notes

Adapted from lnediger's script submitted to hubot-scripts

Links

Project Repo

Hubot

Contributing

  1. Fork it ( http://github.com/grokify/hubot-salesforce/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Hubot Salesforce script is available under the MIT license. See LICENSE.md for details.

Hubot Salesforce script © 2014 GitHub, 2016 John Wang

Readme

Keywords

Package Sidebar

Install

npm i hubot-salesforce

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • grokify