icon
HomeServicesTeamProjects

Resources

icon
Similar Site FinderSite Speed OptimizereBook: B2B Shopify for IndustrialseBook: Who's Browsing Your Shopify Site?
BlogContact
Book a Call
Book a Call
Let's Talk
Let's Talk
icon
Customer & Accounts
Text Link

March 16, 2026

Segment Assignment on Approval

When you approve a new wholesale account, the approval itself is only half the work. The other half is making sure the customer sees the right catalog and pricing when they log in. A distributor should not see contractor pricing. An OEM account should not be browsing your standard wholesale tier. A high-volume buyer who qualified for preferred pricing should not be checking out at your base wholesale rate.

Bg Element

‍

Use Case Summary

‍

When you approve a new wholesale account, the approval itself is only half the work. The other half is making sure the customer sees the right catalog and pricing when they log in. A distributor should not see contractor pricing. An OEM account should not be browsing your standard wholesale tier. A high-volume buyer who qualified for preferred pricing should not be checking out at your base wholesale rate.

‍

Without automation, this assignment happens inconsistently. Someone approves the account, forgets to assign the catalog, and the customer logs in to either wrong pricing or no pricing at all. In B2B stores with multiple pricing tiers, this creates support tickets, re-orders at the wrong price, and manual cleanup.

This Shopify Flow workflow fixes that by handling catalog and segment assignment automatically at the moment of approval. Based on the customer's industry type or expected order volume, the workflow assigns the correct customer tags and routes the account into the right pricing tier without requiring any manual action after approval.

‍

Who this is for:

  • Shopify Plus B2B stores with multiple pricing tiers or customer segments
  • Stores that collect industry type or order volume during the wholesale application process
  • Operations teams spending time manually assigning catalogs after approving accounts

‍

What it handles automatically:

  • Reading industry type or order volume from customer tags or registration metafields
  • Tagging the customer with the appropriate pricing tier
  • Adding the customer to the correct B2B company (if your store uses the Companies structure)
  • Notifying your team when an account falls into a high-value segment
  • Sending a tailored welcome email that reflects the customer's assigned tier

This workflow is designed to run immediately after account approval, either as a standalone workflow triggered by approval, or as a second phase of your existing approval workflow.

‍

Full Guide / Walkthrough

‍

How the Logic Works

The workflow fires when a customer account is approved. It then checks for signals that indicate which pricing segment the customer belongs to: either an industry tag applied during registration or an order volume metafield collected via your application form.

‍

Based on what it finds, it branches to the appropriate segment assignment and applies the relevant tags. Those tags are what Shopify Plus B2B uses to determine which company and catalog the customer belongs to.

‍

The decision tree for an industry-based segmentation:

‍

‍

‍

For order volume-based segmentation, the same branching structure applies with metafield value comparisons instead of tag checks.

‍

Prerequisites

Before setting this up, confirm the following:

  • You are on Shopify Plus with B2B customer accounts enabled
  • Shopify Flow is installed from the Shopify App Store
  • Your store uses new customer accounts (not legacy accounts)
  • Your wholesale application form collects industry type (via tags) or expected order volume (via a customer metafield)
  • You have defined your pricing tiers and know which catalog or company in Shopify Plus corresponds to each tier
  • If using B2B Companies: your company records for each tier already exist in Shopify admin

If your application form does not yet collect industry type or order volume, this workflow cannot make segmentation decisions. Set up your registration form to capture this data before building the workflow. For how customer segmentation works in Shopify Plus, see How to Use Customer Segmentation in Shopify for B2B Success.

‍

Step-by-Step Setup

‍

This guide covers the industry-tag approach first, followed by the order-volume variation.

‍

Step 1: Open Shopify Flow

From your Shopify admin, go to Apps > Flow. Click Create workflow in the top right.

‍

Step 2: Set the Trigger

‍

Click Select a trigger and choose:

‍

Customer account approved applicant

This trigger fires the moment you approve a customer's account application. It gives you access to the full customer record, including any tags and metafields that were applied during registration.

‍

If you are approving customers via a separate flow (for example, the Auto-Approve Verified Business Emails workflow), you can chain this workflow by using Customer approved as the trigger instead, which fires when the approval action is taken by any workflow or manually.

‍

Step 3: Add the First Condition Branch — Distributor

‍

Click Add condition after the trigger. Add:

Condition: Customer has tag

  • Tag value: industry-distributor

If true, add these actions:

Action 1: Add tag to customer

  • Tag value: tier-distributor

Action 2 (if using B2B Companies): Add customer to company

  • Company: select your Distributor company record
  • This assigns the customer to the company that has your Distributor catalog attached

Action 3: Send welcome email to customer

  • Subject: Your wholesale account is approved
  • Body: Welcome them, reference their distributor pricing access, and link to the store login page

‍

Step 4: Add the "Else" Branch and Continue Checking

‍

Click Add else on the first condition. In the else branch, add a second condition:

Condition: Customer has tag

  • Tag value: industry-contractor

If true, add these actions:

Action 1: Add tag to customer

  • Tag value: tier-contractor

Action 2 (if using B2B Companies): Add customer to company

  • Company: select your Contractor company record

Action 3: Send welcome email

  • Same structure as above, adjusted for contractor context

