# Reward new subscribers with a discount code using AWeber

Navigate to your **Shopify dashboard** > **Apps** > **Personal Discount**. Hit the **Add automation** button, select **AWeber** as your Email Service Provider, and **Welcome New Subscribers** a Campaign type.

<figure><img src="/files/NNI77kiHLAmvhnNPKj5I" alt="Personal Discount for Shopify: create automation with AWeber"><figcaption><p>Create Personal Discount automation for AWeber</p></figcaption></figure>

Specify your automation details like the discount pattern, value, expiration date, or usage limit. Here is a great guide on [how to configure discount in your Shopify store using the Personal Discount app.](/personal-discount-for-shopify/configure-discount.md)

When your automation is finished, click the **Save** button and copy the code snippet to the clipboard.&#x20;

<figure><img src="/files/roptwjm3p0WwFKBUWdc4" alt="Copy the Personal Discount code snippet to the clipboard animated"><figcaption><p>Copy the Personal Discount code snippet to the clipboard</p></figcaption></figure>

Now switch over to your AWeber admin panel. Click **Messages** > **Campaigns** > **Create Campaign**. Then **Blank Campaign,** enter their name, and hit **Create**.

<figure><img src="/files/urX5GLMTJ0aiG0Dm6huU" alt="Create Aweber welcome new subscribers campaign animated"><figcaption><p>Create Aweber welcome new subscribers campaign</p></figcaption></figure>

In the next step select the **On Subscribe** trigger. Drag and drop the **Send a Message** box to your automation and click **Create a Message**. We will do it using **Drag and Drop Email Builder**.

<figure><img src="/files/7VWGiG2nd6vTIZn29MQw" alt="How to build AWeber welcome new subscribers automation animted"><figcaption><p>Build AWeber welcome new subscribers automation</p></figcaption></figure>

Now design your message. To insert the code snippet drag and drop a **Paragraph** element, switch over to the **Source** view and paste the snippet from Personal Discount. Then hit **OK**. Click **Save & Exit** at the right bottom when your template is ready.

<figure><img src="/files/OGJ0uGImrPqKhSBKJx8n" alt="AWeber: create welcome email template animated"><figcaption><p>AWeber: create welcome new subscribers email template</p></figcaption></figure>

Next, save your entire automation and activate it.&#x20;

<figure><img src="/files/aMG8Vslo8p98x4NPgp6V" alt="How to activate AWeber automation animated"><figcaption><p>Activate AWeber automation</p></figcaption></figure>

That's all! From now you can reward new subscribers with a discount code.

<figure><img src="/files/GKV3lxrDHly2NwKqXz5e" alt="AWeber welcome email with a discount code annotated"><figcaption><p>AWeber welcome email with a discount code</p></figcaption></figure>


---

# 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://docs.personaldiscount.io/personal-discount-for-shopify/integrate-personal-discount-with-your-email-service-provider/aweber/reward-new-subscribers-with-a-discount-code-using-aweber.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.
