Automate Actions When a Coupon Code is Applied
Understanding the Coupon Code Applied Trigger
The Coupon Code Applied trigger starts a workflow the instant a customer enters and applies a discount code during the checkout process. This automation activates whether the customer ultimately completes the purchase or not, enabling you to respond to coupon usage in real time. It's a powerful tool for marketing, sales, and customer service teams to engage shoppers immediately after they show interest in a discount.
Key Benefits
- Real-Time Engagement: Launch automated follow-ups the moment a coupon is used, capitalizing on the customer's active shopping session.
- Recover Abandoned Carts: Target shoppers who applied a coupon but left without purchasing, encouraging them to return and finalize their order.
- Personalized Marketing: Create tailored communications or offers based on the specific coupon code or discount value applied.
- Precise Targeting: Use detailed filters to run automations only for specific products, order values, or coupon types.
- Internal Alerts: Automatically notify team members or tag contacts when important or high-value coupons are used.
How to Configure the Trigger
Step 1: Access the Workflow Builder
Navigate to Automation > Workflows in your CRM. Create a new workflow or open an existing one for editing.
Step 2: Add the Trigger
In the workflow builder, click + Add New Trigger. From the list of triggers, locate the Payments section and select Coupon Code Applied.
Step 3: Name Your Trigger
Enter a clear, descriptive name in the Workflow Trigger Name field to help you identify this automation later (e.g., "20% Off Seasonal Sale Code Applied").
Step 4: Apply Filters (Optional)
After naming the trigger, you can add filters to control exactly when the workflow runs. Click + Add Filters to select from available options. Each filter uses operators like Is, Contains, or Greater Than to define precise conditions.
Step 5: Save and Build
Click Save Trigger once configured. You can then add your desired actions to the workflow. Use the Test Workflow feature to verify your setup before publishing it to activate the automation.
Available Filters
You can refine the trigger using the following filters. Each filter allows you to select specific operators to match your criteria.
- Coupon Code: Target specific discount codes from a multi-select dropdown.
- Coupon Name: Filter based on the names of your coupons.
- Coupon Type: Filter by whether the coupon offers a percentage or fixed amount discount.
- Coupon Value: Set conditions based on the numerical value of the discount.
- Order Value (Before Discount): Trigger the workflow based on the cart's total before the coupon is applied.
- Product Collection: Filter based on product collections present in the order.
- Product Type: Filter for one-time or recurring subscription products.
- Product(s) In Order: Target workflows when specific products are in the cart.
- Source: Filter by the origin of the order.
Recommended Workflow Actions
After setting up the trigger, consider adding these actions to your workflow:
- Send an Email: Immediately thank the customer for using the coupon or offer a related promotion.
- Add a Tag: Apply a contact tag based on the coupon used for future segmentation.
- Send an Internal Notification: Alert your sales or marketing team when a key coupon is applied.
- Assign to User: Route the contact to a specific team member for personalized follow-up.
- Create or Update an Opportunity: Move the contact into a sales pipeline stage for further nurturing.
Frequently Asked Questions
Does this trigger work if the customer abandons checkout?
Yes. The workflow is activated as soon as the coupon code is successfully applied, regardless of whether the customer completes the purchase.
Can I filter based on which products are in the cart?
Yes. Use the Product(s) In Order or Product Collection filters to target workflows only when specific items are present.
What happens if I don't use any filters?
Without filters, the workflow will trigger for every single coupon code applied at checkout. It is recommended to use filters to target specific campaigns or discount types.
Can I trigger actions based on the order total?
Yes. You can use the Order Value (Before Discount) filter with operators like Greater Than to run automations only for carts above or below a certain value.
Does this trigger work for scheduled or subscription orders?
No. This trigger only activates when a coupon is applied during an active checkout session.