‍

Step 5: Add Another "Else" for OEM

‍

In the else branch of the contractor condition, add another condition:

Condition: Customer has tag

  • Tag value: industry-oem

If true:

  • Add tag: tier-oem
  • Add to company: OEM company record
  • Send welcome email

‍

Step 6: Add the Final "Else" for Standard Tier

‍

In the last else branch (no industry tag matched), assign the default tier:

Action 1: Add tag to customer

  • Tag value: tier-standard

Action 2 (if using B2B Companies): Add customer to company

  • Company: your Standard Wholesale company record

Action 3: Send welcome email

  • Note in the email what their pricing access includes and how to contact you if they believe they qualify for a different tier

‍

Step 7: Add a High-Value Account Alert (Optional)

‍

If a customer is assigned to your top tier (distributor or OEM in this example), you may want to notify your sales team so they can follow up personally:

Add an additional action in the distributor or OEM branch:

Action: Send internal email

  • To: your sales team or account management inbox
  • Subject: New high-value account approved: {{customer.firstName}} {{customer.lastName}}
  • Body: Include customer name, email, company, and the tier they were assigned to

‍

Step 8: Name and Activate the Workflow

Name the workflow: Segment Assignment on Approval

Click Turn on workflow. Every approved customer will now be automatically tagged and assigned to their pricing segment.

‍

Logic Breakdown

‍

Here is the full workflow at a glance (industry-tag version):

‍

‍

Each branch runs its actions and then the workflow ends. A customer only ever hits one branch.

‍

Variation: Order Volume-Based Segmentation

‍

If your application form collects expected annual order volume as a customer metafield (for example, customer.metafields.custom.annual_volume), you can use numeric comparisons instead of tag checks.

‍

Replace the tag conditions with:

‍

‍

The actions in each branch remain the same: add a tier tag, optionally add to the corresponding company, send an appropriate welcome email.

Shopify Flow handles numeric metafield comparisons natively. Make sure the metafield is defined as a number type in your store settings, not a text field, for the greater-than comparison to work correctly.

‍

Customization Tips

‍

Combine industry and volume for a two-factor assignment

Add both checks within the same branch: a customer must be tagged industry-distributor AND have an annual volume above a threshold to qualify for your top distributor tier. This prevents misassignment when a buyer self-selects an industry type that does not match their actual purchase behavior.

‍

Add a fallback notification for untagged customers

If a customer reaches the final else branch and ends up in the standard tier, consider adding an internal alert to your team. Untagged customers may have completed the registration without selecting an industry, or your application form may not have captured the data. A heads-up lets your team manually review these accounts before they start ordering.

‍

Tag with both industry and tier separately

Keep industry tags (what the customer told you) separate from tier tags (what segment they are assigned to). This lets you update tier assignments later without losing the original industry information. Example: industry-distributor stays on the record permanently; tier-preferred can be swapped to tier-distributor when the account qualifies for a higher tier.

‍

Use this workflow as a companion to the approval queue

This workflow works cleanly alongside the New Wholesale Applicant Queue and Auto-Approve Verified Business Emails workflows. The applicant queue captures registrations; the auto-approve workflow handles the approval decision; this workflow handles segment assignment after approval. Each workflow does one thing and the three together cover the full onboarding flow.

‍

Trigger from manual approvals too

If your team approves some accounts manually in Shopify admin (rather than through a workflow), the Customer account approved applicant trigger fires on manual approvals as well. This workflow will run regardless of how the approval happened, so you do not need separate workflows for manual vs. automated approval paths.

‍

What This Workflow Does Not Cover

‍

This workflow assigns customers to segments based on data collected at registration. It does not update segments when a customer's behavior changes over time (for example, when a standard-tier buyer grows to distributor-level volume). Segment reassignment based on purchase history requires a separate, scheduled workflow that checks order volume over a rolling period.

‍

It also does not verify the accuracy of the industry type the customer self-selected. A customer who marks themselves as a distributor to access better pricing will be assigned to the distributor tier by this workflow. For high-value tiers, a manual review step before approval (handled in your approval queue workflow) is the right place to catch this.

‍

Download Flow
Contact us

Shopify Pros for MFG & B2B

Top Tier Communication, Guidance and Quality
Your Ecomm Expert and Dev in One Partner

Book a Call
Book a Call

"It's impossible to find a Shopify dev who's a great communicator, highly technical, good with design, and acts as a strategic advisor."

... until now

Subscribe to be in touch with latest news.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
info@shopfab.dev(415) 390-56633301 Richmond Hwy. #1168 Alexandria, VA 22305
iconicon
Primary
HomeServicesTeamProjects
Secondary
CareersFAQsBlogPricingWhite Label
Other
Competitor AnalysisAIsoft SiteContact UsPrivacy PolicyTerms of Service
G2 ProfileGoodFirms ProfileX ProfileInstagram ProfileClutch ProfileAgency Spotter ProfileGitHub ProfileReddit ProfileShopify Partner ProfileYelp ProfileThomasNet ProfileWellFound ProfileUpwork ProfileDev.to ProfileTrustPilot ProfileCrunchbase Profile
© AISOFT DEVELOPMENT LLC. All Rights Reserved. Licensing