Skip to content
WooCommerce WordPress

Order Completed → Create User

Create WordPress user accounts after orders are fulfilled. Ideal for gated content access, membership activation, and post-purchase customer onboarding.

beginner 5 minutes |
#orders #users #fulfillment #woocommerce #membership

Use Case

When an order is marked as completed in WooCommerce, you want to create a user account for the customer. This is ideal for scenarios where account access should only be granted after successful fulfillment.

Common scenarios:

  • Digital product access after payment clears
  • Course enrollment upon order completion
  • Membership activation after shipping confirmation
  • Gated content access for verified purchasers
  • Delayed account creation for fraud prevention

Step-by-Step Setup

1. Create a New Workflow

Navigate to Sequensy → Workflows in your WordPress admin and click Add New Workflow.

Name your workflow “Create Account on Order Complete” or similar.

2. Configure the Trigger

Select Order Completed as your trigger. This fires when order status changes to “Completed”.

Useful filters:

  • Products: Only trigger for specific products (e.g., courses, memberships)
  • Categories: Limit to product categories requiring accounts
  • Customer Type: Only for guests without existing accounts

3. Set Up the Create User Action

Configure the user creation:

SettingRecommended ValueDescription
Email{billing_email}Uses order billing email
Username{billing_email}Email-based username
First Name{billing_first_name}From billing details
Last Name{billing_last_name}From billing details
RoleCustomer or SubscriberBased on your needs
Send NotificationYesWelcome email with login

4. Configure Access (Optional)

For digital products or memberships, chain additional actions:

  • Update User Role: Assign premium member role
  • Send Email: Deliver access instructions
  • Add User Meta: Store purchase details on profile

5. Test Your Workflow

  1. Enable the workflow
  2. Create and complete a test order
  3. Verify user account was created
  4. Confirm access to gated content works
  5. Check welcome email delivery

Pro Tips

Why wait for completion?: Creating accounts on completion rather than order creation provides fraud protection—accounts are only created after payment is confirmed and order is fulfilled.

Digital products: For instant-access digital products, consider triggering on “Payment Complete” instead for faster access.

Prevent duplicates: Add conditions to check if an account with the billing email already exists before attempting creation.

Custom roles: Create custom WordPress roles (e.g., “Course Student”, “Premium Member”) and assign them based on products purchased.

Access Control Patterns

Product TypeWhen to Create AccountRecommended Role
Physical goodsOrder CompletedCustomer
Digital downloadsPayment CompleteSubscriber
CoursesOrder CompletedStudent
MembershipsPayment CompleteMember
SubscriptionsPayment CompleteSubscriber

Troubleshooting

Account not created?

  • Verify order status is truly “Completed”
  • Check if email already has an account
  • Review workflow logs for errors

Can’t access gated content?

  • Confirm user role was assigned correctly
  • Check content access permissions
  • Verify membership plugin integration

Wrong role assigned?

  • Review user role setting in workflow
  • Check for conflicting workflows
  • Verify role exists in WordPress