https://github.com/pcon/hubot-salesforce-slack
A slack module for hubot to display Salesforce related data
https://github.com/pcon/hubot-salesforce-slack
Last synced: 12 months ago
JSON representation
A slack module for hubot to display Salesforce related data
- Host: GitHub
- URL: https://github.com/pcon/hubot-salesforce-slack
- Owner: pcon
- License: gpl-3.0
- Created: 2016-10-26T18:59:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T19:44:29.000Z (about 9 years ago)
- Last Synced: 2025-04-04T11:35:47.322Z (about 1 year ago)
- Language: JavaScript
- Size: 168 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hubot-salesforce-slack
A slack module for hubot to display Salesforce related data
See [`src/salesforce-slack.js`](src/salesforce-slack.js) for full documentation.
## Installation
In hubot project repo, run:
`npm install hubot-salesforce-slack --save`
Then add **hubot-salesforce-slack** to your `external-scripts.json`:
```json
[
"hubot-salesforce-slack"
]
```
# Interactions
## Instance Status
Gets the current status of the instance requested
```
user1> darylshaber status na7
```

## Instance Version
Gets the current version of the instance requested
```
user1> darylshaber version na7
```

## Alias
Gets the underlying org for a given alias
```
user1>> darylshaber alias org62
darylshaber>> @user1 org62 runs on NA44
```

## Pod Metrics
Displays two graphs representing the metrics for all pods. These graphs are the daily transaction count (in billions) and the daily average transaction time (in ms).
```
user1> darylshaber metrics
```

## NPM Module
https://www.npmjs.com/package/hubot-salesforce-slack