Send email when product with custom metafield is sold

Topic summary

A user needed to set up an automated email notification when a product with a specific custom metafield is sold. The metafield is named “Consignment” with a value set to “True”.

Solution provided:

  • Use Shopify Flow to create a workflow
  • Trigger: Order created
  • Condition: Check if order line items contain products where:
    • Metafield namespace = X
    • Key = “Consignment”
    • Value = “True”
  • Action: Send internal email

An example template was referenced to help structure the condition that checks for all these metafield values simultaneously. The solution was confirmed to work perfectly by the original poster.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

Hi,

We’ve created a metafield called “Consignment”, we want to receive an email when a product that has this metafield set to “True” is sold.

Please advise on how to achieve this.

Thanks in advance.

1 Like

The workflow would look something like:

  • Order created
  • If order / lineItems / product / metafields / namespace = X AND key = “Consignment” AND value = “True” (use the link to add a condition for the same item, as you want to check that a single metafield has all of these values…see this example template).
  • Send internal email
3 Likes

Thank you Paul, your solution worked perfectly.