> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.avada.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to insert coupon code into your email template?

## Emails with Drag and Drop email editor

For the **Drag and Drop** email editor, you will find the coupon block as below. Just put it in the email content, at any position you want.


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_dohqlf.png)


Click to the coupon box in email. then look at the right menu, click on **Open Settings**. 


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_keqsii.png)

Choose the coupon type: Static Coupon, Dynamic Coupon, Form Coupon


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_orqnvy.png)

### Type 1. Static coupon

Static coupon is a certain code that can be sent to all receivers of your email campaigns.

- Choose the Coupon type as Static Coupon and enter the code manually. For example, WELCOME10, SUMMER20, etc. 


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_13hrbzf.png)


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_nhka4o.png)

### Type 2. Dynamic coupon

Dynamic coupon is Random code that each customer will get a unique one on their email.

**You have to [generate and import the coupon list](https://help.avada.io/help/how-to-generate-and-insert-coupon-codes-into-your-emails/) first. **

Choose the Coupon type as a Dynamic coupon and select the code list you have imported to the app, or you can create a new one here.


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_1bx77rw.png)


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_1sbnfoc.png)

**Successfully selected:**

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_1ityi80.png)

### Type 3: Form coupon

Form coupon is only used for Welcome Subscribers workflow. This coupon type mean that: Coupon displayed at emails will be the same coupon that customers have seen on AVADA's form.
Select a form you want to connect with your welcome emails and click **Save coupon** to save the setting.


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_t5o579.png)

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/image_48qsz8.png)


## Emails with Rich Text email editor

For **Rich Text Editor**, you will find the Coupon variable here:

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/9_18gh3k4.png)

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/10_d40sqs.png)

Where you edit email with Drag & Drop or Rich Text Editor, there are **two coupon code types** you can insert:

**Type 1. Static coupon**: A certain code that can be sent to all receivers of your email campaigns.

- Choose the Coupon type is Static Coupon and enter the code manually. For example: WELCOME10, SUMMER20, ...

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/11_zy97ld.png)

**Type 2. Dynamic coupon:** Random code that each customer will get a unique one on their email.

**You have to [generate and import the coupon list](https://help.avada.io/help/how-to-generate-and-insert-coupon-codes-into-your-emails/) first.**

- Choose the Coupon type as a Dynamic coupon and select the code list you have imported to the app, or you can create a new one here.

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/12_1cjwqu2.png)

**Successfully inserted:**

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/13_14epasl.png)

**2.2** For **Rich Text Editor**, you will find the Coupon variable here:

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/14_nwmz08.png)

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/15_4ysla8.png)

Where you edit email with Drag & Drop or Rich Text Editor, there are **two coupon code types** you can insert:

**Type 1. Static coupon**: A certain code that can be sent to all receivers of your email campaigns.

Choose the Coupon type is Static Coupon and enter the code manually. For example: WELCOME10, SUMMER20, ...

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/16_zhx151.png)

**Type 2. Dynamic coupon:** Random code that each customer will get a unique one on their email.

- Choose the Coupon type as Dynamic coupon and select the code list you have imported to the app, or you can create a new one here.

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/17_190fa8j.png)

- Successful inserting:
