hi there! quick question, is there an option to tr...
# ask-a-descoper
s
hi there! quick question, is there an option to trigger flow (e.g invite user flow) from my BE? I have my own teams and members FE view, and I am wondering what is the right way to invite new users both to Descope and persist in my BE Database (i can use two operations transactions, but just wondering if that's the right way?)
m
But, for your use case
Maybe makes more sense , to use invite API And have webhooks on user creation, for updating your db
s
@Meir Wahnon tnx, can you elaborate on Create Tenant action in Management Flows? it say "and assign it to user" - but i am not sure how to assign the newly created to a specific user
m
it will assign the new tenant to the user invited in the flow See also https://docs.descope.com/flows/actions/user-invite
s
the user / invite action is for interactive flows. not management AFAIK
m
Right , so using Api is better approach for invite