Update Shopify Order Metafield with Customer Company Name
Automatically capture your customer's company name from each new Shopify order and store it in order metafields. This workflow enriches your order data with business identifiers, making it easier to track and report on B2B accounts, manage wholesale relationships, and analyze order activity by customer organization. Perfect for merchants selling to multiple business clients who need accurate company-level insights for operations, fulfillment, and customer service.
Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

How it works
3 steps to start automatically updating order metafields with customer company names from Shopify Plus B2B data
Order Created
Order Created
Retrieve Company Location
Retrieve Company Location
Set Order Metafield
Set Order Metafield
Ready to start automatically updating order metafields with customer company names from Shopify Plus B2B data
Get setup in 4 minutes.
Frequently asked questions
Will this work for regular B2C customers who don't have company associations?
No, this workflow specifically requires B2B customer data from Shopify Plus. If a regular customer places an order without company information, the "Retrieve Company Location" step will fail to find data and the metafield won't be created.
Can I use this company name data to segment customers in Shopify's native reports?
Yes, once the company name is stored as a metafield, you can use it in Shopify's order reports and filters. You can also export this data to build custom company performance reports or integrate with business intelligence tools.
What happens if a B2B customer changes their company name or location details?
The workflow only captures company information at the time each order is created, so existing order metafields won't automatically update when company details change. New orders will reflect the updated company information, but historical order records will maintain the company name that was current when originally processed.
Make this template your own!
Customize this workflow even further:
You're in good company
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
Ready to start automatically updating order metafields with customer company names from Shopify Plus B2B data?
7-day free trial • 4 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support