Skip to content

Latest commit

 

History

History
60 lines (30 loc) · 1.38 KB

README.md

File metadata and controls

60 lines (30 loc) · 1.38 KB

quipbot

Quipbot with integration to Salesforce

This Quipbot opens a websocket to quip, and can retrieve and update Salesforce data.

##Usage

###query: #sobject limit fields

examples:

#case 10

gets 10 cases

#contact 50 id,firstname,lastname

gets 50 contacts with id, firstname and lastname

###update: #upload sobject

examples

#upload case

updates all retrieved cases

if you want to update records always load the id as the first field!

##Steps to setup:

Create a new quip org, the trial is free! If you already have an org for your company, go create a personal one anyway!

When you're logged in, go to this link: Personal API Token Copy the API Token, then click below on the deploy button:

But first, make sure you're not using your production org where you, and all your co-workers store highly confidential information.

Deploy

Pick a name for your app, and be sure to use the same url in the WHERE environment variable.

Just put xxx in the SFDC_ environment variables for now.

Go to your (dev or demo environment) Salesforce, create a new connected app for oauth.

For the callback url use: https://yourquipbot.herokuapp.com/oauth2/callback

Copy / past the consumer keys into the setting of the heroku app.

Restart the dyno.

Result!