Skip to content

jamesward/salesforce-webhook-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce Webhook Creator

This is a simple web app that makes it easy to create Webhooks on Salesforce. For usage info see: http://www.jamesward.com/2014/06/30/create-webhooks-on-salesforce-com

Either use a shared instance of this app: https://salesforce-webhook-creator.herokuapp.com/

Or deploy your own instance on Heroku:

  1. Create a new Connected App in Salesforce:

    1. Create a Connected App
    2. Check Enable OAuth Settings
    3. Set the Callback URL to http://localhost:9000/_oauth_callback
    4. In Available OAuth Scopes select Full access (full) and click Add
    5. Save the new Connected App and keep track of the Consumer Key & Consumer Secret for later use
  2. Deploy this app on Heroku: Deploy

  3. Edit the Connected App on Salesforce and update the Callback URL to be https://YOUR_APP_NAME.herokuapp.com/_oauth_callback

Local Dev

Run Locally:

export FORCE_CONSUMER_KEY=YOUR_CONSUMER_KEY
export FORCE_CONSUMER_SECRET=YOUR_CONSUMER_SECRET

./sbt run

Test:

export FORCE_CONSUMER_KEY=YOUR_CONSUMER_KEY
export FORCE_CONSUMER_SECRET=YOUR_CONSUMER_SECRET
export FORCE_USERNAME=YOUR_SALESFORCE_USERNAME
export FORCE_PASSWORD=YOUR_SALESFORCE_PASSWORD

./sbt test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published