Customer has purchased specific products trigger

Topic summary

A user seeks to automate emails to customers who purchase specific products, noting Shopify lacks a built-in trigger for this.

Solution Provided:
Another participant shares a workaround using custom marketing automation in Shopify Flow:

  • Trigger: Order created
  • Condition: Check line items for specific product (by product type, vendor, or tags)
  • Action: Send email

Screenshots demonstrate the workflow setup, and the original poster confirms it works successfully.

Ongoing Issues & Questions:

  • One user reports emails fail when customers haven’t opted into marketing, seeking a way to send transactional (non-marketing) emails instead
  • Questions arise about:
    • Proper syntax for entering product identifiers (product type, vendor, tags)
    • Setting up time-delayed follow-up emails (e.g., repurchase reminders after 25 days)
    • Using similar flows for automatic order fulfillment based on specific products

Key Limitation:
A user emphasizes that this automation only works for customers who have accepted marketing emails, which contradicts the goal of sending product-specific transactional information to all purchasers.

Some participants offer paid automation setup services.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hello,

I’m looking for an easy way to make an automation with this trigger:

“Customer has purchased specific products”

The goal is to send an automatic mail to customers who ordered a specific product.

Unfortunately, the unbelievable thing is that Shopify doesn’t offer this option in the automation options.

Did someone found a workaround to this missing feature?

1 Like

Hi,

You can create a custom marketing automation. The workflow should be

Order created → check lineitems → check product → productType/vendor/tags … Please checkout the following images for further details.

Regards,

Thank you so much! It works as expected!

I would be happy to buy you a coffee!

Regards

1 Like

Hi Kaki,

Thank you for your kindness.

Looking forward to keep in touch with you. Feel free to ask if you need any solution for your store. Furthermore, for Shopify and software development.

Regards,

Hi there, maybe this solution will work for me, I want to send an automated email after a customer buys 1 specific product only, what do I put in Product Type?

I have set up a similar automation for two products in our shop, and went to test it was working but the email failed to send. When I look in the automation the error says “Flow action received with invalid properties. Customer does not accept marketing for customer id”. It sounds like it’s because my test customer isn’t set up to receive marketing emails - but I don’t want this to be classifeid as a marketing email as it’s delivering information they need about a certain product. What’s the way around this?

Hi There, Is there any way to setup a workflow that can: example after a purchase by 25 days triggers an email to purchase the same product -5%?

Would love to hear from you, thank you!

how do i enter the YOUR_TYPE ?? I mean what input should i write here so that it recognizes my product

eg: producttype=course

vendor=thinkific

tags=FSP Vocab Trainer

in this case do i enter course/thinkific/FSP Vocab Trainer in the ProductType box to run this automation correctly??

Hi there! Do you think a similar flow would work if I wanted to have it so if a specific product is purchased, it will automatically fulfil?
eg product if the product is ‘ floor stock’ …

ordered items = ‘bracelet’ and ‘floor stock’

whole order fulfilled

I was just informed that any of this only works if the customer has already “accepted emails” - that after two days of wasted efforts. The whole idea is so simple…a customer buys a specific product - and an immediate email goes out offering a discount on an associated product. Not doable on Shopify - and the chat folk waste time…about 11 hours… Then an ‘expert’ comes on and says “only for customers who have previously 'accepted emails…” godawful.

Hi there do you do this automation for stores?