# Adding a Coupon Block to Your Email Template

Make your emails more engaging by adding a coupon block. This lets you offer discounts to your customers, encouraging them to shop. Here’s a simple guide to help you add and customize a coupon block in your Retainful email editor.

### **Adding a dynamic coupon block on your email template**

**Step 1:** Login to your [Retainful dashboard](https://app.retainful.com/service/automation)

**Step 2:** Go to ‘**Automation**’ -> Choose any Workflow > Edit the chosen workflow

<figure><img src="/files/0RJH5Cpwwca77PgZCCIQ" alt=""><figcaption><p>Choose Any Automation</p></figcaption></figure>

**Step 3:** In the automation workflow builder, click on the ‘**Email**’ block -> Edit Email Contents.

<figure><img src="/files/OQLAsX7EvOumKbRiCdKH" alt=""><figcaption><p>CHoose the Email Block Element</p></figcaption></figure>

Now you will be redirected to the drag-and-drop email editor.&#x20;

You can add the dynamic coupon block by following the below instructions,

> 1. The coupon block can be found on the right-hand side under the Store content block.
>
> <img src="/files/2o3N68wg6QD7i4fBHjb0" alt="Dynamic coupon block" data-size="original">
>
> 2. Drag the “**Coupon**” block and drop the indicated block on your mail template's body.
> 3. Click on the shortcode **{{retainful\_dynamic\_coupon}}** on your email template.
> 4. &#x20;On the right-side panel, you will see the coupon settings.
> 5. Select the first coupon setting option to use the coupon code from the Coupon Step

> **NOTE: After configuring the coupon block, edit the text block as per your discount conditions**

<figure><img src="/files/uZvuKlAE19kUcOk4bZM5" alt=""><figcaption><p>Dynamic Coupon Settings</p></figcaption></figure>

Make sure that you save the template.

That’s it. We have now set up the discount coupon for the abandoned cart email template.&#x20;

Your customers can claim these discount coupons by clicking on the "**Complete Purchase"** button found below the coupon code.

{% hint style="success" %}
**Need More Help?**&#x20;

We’re here to make things easier for you!

* Email Us: Reach out anytime at <support@retainful.com>.
* Schedule a Call: Still stuck or need a hands-on walkthrough? Book a quick session with our support team, and we’ll guide you step-by-step.

[**Schedule a call with us**](https://zcal.co/retainful/onboarding)**.**
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.retainful.com/campaigns/adding-a-coupon-block-on-your-email-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
