Solved

Shopify Flow - Send email when order placed with Customer Metafield not blank

woaAdmin
Visitor
2 0 0

Hello, I am hoping for some help with this. I am new to Shopify Flow and want to set up an automation to email me when a customer places an order.

 

I have set up a metafield titled "Sales Representative" with preset choices. When a customer with a Sales Rep places an order, we need to pay a commission to the representative based on the order amount.

 

So I want to be emailed whenever these orders come in. Please advise how to target the custom customer metafield when an order is placed if the metafield has a value. Thank you!

Accepted Solution (1)

kgbfashionista
Navigator
345 24 46

This is an accepted solution.

Trigger: Order Created

 

Check if: Order -> Metafields -> Definition -> Name

Name Includes "sales representative"

Add Criteria for the same item -> AND

metfield -> Value

Value is Not empty and exists

 

Then -> Send email...

 

 

Should be ok

Feel free to like my post if it was helpful at all

View solution in original post

Replies 3 (3)

kgbfashionista
Navigator
345 24 46

This is an accepted solution.

Trigger: Order Created

 

Check if: Order -> Metafields -> Definition -> Name

Name Includes "sales representative"

Add Criteria for the same item -> AND

metfield -> Value

Value is Not empty and exists

 

Then -> Send email...

 

 

Should be ok

Feel free to like my post if it was helpful at all
woaAdmin
Visitor
2 0 0

Thank you for the reply, would it not be:

Check if: Order -> Customer -> Metafields -> Definition -> Name? 


Thank you for the clarification.

kgbfashionista
Navigator
345 24 46

Oh, my bad. Missed this part. Yes, indeed, you are right.

Feel free to like my post if it was helpful at all