- Write regular code
- Test locally
- Then deploy
This is one of the key aspects we're fixing at https://www.inngest.com — you can write regular TS (or Go, or Elixir) code as a function, create simple workflows, test locally, and have your functions automatically triggered by events.
I still think there's room to go with improving automations here, and it's going to be an interesting few years as things develop.