Save Lab Test Results to Shopify Orders From a Webhook

5 min setup
No coding required
Runs automatically

When a lab or testing partner processes a kit, its status and results usually live in their portal, and someone copies them onto the order by hand so support can answer customers. This workflow gives you a webhook URL the lab system can post to, finds the matching Shopify order, and saves the test status and a link to the results in order metafields.

webhook icon
When the lab system sends a status or result
Shopify logo icon
Find the Shopify order by its order number
Shopify logo icon
Save the test status on the Shopify order
Shopify logo icon
Save the results link on the Shopify order

How it works

5 steps to keep every order's lab status and results link up to date in Shopify

webhook icon

When the lab system sends a status or result

App connector: Webhook • Time to complete: 1 minute

Runs when the lab system posts an update to the workflow's webhook URL, with the Shopify order number, the test status, and a results link when results are ready.

Shopify logo icon

Find the Shopify order by its order number

App connector: Shopify • Time to complete: 1 minute

Look up the order whose name matches the order number in the webhook data, with status set to any so older orders are found too.

Stop if no matching order is found

App connector: Filter • Time to complete: 1 minute

Only continue if an order was found, so updates with a wrong or missing order number don't fail later steps.

Shopify logo icon

Save the test status on the Shopify order

App connector: Shopify • Time to complete: 1 minute

Set a single-line text order metafield, such as lab.test_status, to the status from the webhook, for example received, processing or complete.

Shopify logo icon

Save the results link on the Shopify order

App connector: Shopify • Time to complete: 1 minute

Set a URL order metafield, such as lab.results_url, to the results link from the webhook. Skip this step when the update has no link yet.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to keep every order's lab status and results link up to date in Shopify

Get setup in 5 minutes.

Use this template →

FAQs

Where do the status and results link show up?

In the order's Metafields section in Shopify admin, once you add order metafield definitions for them. Apps, Shopify Flow and order printing tools can read them too.

What if the lab system doesn't know the Shopify order number?

Send whatever the lab does know, such as the customer email or a kit ID saved on the order, and change the lookup step to search by that instead.

Can the same workflow handle every status update?

Yes. Each update overwrites the status metafield, so the order always shows the latest status, and the results link is added once results are ready.

Personalize this template

Customize this workflow even further:

Email the customer when results are ready
Add an Email step after the last step that sends the customer the results link when the status is complete.
Tag orders by test status
Add an Order Add Tag step so you can filter orders by status, such as lab-complete, in the Shopify orders list.

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."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

keep every order's lab status and results link up to date in Shopify

5 min setup • Fully supported if you need help