✅ B2B Starter Concept - Workflows
We built this in-house at
@medusajs & its open source - you can use this outside of our commerce framework.
I think the main benefit most users will see is that this is a transferrable blob of complex logic that you can extend & run anywhere:
- ✅ API Endpoints
- ✅ Subscribers
- ✅ Cron jobs
- ✅ Serverless functions
This opens up opportunities for making automation easy in the B2B space.
A lot of love & care has been put into this by our amazing team for it to look as beautiful as this, be performant & reliable.
The screenshot below is a workflow that we run when a customer accepts a quote - you can see that its stitching together multiple concepts into a seamless run.
If any of these fails, each step contains a revert function that will be triggered - taking advantage of multiple short running transactions, instead of just 1 transaction that adds a strain on compute and memory.
Workflows come with a lot more goodies, comment below if you'd like a more technical deep dive 💪