Albato
  • Language
    En
    English
    Portuguese
    Spanish
  • Welcome to Albato Help

    How to Use Albato to Generate Secure Passwords and Use Them When Creating Users in Other Apps


    IN THIS ARTICLE

    If you sell a course, a platform access plan, or any product that requires creating a user account with a password, there's usually a manual step involved — generating a password, sending it to the customer, and creating the account in your platform.

    Doing this for every new purchase takes time and leaves room for error.

    Albato takes care of that. Whenever a new purchase comes in, the automation generates a secure password that meets current security requirements, creates the user account in your platform, and sends the access credentials to the customer by email.

    The password generated meets these requirements:

    • 12 characters
    • Uppercase and lowercase letters
    • Numbers
    • Special characters

    In this example, we'll work with a scenario where a new purchase is identified in Hotmart, Albato generates a secure password, creates a user in EzyCourse, and sends an email with the access details to the customer.

    The same logic can be applied to many other automations.

     

    Creating Connections with the Apps

    The first step is to connect the apps that will be used in Albato.

    In our example:

    • Hotmart — to identify new purchases
    • EzyCourse — to create the student in the system
    • Gmail — to send the email with access credentials

    Go to the Apps tab in the platform and click Add a Connection:

    Search for each app individually and follow the on-screen instructions until you see the success message indicating that the connection was created correctly.

    Repeat this process for all required apps.

     

    Creating Your Automation

    With the connections created, go to the Automations tab in Albato and click Create new automation:

    In the first step, select the trigger for the automation:

    In this example, we'll use the Hotmart: Purchase completed trigger.

    Next, add a new step by clicking Add tool:

    At this step, select the Value Parser (Regular Expression) tool:

    This tool will help us generate the secure password.

    In the Value to process field, select Random number, available when clicking System settings.

    This parameter will cause the automation to generate a unique random 6-digit number each time it runs.

    In the Replacement template field, enter the following expression:

    ^(\d)(\d)(\d)(\d)(\d)(\d)$
    

    In What to replace with, use the formula below:

    $1aB$2c$3d@$4e$5f$6
    

    Your step should be configured like this:

    This combination will create a secure password that meets all the security criteria mentioned earlier.

    Save this step and click to add a new one.

    Now, select the EzyCourse app. This app allows you to create a new student and, at the same time, enroll them in the desired course.

    Select the action Register and enroll a student:

    After clicking Continue, you'll need to provide the Course/Product ID, which can be checked directly in your EzyCourse account.

    The remaining fields can be filled with data received from Hotmart, such as:

    • Student name
    • Email

    In the Password field, select the Result value, which corresponds to the step where the password was generated.

    This way, the user will be created with the provided email and the password generated by Albato.

    Finally, save this step and add a new step to send an email via Gmail.

    You can also choose to:

    • Send the password via Slack
    • Save it in a spreadsheet
    • Send it via Telegram
    • Or use any other app that fits your internal process

    In the Gmail step, configure the student's email address that will receive the access details.

    Customize the subject and email body as you wish and include:

    • The user's email
    • The password generated by Albato

    Example:

    Your access has been created.

    After configuring all steps, activate the automation.

    You'll have a fully automated process for creating users with secure passwords for your Hotmart sales. This logic can be adapted to other apps and scenarios as well.

    Now you can generate secure passwords and create user accounts automatically on every new purchase. If you have any questions, contact our support via chat.

    Did this answer your question?