Difference between revisions of "Mailchimp"

From WHMCS Documentation

(Importing Existing Customers)
Line 3: Line 3:
 
==What is MailChimp?==
 
==What is MailChimp?==
  
MailChimp is a powerful email marketing and automation platform that is free to use for up to 2,000 subscribers and allows up to 12,000 emails per month.
+
MailChimp is an email marketing and automation platform. It is free to use for up to 2,000 subscribers and allows up to 12,000 emails per month.
  
The WHMCS MailChimp integration leverages MailChimp's e-commerce API to synchronize customer, order and abandoned cart data with your MailChimp account. This allows you to take full advantage of MailChimp's advanced e-commerce automations to setup manual and automated campaigns including:
+
The WHMCS MailChimp integration uses MailChimp's ecommerce API to synchronize customer, order, and abandoned cart data with your MailChimp account. This allows you to use MailChimp's advanced ecommerce automation to set up manual and automated campaigns.
  
* Thank you's to new customers
+
This includes, but is not limited to:
* Automated follow-up's on abandoned carts
 
* To provide on-boarding/drip-feed campaigns to new customers
 
* Attempt to win back lapsed customers who haven't bought anything recently
 
* Reward your best customers based on order count or total spent
 
  
Plus many more.
+
* Thank you messages to new customers.
 +
* Automated follow-up messages on abandoned carts.
 +
* Onboarding or drip-feed campaigns to new customers.
 +
* Attempts to recapture lapsed customers who haven't bought anything recently.
 +
* Rewards for your best customers (based on order count or total spent).
  
 
==Signup==
 
==Signup==
  
