# What are email templates ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(72)_IWPxSHSQ.jpg) ## What are email templates in XFlow? An **email template** is the message format XFlow uses in your workflows and campaigns to notify customers automatically when products are back in stock. Each template defines: * The **structure** of your message (header, content, button, footer) * The **content and styling** (text, product details, call-to-action) * Dynamic **personalization tags** (like product name, price, or store name) You can reuse the same template across multiple campaigns or customize different ones for unique collections or audiences. 📝 Learn more: * [Create an email template](https://docs.foxecom.com/xflow-app/email-templates/create-an-email-template) * [Design your email templates](https://docs.foxecom.com/xflow-app/email-templates/design-your-email-templates) ## Where email templates are used Templates are connected directly to your workflows. Whenever a workflow sends an email node, it uses the assigned email template to deliver the message. | Workflow example | Email template used | | ----------------- | ------------------------------------------- | | Product restocked | “Back in Stock notification” template | | Reminder message | “Follow-up” or “Still interested?” template | 📝 Learn more: * [Create a workflow](https://docs.foxecom.com/xflow-app/workflows/create-a-workflow) * [Use email templates in campaigns and workflows](https://docs.foxecom.com/xflow-app/email-templates/use-email-templates-in-campaigns-and-workflows) ## Benefits of using email templates * **Save time** — create once and reuse across multiple campaigns. * **Stay on brand** — apply your logo, colors, and tone for a consistent look. * **Personalize at scale** — automatically include product names, variants, or prices using dynamic variables. * **Improve conversions** — highlight urgency, discounts, or restock limits to drive faster purchases. * **Track performance** — see open rates, clicks, and attributed sales for each template. ## Featured articles Explore pre-built email templates Create an email template Design your email templates Understanding personalization variables in email templates Preview and test your email Manage email templates Use email templates in campaigns and workflows Email templates: FAQs