Tag orders based on discount code used
This workflow will tag orders where a certain discount code is used. This workflow runs automatically when a new order is created, and you can also run this workflow manually to tag all historical orders where certain discount code is used.