If you do not yet have a MailChimp account, you can [https://go.whmcs.com/1297/mailchimp-create-account create one free here].
+
If you do not yet have a MailChimp account, you can [https://go.whmcs.com/1297/mailchimp-create-account create a free account here].
  
 
==Initial Setup==
 
==Initial Setup==
 +
 +
To set up integration with MailChimp:
  
 
# Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Addon Modules]]''' or, prior to WHMCS 8.0, '''Setup > Addon Modules'''.
 
# Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Addon Modules]]''' or, prior to WHMCS 8.0, '''Setup > Addon Modules'''.
 
# Locate the "'MailChimp'" module and click '''Activate'''.
 
# Locate the "'MailChimp'" module and click '''Activate'''.
# Assign your admin user role group (typically Full Administrator), access to the addon.
+
# Assign your admin user role group (typically ''Full Administrator'') access to the addon.
# Navigate to '''Addons > MailChimp''' to access
+
# Navigate to '''Addons > MailChimp'''.
  
 
The first time you access the MailChimp addon you will be guided through a setup process that connects your WHMCS installation with your MailChimp account.
 
The first time you access the MailChimp addon you will be guided through a setup process that connects your WHMCS installation with your MailChimp account.
Line 30: Line 32:
 
===Creating a MailChimp API Key===
 
===Creating a MailChimp API Key===
  
You will be asked to provide a MailChimp API Key as part of this setup. If you do not yet have a MailChimp account, you can [https://go.whmcs.com/1297/mailchimp-create-account create one free here].
+
You must provide a MailChimp API Key as part of this process. If you do not have a MailChimp account, you can [https://go.whmcs.com/1297/mailchimp-create-account create a free account here].
 
 
1. Once logged in, to create a new API Key navigate to Account > Extras > API keys
 
 
 
[[File:Mailchimp1.png]]
 
 
 
2. Click the Create A Key button. A new key will be automatically generated for you. Copy this key to your clipboard. We also recommend giving the API Key a label inside your Mailchimp account so you know what it is used for. Here we used the label "API Key for WHMCS".
 
 
 
[[File:Mailchimp2.png]]
 
 
 
3. Enter the API Key into WHMCS where requested. You will see this screen the first time you access the MailChimp addon after activating it.
 
 
 
[[File:Mailchimp3.png]]
 
 
 
==Creating your First Automation==
 
 
 
1. Login to your MailChimp account at https://login.mailchimp.com/<br>
 
2. Navigate to Campaigns > Create Campaign<br>
 
3. Choose Create an Email<br>
 
4. Select the Automated tab<br>
 
5. Choose the E-Commerce options. You will see a list like the one below.<br>
 
 
 
[[File:Mailchimp4.png]]
 
 
 
6. Now select your desired email from the list of pre-made options. Alternatively you can select the Custom button to create a new automation using the advanced mode.<br><br>
 
7. For the purposes of this demo, we are going to select the "Follow up on purchases" pre-made option which will allow us to create an on-boarding automation flow for new customers
 
 
 
[[File:Mailchimp5.png]]
 
 
 
8. You have a choice here of "Any product", "Specific product" or "Product category". We're going to select the Product category option.
 
 
 
[[File:Mailchimp6.png]]
 
  
9. Next enter a name for your new automation, we've chosen "Follow up on SSL purchase" and choose the mailing list you connected with your WHMCS installation earlier
+
To create a MailChimp API key:
<br><br>
 
10. The campaign overview will be displayed next. Select the Edit Trigger button to choose the product category that will trigger this email.
 
  
[[File:Mailchimp7.png]]
+
# Log in to MailChimp.
 +
# Navigate to '''Account > Extras > API keys'''.<br>[[File:Mailchimp1.png|500px]]
 +
# Click '''Create A Key'''. A new key will be automatically generated for you.
 +
# Copy this key to your clipboard. We also recommend giving the API key a label inside your MailChimp account so you know what it is used for (''API Key for WHMCS'' in the example below).<br>[[File:Mailchimp2.png|500px]]
 +
# Enter the API key in WHMCS. You will see this screen the first time you access the MailChimp addon after activating it.<br>[[File:Mailchimp3.png|500px]]
  
11. We are going to select "SSL Certificates" as the product category to trigger this email automation. This means any product purchase within the SSL Certificates product group will start the email campaign.
+
==Creating an Automated Campaign==
  
[[File:Mailchimp8.png]]
+
To create an automated campaign:
  
11. Hit save and now you can begin composing your campaign automation, starting with designing your first email, and adding others as you wish.
+
# Log in to your [[https://login.mailchimp.com/ MailChimp account]].
 +
# Navigate to '''Campaigns > Create Campaign'''.
 +
# Choose '''Create an Email'''.
 +
# Select the '''Automated''' tab.
 +
# Choose the '''E-Commerce''' options.<br>[[File:Mailchimp4.png|500px]]
 +
# Select your desired email from the list of premade options or click '''Custom''' to create a new campaign using advanced mode. For example, to create an onboarding automation for new customers, you would choose these options:
 +
## Select ''Follow up on purchases''. This option sends email after an applicable purchase according to your settings.<br> [[File:Mailchimp5.png|500px]]
 +
## Select ''Product category''. This option only sends email for purchases of specific types of product.<br> [[File:Mailchimp6.png|500px]]
 +
# Enter a name for your new automation (in this example, ''Follow up on SSL purchase'').
 +
# Choose the mailing list that you connected with your WHMCS installation. The campaign overview will display.
 +
# Click ''Edit Trigger'' to choose the applicable product category.<br>[[File:Mailchimp7.png|500px]] <br>This example uses ''SSL Certificates'' as the product category. <br>[[File:Mailchimp8.png|500px]]
 +
# Click '''Save'''.
 +
# Design your campaign's emails. You must create at least one. <br>[[File:Mailchimp9.png|500px]]
  
[[File:Mailchimp9.png]]
 
  
 
==Importing Existing Customers==
 
==Importing Existing Customers==

Revision as of 19:06, 22 July 2021

MailChimp integration is available in WHMCS 7.3 and later.

What is MailChimp?

MailChimp is an email marketing and automation platform. It is free to use for up to 2,000 subscribers and allows up to 12,000 emails per month.

The WHMCS MailChimp integration uses MailChimp's ecommerce API to synchronize customer, order, and abandoned cart data with your MailChimp account. This allows you to use MailChimp's advanced ecommerce automation to set up manual and automated campaigns.

This includes, but is not limited to:

  • Thank you messages to new customers.
  • Automated follow-up messages on abandoned carts.
  • Onboarding or drip-feed campaigns to new customers.
  • Attempts to recapture lapsed customers who haven't bought anything recently.
  • Rewards for your best customers (based on order count or total spent).

Signup

If you do not yet have a MailChimp account, you can create a free account here.

Initial Setup

To set up integration with MailChimp:

  1. Navigate to Configuration () > System Settings > Addon Modules or, prior to WHMCS 8.0, Setup > Addon Modules.
  2. Locate the "'MailChimp'" module and click Activate.
  3. Assign your admin user role group (typically Full Administrator) access to the addon.
  4. Navigate to Addons > MailChimp.

The first time you access the MailChimp addon you will be guided through a setup process that connects your WHMCS installation with your MailChimp account.

Creating a MailChimp API Key

You must provide a MailChimp API Key as part of this process. If you do not have a MailChimp account, you can create a free account here.

To create a MailChimp API key:

  1. Log in to MailChimp.
  2. Navigate to Account > Extras > API keys.
    Mailchimp1.png
  3. Click Create A Key. A new key will be automatically generated for you.
  4. Copy this key to your clipboard. We also recommend giving the API key a label inside your MailChimp account so you know what it is used for (API Key for WHMCS in the example below).
    Mailchimp2.png
  5. Enter the API key in WHMCS. You will see this screen the first time you access the MailChimp addon after activating it.
    Mailchimp3.png

Creating an Automated Campaign

To create an automated campaign:

  1. Log in to your [MailChimp account].
  2. Navigate to Campaigns > Create Campaign.
  3. Choose Create an Email.
  4. Select the Automated tab.
  5. Choose the E-Commerce options.
    Mailchimp4.png
  6. Select your desired email from the list of premade options or click Custom to create a new campaign using advanced mode. For example, to create an onboarding automation for new customers, you would choose these options:
    1. Select Follow up on purchases. This option sends email after an applicable purchase according to your settings.
      Mailchimp5.png
    2. Select Product category. This option only sends email for purchases of specific types of product.
      Mailchimp6.png
  7. Enter a name for your new automation (in this example, Follow up on SSL purchase).
  8. Choose the mailing list that you connected with your WHMCS installation. The campaign overview will display.
  9. Click Edit Trigger to choose the applicable product category.
    Mailchimp7.png
    This example uses SSL Certificates as the product category.
    Mailchimp8.png
  10. Click Save.
  11. Design your campaign's emails. You must create at least one.
    Mailchimp9.png


Importing Existing Customers

The MailChimp WHMCS integration will track customer signups and ecommerce transactions immediately upon activation. To add your preexisting customers to your MailChimp mailing list, you can perform an import.

To do this:

  1. From the Admin Area, navigate to Reports > More.
  2. Under Exports, click Clients.
  3. Select the fields to export. We recommend First Name, Last Name, Company Name, and Email Address.
  4. Click Filter to generate the report.
  5. In the top-right corner, click Tools and choose Export to CSV. This allows you to download a list of your customers in the CSV format.
    Clients-csv-8-2.png
  6. Go to MailChimp.
  7. Navigate to Lists and choose the list you want to import customers into.
  8. Navigate to Add contacts > Import contacts.
  9. Choose the CSV or tab-delimited text file option.
  10. Click Next.
  11. Follow the displayed instructions to upload the CSV export and complete the import process.