How to pass back the control from Auth0 Form to Flow execution

Ready to post? :mag: First, try searching for your answer.
Hi There,
I am looking for some help in Actions using Auth0 Forms . I am trying to check if the Phone number that I am entering through an Auth0 Forms is already used by any other user from the same tenant . I am able to handle Phone number duplication check just fine and appropriate error message is also being thrown on the page as shown in pic . How can I add/replace a button there to provide an option to de register the same mobile phone from other user and register it with the current user at the marked place of the screen ?. Is this achievable using Forms and Flows by any chance ?

Any Guidance is highly appreciable .

Thanks
Sandeep.

Hi @sandeepit9,

I don’t think it is possible to de-register and register phone number by looking into another user account.

In my personal opinion and understanding of data privacy, even having an idea of doing this is not the right thing to do.

But I am curious to see how Auth0 responds to this.

Hi @sumansaurav
Sorry for not elaborating requirement properly , here I am aiming to check if the same phone number got registered based on OTP with same user’s other accounts earlier and switch it to current user again based on OTP and un map it there (older accounts). In this scenario I have API to check for Users with same phone numbers and how to update current user with new Phone number. I am stuck at handling Flow execution and how to display new screen with more options based on error message from Flow . Hope I explained it better .

Thanks
Sandeep.