> For the complete documentation index, see [llms.txt](https://support.referralhero.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.referralhero.com/campaign-builder/integrations/aweber.md).

# Aweber

The ReferralHero / Aweber integration provides a robust set of features that empower you to:

* Import Existing Contacts from Aweber to ReferralHero
* Automatically Sync ReferralHero Subscribers to Aweber

## Import Aweber Contacts to ReferralHero

If you have existing contacts in your Aweber account and you want to import/subscribe them all to your ReferralHero campaign, you'll want to follow these instructions:

1. 1.Go to your Campaign Dashboard > Edit Campaign > Add Subscribers > click the **Import via Integration** tab
2. If you haven't connected your Aweber account yet, please do it now by clicking on the button Setup Integration
3. Choose the Aweber list from which you want to import contacts/subscribers
4. Imported subscribers will automatically receive the Welcome Email/SMS if it is enabled in your campaign.
5. Click on the button Import

<figure><img src="https://363135598-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LsuqexOLPOWiUrWg_Ko%2Fuploads%2FCXjyZhmhJLdmXhKmDXSd%2Fimage.png?alt=media&amp;token=3654102c-d9a8-4ec5-90d6-ec3b88349fbb" alt=""><figcaption></figcaption></figure>

We will import the subscribers into your ReferralHero campaign immediately. Depending on the number of subscribers being imported, the process may take anywhere from a few minutes to several hours.

If **Import/Export Notifications** is enabled, we’ll send you an email once the import is complete.

{% hint style="warning" %}
**NOTE:** If you turn on the Aweber integration (see the section below), ReferralHero will populate the custom fields in your Aweber account with the subscriber's values.
{% endhint %}

## Sync ReferralHero Subscribers to Aweber

If you want to automatically add ReferralHero subscribers to Aweber follow these instructions:

1. Log into ReferralHero
2. Go to your Campaign Dashboard > Edit Campaign > Integrations > Aweber
3. Click ‘Connect your Aweber account’

   <figure><img src="https://363135598-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LsuqexOLPOWiUrWg_Ko%2Fuploads%2FaYtPBvY8anyMJhC3xLf0%2Fimage.png?alt=media&amp;token=a1450993-0e40-463a-a570-9d6d051f72d8" alt=""><figcaption></figcaption></figure>
4. Choose the Aweber account that you want to connect to ReferralHero
5. Choose the Aweber contact list from the Aweber List dropdown
6. Then click Save

The integration will automatically create the following custom fields in your Aweber account.

| FIELD              | Description                                        |
| ------------------ | -------------------------------------------------- |
| **SUB\_ID**        | Subscriber's id                                    |
| **ADVOCATE\_CODE** | Subscriber’s referrer’s referral code              |
| **EX\_FIELD**      | Subscriber's extra field value                     |
| **EX\_FIELD\_2**   | Subscriber's second extra field value              |
| **CODE**           | Subscriber's unique referral code                  |
| **REF\_LINK**      | Subscriber's unique referral link                  |
| **TOT\_REF**       | Subscriber's total number of referrals             |
| **SOURCE**         | Subscriber's source. If empty value will be "None" |
| **LAST\_REF**      | Timestamp of last referral                         |
| **FB\_LINK**       | Subscriber’s Facebook link                         |
| **TW\_LINK**       | Subscriber’s Twitter link                          |
| **EM\_LINK**       | Subscriber’s email link                            |
| **POSITION**       | Subscriber’s position                              |
| **POINTS**         | Subscriber’s total accumulated points              |
| **REFERRER**       | Subscriber’s referrer’s name                       |

Now when a person signs up for your ReferralHero campaign, they will be immediately added to your Aweber account.

{% hint style="info" %}
**NOTE:** ReferralHero will automatically update these custom fields when a person signs up or when things change (eg: when a subscriber refers a new person, their TOT\_REF value changes).
{% endhint %}
