Return data for specific discount code used in an order

Hi all,

Has anyone successfully returned discount data for the specific order in the Order Created trigger?

The issue we’re running into is the Get discount dat****a action returns a list of discounts versus the specific discount(s) used in the order.

Background: our goal is to send a Slack message with discount details used in the order if the discount usage matches a condition.

Thanks so much!

The Order created trigger returns the Order object to the workflow, including order.discountCodes. Is that not what you’re looking for? If you need additional details about each discount code you can then use a Get discount data action with a query filter by code.