Recently, I discovered FlowSavvy, an automatic time-blocking tool. It schedules your tasks neatly around your events, ensuring a balanced workload, which works great!
However, creating tasks felt sluggish. I already use Linear for solo development, so after 0 days of using FlowSavvy (really 🙈), I created an integration to lift this burden. If you are assigned to a Linear issue, FlowSavvy will automatically schedule it in the best spot in your schedule. Now, you've automated the automator!
This is also my first dive into TypeScript! I've always postponed trying it out, but it definitely saved me from quite a few bugs
This integration uses Linear's Webhook feature. It hosts a Node.js Express server, which receives the payload sent by Linear, verifies the hash, and communicates the appropriate action with FlowSavvy.
- Deploy this GitHub project to a platform of your choice. I use self-hosted Coolify with nixpacks.
- Take note of your application domain.
- Head to Linear, press the team selector and open Workspace Settings
- Under API, click on Create new webhook. Give it a label, enter your application domain and copy the signing secret.
- Click Create webhook and head back to your hosting platform.
- Copy over the environment variables from example.env, all of them are required to run.
- Run
npm run start
or Deploy and you should be good to go! 🎉