Build an omnichannel OTP verification flow
Webhook
If
Execute a SQL query
postgres
If1
waiting_for_otp
postgres
If2- extracted_email
Send email
smtp
If2
Execute a SQL query1
postgres
Execute a SQL query2
postgres
IF_resend_otp
Execute a SQL query3
postgres
Execute a SQL query5
postgres
If4
IF_step- waiting_otp
If email en session
Upsert user_channel
postgres
Universal normalization
Check if the channel already exists
postgres
Channel already verified
Search onboarding_session
postgres
Extract email
Greeting 1 - send your email
Generate OTP
Save OTP
postgres
response_message1 - verification code sent
IF_code_exists?
code does not exist
valid OTP
postgres
Get verified session email
postgres
Missing email response
Upsert user by email
postgres
Verification completed response
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.