Work in progress! Known issues:
- Courier Click/Interaction tracking
- Data from first Courier send, missing in interactive updates
yarn install
yarn dev
- Create Slack App
- Set up Courier > Slack
- In Slack App, set up Interactivity Request URL to point to this app (use ngrok if running locally)
cp .env.example .env
and fill in values, thenyarn dev
- Create a Slack Template in Courier that has interactivity (button or select)
- Change the Slack Channel settings for a replacement key of data.message.ts
- Send a test message
- Interact with it
- Data should flow through the middleware
- Create an automation that sends to the same JSON template.