The flow
Starts it 1Logic 18Service 14
The steps in the order they run, from what starts it.
- 1WebhookWebhookStarts it
- 2Universal normalizationCodeLogic
- 3Check if the channel already existsPostgresService
- 4IfIfLogic
- 5Execute a SQL query3PostgresService
- 6Execute a SQL queryPostgresService
- 7Channel already verifiedSetLogic
- 8Search onboarding_sessionPostgresService
- 9If1IfLogic
- 10Extract emailCodeLogic
- 11IF_step- waiting_otpIfLogic
- 12If4IfLogic
- 13IF_resend_otpIfLogic
- 14If2- extracted_emailIfLogic
- 15Greeting 1 - send your emailSetLogic
- 16Execute a SQL query1PostgresService
- 17Execute a SQL query5PostgresService
- 18IF_code_exists?IfLogic
- 19Generate OTPCodeLogic
- 20valid OTPPostgresService
- 21code does not existSetLogic
- 22Save OTPPostgresService
- 23Execute a SQL query2PostgresService
- 24Send emailEmail SendService
- 25Get verified session emailPostgresService
- 26waiting_for_otpPostgresService
- 27If email en sessionIfLogic
- 28If2IfLogic
- 29Upsert user by emailPostgresService
- 30Missing email responseSetLogic
- 31response_message1 - verification code sentSetLogic
- 32Upsert user_channelPostgresService
- 33Verification completed responseSetLogic