Different notifications for orders from specific app

I’d like to send a slightly different order confirmation email for orders that are placed via a custom app. There doesn’t seem to be a liquid object for the sales channel app that I can reference in the confirmation email. I’ve tried creating a flow that tags orders from that app with a specific tag, however it seems that the confirmation email is sent before Flow applies the tag. Any solutions?

I would ask the app that’s making your orders to add either one of these data points to the order:

  • order tag

  • order note

  • order attribute

Reference of available variables to put in your order confirmation email: https://help.shopify.com/en/manual/orders/notifications/email-variables#order-fulfillment

Then you can just use some conditional liquid logic in the order confirmation email to show the different content.

I think the easiest would be to have an order tag. Since that app is creating the order, they can add any of those data to the order at point of creation.

Another option, if they are unwilling to do that for you, is to look for any unique data points in the products. For example, if that app only adds certain skus, or products of a certain tag, you can identify orders with those line items using liquid as well.