tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

Send an onboarding email to new WordPress Customers, or admin resources to Managers

When a new WordPress user registers, a Router reads their role: Customers get an onboarding email and Managers get an email with admin resources, while other roles get nothing.

WordPress Router Email

4 steps Setup ~8 min Used on 2.6k sites Free to import

The Send an onboarding email to new WordPress Customers, or admin resources to Managers workflow on the FlowMattic canvas, with 4 steps across WordPress, Router, Email
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

New shoppers and new staff need very different first emails. A customer wants to know how to use their account, while a manager needs links to the dashboard, guides and contacts. This workflow sends each group its own message from one WordPress trigger, based on the role the new account has.

The WordPress New User trigger fires for every new account, whether someone signs up, an admin adds them or a plugin creates them. It sends the user's details along with their user meta, including the capabilities field that lists their role. The Router then checks that field on two routes. The Customer route runs when it contains "customer". The Manager route runs when it contains "manager", which also covers a role such as shop_manager. Text checks ignore case.

Each route ends in an Email step addressed to the new user's email, sent through WordPress mail or your SMTP account. The subject and message are blank in the template, so you write the onboarding email for customers and the resources email for managers after import.

A Router runs every route whose condition matches. A new account holding both roles would get both emails, and an account with neither role, such as a subscriber, gets none.

Shop accounts and staff accounts on one site

A WooCommerce store welcomes each new customer with tips on tracking orders, while a new shop manager gets links to the order screens and the team handbook.

Agency handing a site over to the client

An agency creates a manager account for the client's staff, and the resources email arrives with training videos and support contacts.

Membership site with a support team

A membership business sends customers a getting-started guide and gives newly added managers the admin checklist.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    WordPress New User

    Fires whenever a new WordPress account is registered, by sign-up, by an admin or by a plugin. The user's email, name and user meta, including the capabilities field that holds the role, are passed on.

  2. Step 2Logic
    Router 2 paths

    Sends each new user down the route their role matches. Customer runs when the capabilities field contains "customer"; Manager runs when it contains "manager". Users with neither role stop here.

  3. Step 3Action
    Email Send Email

    On the Customer route, emails the new user at their account email. The subject and body are empty, so write your onboarding message and map fields such as the user's display name.

  4. Step 4Action
    Email Send Email

    On the Manager route, emails the new user the admin resources you write. The recipient is already their account email; add the subject, message and links to guides or the dashboard.

What you need

  • FlowMatticCore

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • If your site's database table prefix isn't wp_, the capabilities field has a different name. Check a test user in Task History and remap both route conditions to the field you see.
  • Add a third route to the Router, which sits between the New User trigger and the Email steps, for another role such as subscriber. Give it a condition that can't match customer or manager accounts and its own Email step.
  • Map the user's display name into the greeting of both emails so each message starts with their name.
  • Add a Delay between the Router and the Customer route's Email step if you'd rather the onboarding email arrive some time after the account is created.

Questions about this workflow

Which WordPress users get no email at all?

Anyone whose role contains neither "customer" nor "manager", such as subscribers, authors and administrators. If they need a message too, add another route to the Router between the New User trigger and the Email steps, with its own Email step.

Does a WooCommerce shop manager count as a Manager here?

Yes. The Manager route checks whether the capabilities field contains "manager", so the shop_manager role matches it.

Can one new WordPress user receive both emails?

Only if the account has both a customer and a manager role when it's created. The Router runs every route whose condition matches, so that user would get both messages.

Are the two email messages written already?

No. Both Email steps are addressed to the new user's email, but the subject and body are blank. Write each message after import before turning the workflow on.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

Flowmattic is a noteworthy option for businesses looking for a self-hosted alternative to Zapier. With its user-friendly interface and a strong set of features, it is a top pick for those in need of a reliable WordPress automation solution.

Creative-Minded Multimedia

The main advantage of the plugin that it can turn your WordPress installation into a powerhouse, just imagine that you can replace all other integration with only this one.