Sales rep setup
This page is for you, the store owner or admin. Once you've set up your reps, they use Sales rep ordering to take orders and Pulse to run their accounts.
How it works
Any customer in your store can be a sales rep: you give their account a sales rep role. When they sign in to your store, they choose one of the customers they look after. They then order on that customer's behalf, at the customer's prices.
Give someone the role
Choose who they see
They order for customers
Try it on your store
See what a sales rep sees on your own store. Our interactive demo loads your website and opens the sales rep view, with your real products and branding and sample customers. Nothing is installed, and nothing changes on your site.
The demo opens on the Dashboard tab from Pulse (early access). Open the Order tab to build an order for a sample customer, or click Customer at the top to see your store as a customer does. The demo needs a laptop or desktop: it doesn't run on a phone.
Before you start
Each sales rep needs:
- An active customer account in your store for the person, with an email address and a complete address.
- Marked as a B2B customer in your platform, for example tagged
b2bon Shopify (see below). SparkLayer only usesb2bplus one customer group tag, so remove any other B2B-looking tags: they can conflict. - Their own login. Give every rep their own account and email address. Shared logins make cart locking conflicts more likely.
- A free sales rep place on your plan. Check the "used" count on the Your reps card at Sales reps (opens in your SparkLayer Dashboard in a new tab).
Add a sales rep
Sales reps
Walk through a working copy of Sales reps, step by step. Nothing you do here changes your store.
- In your Shopify admin, open the person at Customers (opens in your Shopify admin in a new tab), add the
b2btag and save. - Go to Companies,Customers (opens in your SparkLayer Dashboard in a new tab) and open the person.
- Under Role, choose Sales rep, Sales admin or a custom role.
- Click Save role.
More detail
- With no reps yet, Add sales rep on the Sales reps screen takes you to the customers list.
- Make every change to a sales rep, including their role and the sales rep groups they look after, in SparkLayer: changing a sales rep's metafields in Shopify has no effect.
- In Wix, set the person up as a contact with a complete address and the
b2blabel, and check they're a Site Member. - Go to Companies,Customers (opens in your SparkLayer Dashboard in a new tab) and open the person.
- Under Role, choose a role, then click Save role.
- Add the person to a B2B customer group in your platform: a BigCommerce group whose name starts with
B2B, a SparkLayer Role in WooCommerce, or a Magento customer group prefixed "B2B". See Customer groups. - Go to Companies,Customers (opens in your SparkLayer Dashboard in a new tab) and open the person.
- Under Role, choose a role, then click Save role.
The roles you can choose:
| Role | What it allows |
|---|---|
| Customer | Can log in and place orders for themselves. With this role, they're not a sales rep. |
| Sales rep | Can place orders and manage addresses, shopping lists, and company access on behalf of customers. |
| Sales admin | All sales rep permissions, plus editing order prices and creating new customers. |
| Custom roles | Any custom role you've created. |
These are the descriptions the app shows. For exactly what each role allows, see Built-in roles.
Restrict which customers a sales rep can see
By default, a sales rep can see every B2B customer. To limit them to a territory or a type of customer, use sales rep groups. Sales rep groups are set only with the customer metafield sparklayer.sales_agent_groups. Customer groups and customer tags don't limit what a rep sees.
It takes 3 steps:
- Create your sales rep groups. On Shopify, set up the
sparklayer.sales_agent_groupscustomer metafield with Limit to preset choices, and add each group as a choice, for exampleuk-northorvip. See Set up the sales rep groups metafield. - Put customers in groups. On each customer in your platform, choose their groups in the metafield and save. A customer can be in more than one group.
- Give the rep their groups. Go to Sales reps (opens in your SparkLayer Dashboard in a new tab), click the rep's name, and under Customers this rep can see, choose the sales rep groups they look after. Click Save in the save bar.
The rep then sees only customers who share at least one of their groups, the next time they sign in. To let them see every customer again, remove all their groups.
| Example use | Example values |
|---|---|
| A territory | germany, france, uk |
| A region | north-east, south-west |
| A type of customer | vip, new-customer |
Keep these rules in mind:
- Only the metafield counts. Customer groups and tags don't put a customer in a sales rep group.
- Values can only use letters, numbers and dashes, for example
uk-north. Spaces aren't allowed. - Values are case-sensitive.
UK-Northanduk-northare different groups, so a customer and a rep only match if the value is spelt the same way. Limit to preset choices keeps them consistent. - On Shopify, set the metafield to Limit to preset choices, or customers can fail to sync.
- Set a rep's own groups in SparkLayer, not in Shopify. Changing the metafield on the rep's own Shopify record has no effect.
- To set it for many customers at once, use Shopify's bulk editor or an app such as Matrixify (opens in a new tab). See Fill in metafields many at once.
More detail
- Each customer's page, at Companies,Customers (opens in your SparkLayer Dashboard in a new tab), lists the reps who can see them under Sales reps who can see them.
- On BigCommerce, the metafield is the SparkLayer - Sales Agent Groups customer attribute. See BigCommerce metafields.
- Using a sales rep account so a customer's head office can order for its branches? A company with locations does this without a sales rep place. See Move a customer's buyer from a sales rep account to a company .
- Companies and company locations also have a Sales reps who look after them setting. See Companies . It works together with sales rep groups: both apply.
Sign in as a sales rep
Once you've added a rep and chosen who they see, they're ready to order. Here's what they do on your store:
- The sales rep signs in to your store with their own account, as a customer would.
- They open the SparkLayer widget. As a sales rep, they also see a My Customers tab.
- They choose a customer to order for. See Order for a customer.
- If you use Pulse (early access), they open it from the Dashboard tab to plan their day and keep track of their accounts. With Pulse, the widget's tabs are Dashboard , Catalog and Order , with no My Customers tab. See Open Pulse .
More detail
A sales rep can use the same login on several devices, and act as a different customer on each. Only B2B customers with an email address appear in their search.
Get notified of customer orders
When a customer places an order themselves, you can email their sales rep using your platform's automations.
Shopify only
On Shopify, use Shopify Flow (opens in a new tab). A typical flow starts when an order (or draft order) is created. It checks which customer it's for, and sends that customer's sales rep an internal email with the order number. Start from our sample Shopify Flow template (opens in a new tab).
Change or remove a sales rep
To change what a rep can do, give them a different role. To remove their sales rep access, give them the Customer role.
- Go to Sales reps (opens in your SparkLayer Dashboard in a new tab) and click the rep's name.
- Under Role, choose a different role, or choose Customer to remove sales rep access.
- Click Save in the save bar.
More detail
With the Customer role, the person keeps their customer account and can still sign in and order for themselves. It also frees up their sales rep place.
The Sales reps screen
Sales reps (opens in your SparkLayer Dashboard in a new tab) is where you manage your reps. The Your reps card lists everyone with a sales rep role, with View customers at the top. You make someone a rep from their customer page: see Add a sales rep.
| Part | What it shows / does |
|---|---|
| Used badge | How many sales reps you have out of your plan's allowance, for example "1 of 2 used". |
| Search | Find a rep by name or email. |
| Name | The rep's name. Click it to open the rep's page. |
| The email they sign in with. | |
| Role | Sales rep, Sales admin or a custom role. |
| Can see | The sales rep groups the rep is limited to, or All customers. |
Under the list, How reps work sums up the three steps: give someone the role, choose who they see, and they order for customers.
The rep's page
Click a rep's name to open their page. It's the same page as a customer's, with what SparkLayer holds for them: Basic information, Financial details, Role, Company users, Addresses and Identifiers. Click View in Shopify to open them in your Shopify admin.
You can only change the Role card here. Everything else comes from your store.
| Part | What it shows |
|---|---|
| Basic information | Email, company, customer group, price list override, and the sales rep groups they can see, or All customers. |
| Role | The rep's role, and under it Customers this rep can see: the sales rep groups they look after. |
Save changes with Save in the save bar.
Plans and limits
| Plan | Sales reps included |
|---|---|
| Basic | None |
| Starter | 1 |
| Growth | 2 |
| Pro | 5 |
| Enterprise | Custom |
The Your reps card at Sales reps (opens in your SparkLayer Dashboard in a new tab) shows how many you've used. When they're all used, the sales rep roles on a customer's Role card are locked. Click Compare plans there to move to a plan with more, or change a rep's role to Customer to free up a place. Extra sales reps are also available for $39 a month each. See Your plan and usage.
On the Basic plan, sales reps and roles are locked:
- Clicking Sales reps in the menu opens a window that explains the feature, marked Included in Starter. Click Try Starter free for 14 days to start a trial, or Book a 15-min demo.
- The screen itself shows Sales reps are on Starter and above, with Compare plans and See how it works.
- In the SparkLayer Dashboard, the Sales reps menu item has a Starter tag.
The Sales reps section
Sales rep setup is part of the Help Center's Sales reps section:
| Part | Who it's for | Use it to |
|---|---|---|
| Sales rep setup (this part) | You, as the store owner or admin | Make someone a sales rep, choose which customers they see and what their role lets them do. |
| Sales rep ordering | Sales reps | Take an order for a customer in the cart, at a trade counter with Counter mode or from the Catalog. |
| Pulse (early access) | Sales reps | Plan the day, follow up and keep track of their accounts. |
Troubleshooting
Sales rep mode (the My Customers tab) only shows when the person is signed in on your store with the exact email address that has the sales rep role. Check the Email column at Sales reps (opens in your SparkLayer Dashboard in a new tab).
A typo, or signing in with a different email, doesn't sign them in as the rep. On Shopify, it creates a new retail customer with no b2b tag, who sees your store as a retail shopper. Sign out and sign in again with the right email.
The rep's own customer record also needs the b2b tag, as any B2B customer does. Use b2b plus at most one customer group tag: extra B2B-looking tags can conflict.
If the email is right, check these too:
- SparkLayer is on your published theme. A theme update can remove it. See Theme setup.
- The rep's own customer record is complete, including an address. A record without one can't sync, so the rep isn't recognised.
- The person has the sales rep role. Your plan includes a set number of rep places: to hand ordering over to someone new, remove the old rep first. See Plans and limits.
- The session is fresh. Sign out, or try a private (incognito) window. If the rep was stuck in a sign-in loop, see Customers sign in but land back on your store signed out.
Only B2B customers with an email address appear in a rep's search. If a customer is missing, check they're a B2B customer (on Shopify, tagged b2b) and have an email address. If they don't have one, give them a placeholder such as salesagent123@yourstore.com.
If the rep is limited to some sales rep groups, the customer's sparklayer.sales_agent_groups metafield must include one of them. Customer groups and tags don't count. See Restrict which customers a sales rep can see.
If the rep can find a customer but can't select them, sign out and back in, or try a private window.
Another sales rep has the same customer open, so the customer's cart is locked to them. See Cart locking.
FAQs
Only if you turn on Sales reps can order for themselves at Storefront,Options (opens in your SparkLayer Dashboard in a new tab). It's off by default, so reps pick a customer before they order. See Order for yourself.
No. A sales rep orders for B2B customers, and the customer's account is a B2B account whoever signs in. When the customer signs in themselves, they get the B2B experience too, not your regular store.
Open them at Companies,Customers (opens in your SparkLayer Dashboard in a new tab) and choose the custom role under Role, then click Save role. Custom roles are listed with the built-in ones.
Shopify only
Sales reps' roles and the sales rep groups they see are managed in SparkLayer, at Sales reps (opens in your SparkLayer Dashboard in a new tab). Changes to their own metafields in Shopify have no effect.
Next steps
Last updated