Hey there,
We have a multi-tenant restaurant ordering app built on Directus. We’ve been using Directus for 3 years and love it. Its multi-tenant but all built on the same Directus instance, we just have advanced filtering and RBAC in place for who can modify stuff, and it works great so far.
I want to rollout an automations feature, where, restaurant owners can create custom automations. Do this on order create, on order update send this off, if order gets cancelled do this. On customer create send them an email about my rewards program… the possibilities are endless.
Flows seem like a good candidate, however I am concerned about their ability to be safely multi-tenant. We’ll be building out the UI ourselves and flow creation will happen server side, with automatically created filter rules.
Here are my questions…
-
Has anyone tried to do anything like this? How was your experience?
-
What features of flows can be used for multi-tenant apps
-
Will flows scale properly for multi-tenant applications? Imagine we have 1000 tenants, each with 5 flows – will Directus have issues with this? Is there a better way to think about this problem?
Thanks in advance. Cheers!