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:
-
Create a new Connected App in Salesforce:
- Create a Connected App
- Check
Enable OAuth Settings
- Set the
Callback URL
tohttp://localhost:9000/_oauth_callback
- In
Available OAuth Scopes
selectFull access (full)
and clickAdd
- Save the new Connected App and keep track of the Consumer Key & Consumer Secret for later use
-
Edit the Connected App on Salesforce and update the
Callback URL
to behttps://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