# First-time buyer special discount ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(3)_EjFdgRJI.jpg) Not sure where to use this template? Check out [Get started with workflow templates library](https://docs.foxecom.com/xflow-app/workflows/get-started-with-workflow-templates-library) ## About this template When a **new subscriber** signs up and has **never made a purchase**, send them a **special first-order discount** to encourage their first purchase. ## Step-by-step guide to set up this template ### Trigger – New customer sign up This trigger activates the workflow when a user submits a Notify me form on your store (not during checkout). 📝 Learn more about triggers: [Understanding workflow triggers](https://docs.foxecom.com/xflow-app/workflows/understanding-workflow-triggers) ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(26)_fab4tW1h.jpg) ### Condition – Customer criterias: Order count Set the condition to **Order count → Equal to → 0** to identify customers who haven’t placed any orders yet. 📝 Learn more about conditions: [Workflow condition: Customer criteria](https://docs.foxecom.com/xflow-app/workflows/understanding-workflow-conditions/workflow-condition-customer-criteria) ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(4)_j8SuvUcK.jpg) ### Action – Create discount code In the **True** path, create a unique first-order discount code for the customer. If the customer has already made a purchase, the workflow ends and no further actions are triggered. 📝 Learn more about actions: [Understanding workflow actions](https://docs.foxecom.com/xflow-app/workflows/understanding-workflow-actions) ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(5)_393h1wYC.jpg) ### Action – Send email Send a first-order discount email that includes the newly created discount code. 1. Enter the **email subject**. 2. Select the **email template** that you have prepared in advance. If you don’t have an **email template** yet, check out [Create an email template](https://docs.foxecom.com/xflow-app/email-templates/create-an-email-template) Read more about the **variables** you can use in email: [Available variables in email templates](https://docs.foxecom.com/xflow-app/email-templates/understanding-personalization-variables-in-email-templates/available-variables-in-email-templates) ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(6)_Eh44UuVd.jpg) That’s it! This workflow automatically rewards new customers with a special discount, giving them an extra nudge to place their first order. **🌟 Pro Tip:** * Use a **time-limited discount** to create urgency and encourage faster conversion. * Keep the email message simple and focused on the benefit of the first purchase. * Test the workflow to make sure returning customers don’t receive the offer. ## Common use cases The **First-time buyer special discount** workflow template is commonly used when: * You want to **encourage first-time purchases** from new sign-ups. * You’re running a **new customer acquisition campaign**. * You want to turn subscribers into buyers as quickly as possible.