GitXplorerGitXplorer
t

intercom-webhook-reassign-away-mode

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f6d5c47fe83713a3e9a942e791793bc94ddefe50

Update dependencies

committed 7 years ago
Unverified
df7cd4863555f69486377c58ded4db48337854ad

Initial commit

committed 7 years ago

README

The README file for this repository.

Intercom Webhook Reassign Away Mode

  • This is Intercom webhook processing code to
  • Currently when you enable away mode with reassignment it will reassign all conversations to "Unassigned"
  • With this code you can reassign these conversations to a custom admin / team inbox

Setup - Environment Variable Configuration

Running this locally

gem install bundler # install bundler
bundle install      # install dependencies
ruby app.rb         # run the code
ngrok http 4567     # uses https://ngrok.com/ to give you a public URL to your local code to process the webhooks
  • Create a new webhook in the Intercom Developer Hub > Webhooks page
  • Listen on the following notification: "Conversation Assigned to teammate" / conversation.admin.assigned
  • In webhook URL specify the ngrok URL