Step 1: Create a coupon code with your custom discount amount in WooCommerce > Coupons. Step 2: Add a custom text block to the order confirmation email template and paste your new coupon code. Step 3: Add a new display condition. Step 4: Select the criteria to display the coupon code block in the email template. Step 5: Save, send a test email and finish