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 install
to install dependencies - Update the
.env
file with your Intercom and GitHub credentials - Update the
index.js
file with details of the GitHub repo you'd like to create issues in - Run
node index.js
to start the server