Magic Link > Check if email in user database > if no/yes

Hi everyone.

Curious if something like this exists and, if so, what the ideal workflow structure is?

I’m prioritizing a password-less login — so using magic links. When a user clicks the button that triggers my magic link workflow, I want there to be a conditional check.

Current state:

  • User enters email:
  • User clicks button to trigger workflow:
  • User is navigated to a ‘magic link sent’ page
  • User has email sent to their inbox

Ideal state:

  • User enters email:
  • User clicks button to trigger workflow:
  • System checks if email entered is within user data base
  • If no > present error alert
  • If yes > proceed w/ user navigation & email flow

TIA!

Yes, you can do this. Regarding:

Ideally, do this on a backend workflow cause you wouldn’t want to Do a search for emails on the client at the risk of unauthorized access

This state can be returned from the backend WF itself then

This topic was automatically closed after 70 days. New replies are no longer allowed.