I’m looking to create a Shopify Flow to achieve the following, but I can’t find the appropriate definitions. Can someone help with this? I’m looking to send one email when an order placed through Facebook/Instagram is fulfilled AND the order contains a preorder product.
Start when: Order Fulfilled
Condition 1: if the sales channel is Facebook/Instagram
Condition 2: if the order contains a preorder product (defined by a metafield (theme.preorder) boolean value of TRUE)
Action: Send Marketing Email
Caveat: If they accept marketing e.g; a subscriber the “Send Marketing Email” should be possible if not it will fail. If not and this is a transactional email look at connecting flow with the usemechanic or a messaging app like firepush; unless you have a third party email app already see if it connects to flow.
Search the templates for “channel” and “metafield”
There’s a example templates.
“Tag orders by sales channel” that uses:
{{order.publication.name}}
And the template “Check a metafield value” that uses a condition like the following embedded image:
Note if boolean not working make a flow to output the metafields .value , the value of true may need to be “true” with the literal quotes or True capitalized.
Good Hunting.