IO Workflow Examples Use Cases
This documentation offers a comprehensive example of the IO Workflow, showcasing its real-world applications and key features. It is a practical guide to help you understand how the IO Workflow functions in various scenarios, enabling effective implementation. By following this example, you will gain insights into its capabilities.
Sign Up Flow
This custom-crafted workflow integrates essential identity management processes, streamlining every aspect of the sign-up experience into a single cohesive flow.
Nodes Utilized:
- Webpage
- Child Workflow User Exists Check
- Create User
- Send Email
Workflow Steps:
- User Registration:
- The user provides the required registration information through the webpage.
- Validation:
- User Exists Check:
- If the user already exists:
- Display a success message on the registration page indicating successful completion.
- If the user is new:
- Proceed to create a user profile.
- If the user already exists:
- User Exists Check:
- Account Creation:
- Create User:
- Save the new user details in the system.
- Create User:
- Email Notification:
- Send Email:
- Dispatch a verification email to the user’s registered email address.
- Send Email:
- Confirmation:
- Display a success message on the registration page to confirm the process.
Email Login
This workflow streamlines the login processes by intelligently handling session tokens, user authentication, and redirection to appropriate pages.
Nodes Used:
- Get Session Data
- Auth
- Webpage
- Set Session Data
Workflow Steps:
1. Check for Session Token:
- Action: Verify if an
lr-session
token exists in cookies.- If Present: Attempt to log in to the user.
- If Absent: Redirect to the login webpage.
2. Authenticate User:
- Action: Validate user credentials.
- Success: Proceed to the next step.
- Failure: Redirect to the login page.
- User Not Registered: Redirect to the signup page.
3. Set Session Data:
- Action: On successful login/registration, store session data for the user.
4. Redirect on Success:
- Action: Direct the user to the appropriate page upon workflow completion.
Forgot Password
This workflow simplifies the password recovery process using OTP-based verification, ensuring users can securely reset their passwords without technical obstacles.
Nodes Used:
- Webpage
- Send Email
- Verify Email/SMS OTP
- Update User
Workflow Steps:
1. User Enters Email:
- Action: Submit your email address to trigger an OTP email.
2. Show OTP Input Webpage:
- Action: Display the OTP input page after successful OTP dispatch.
3. User Enters OTP:
- Action: Submit the OTP for verification.
4. Verify OTP:
- Action: Verify the submitted OTP.
- Valid OTP: Show the password input page.
5. User Enters New Password:
- Action: Submit a new password.
6. Update User Password:
- Action: Update the user’s password in the system.
Verify Email
This workflow provides a straightforward mechanism for email verification via OTP, ensuring that user email addresses are validated securely and effectively.
Nodes Used:
- Send Email
- Webpage
- Verify Email/SMS OTP
Workflow Steps:
1. User Enters Email:
- Action: Submit email to receive OTP.
2. OTP Verification:
- Action: Enter OTP for verification.
- Valid OTP: Email is verified successfully.
Password Expired
This workflow addresses scenarios where users must update expired passwords, maintaining security and usability through step-by-step guidance.
Nodes Used:
- Webpage
- Auth
- Update User