WooFunnels Documentation
Get unstuck with our helpful reference material

Autonami

Generate Username and Password when the Opt-in Form is Submitted

You can now set up automations to generate username and unique login passwords using merge tags in Autonami.

Let’s suppose you want to set an account for your subscribers who submits the opt-in form. 

For this purpose, we will generate a username (their email address) and a unique password so that they can log in to their account.

Setting Up the Automation

Let’s see how you can generate a username and password for login when the Opt-in form gets submitted:

Step 1: Set up the Form Submit Event

Add an event - Form Submits under WooFunnels Optin Form.

Set up the Form Submit Event

Click on Continue.

You need to configure the WooFunnels Optin form. 

Select the form and map the email field here.

Select the form and map the email field

Step 2: Add an action to create a new user

Add a direct action to create a new user.

Add a direct action to create a new user

Click on Continue.

Step 3: Configure the Create User action

Make use of the WooFunnels Optin form merge tag to create a user.

Form field merge tag

Read this documentation on how to use merge tags in automations.

Now enter the field value of email, first name, and the last name using the merge tags.

We have selected the role as ‘Subscriber’ and enabled the option to save the auto-generated password for a user.

Configure the Create User action

Step 4: Add send email as your action

Select Send email as your second direct action and compose the content using merge tags:

  • For username, we’ll use the email address of the user.
  • For password, we’ll use the {{new_user_password}} merge tag.
{{new_user_password}} merge tag within your email

That’s it! Your workflow has been created and you can activate your automation now.

Testing the Automation

Now, if a user fills this WooFunnels opt-in form:

Submit the opt-in form

The account will get created in WordPress as per the action we specified:

User account gets created

The user will receive this email:

Email received with the login credentials

You can use this username and password to log in to your account.

This is how you can generate a username and password for your user when they submit the opt-in form.

Increase your sales, starting today.

Get WooFunnels Now
chevron-down