- Create Google Sheet
- Name one tab "Data"
- Go to Tools > Script editor
- Pull code from repo
- Add file config.gs with the contents below:
- Go to Edit > Current project's triggers
- Add a trigger that runs
main
onTime-driven
events withDay timer
and select a time period to run
var Config = {
pagerduty: {
url: 'https://api.pagerduty.com',
token: 'INSERT API TOKEN',
paths: {
incidents: '/incidents'
}
}
};