This is a sample Node.js application that demonstrates how to use the Intercom Tickets API to generate GitHub issues whenever a ticket is created in Intercom.
- Node.js v19 installed
- You'll need an Intercom developer workspace and an Intercom app. If you don't, follow this guide.
- You'll need access to the Tickets feature. If you don’t, follow this guide.
- You'll need a token with access to a GitHub repo where you'd like to create your new issues.
- Clone this repo
- Run
npm installto install dependencies - Update the
.envfile with your Intercom and GitHub credentials - Update the
index.jsfile with details of the GitHub repo you'd like to create issues in - Run
node index.jsto start the server