Difference between revisions of "Mailchimp"

From WHMCS Documentation

m
Line 1: Line 1:
 
MailChimp integration is available in WHMCS 7.3 and later.
 
MailChimp integration is available in WHMCS 7.3 and later.
  
==What is MailChimp?==
+
== 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.
 
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.
+
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 to set up manual and automated campaigns.
  
This includes, but is not limited to:
+
This includes:
  
 
* Thank you messages to new customers.
 
* Thank you messages to new customers.
* Automated follow-up messages on abandoned carts.
+
* Automated followup messages on abandoned carts.
 
* Onboarding or drip-feed campaigns to new customers.
 
* Onboarding or drip-feed campaigns to new customers.
 
* Attempts to recapture lapsed customers who haven't bought anything recently.
 
* Attempts to recapture lapsed customers who haven't bought anything recently.
 
* Rewards for your best customers (based on order count or total spent).
 
* 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 a free account 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].
Line 25: Line 25:
 
# 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.
+
# Grant addon access to your admin user role group (typically ''Full Administrator'').
 
# Navigate to '''Addons > MailChimp'''.
 
# Navigate to '''Addons > MailChimp'''.
 +
# Follow the instructions to finish the setup process.
  
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 ==
  
===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 [https://go.whmcs.com/1297/mailchimp-create-account create a free account 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].
 
  
 
To create a MailChimp API key:
 
To create a MailChimp API key:
  
 
# Log in to MailChimp.
 
# Log in to MailChimp.
# Navigate to '''Account > Extras > API keys'''.<br>[[File:Mailchimp1.png|500px]]
+
# Navigate to '''Account > Extras > API keys'''. [[File:Mailchimp1.png|500px]]
 
# Click '''Create A Key'''. A new key will be automatically generated for you.  
 
# 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]]
+
# Copy the key to your clipboard. We also recommend giving the API key a label in your MailChimp account (''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]]
 
# 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]]
  
==Creating an Automated Campaign==
+
== Creating an Automated Campaign ==
  
 
To create an automated campaign:
 
To create an automated campaign:
Line 52: Line 51:
 
# Choose the '''E-Commerce''' options.<br>[[File:Mailchimp4.png|500px]]
 
# 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 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 ''Follow up on purchases''. This option sends email after an applicable purchase according to your settings. [[File:Mailchimp5.png|500px]]
## Select ''Product category''. This option only sends email for purchases of specific types of product.<br> [[File:Mailchimp6.png|500px]]
+
## Select ''Product category''. This option only sends email for purchases of specific types of product. [[File:Mailchimp6.png|500px]]
 
# Enter a name for your new automation (in this example, ''Follow up on SSL purchase'').  
 
# 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.
 
# 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 ''Edit Trigger'' to choose the applicable product category. [[File:Mailchimp7.png|500px]] This example uses ''SSL Certificates'' as the product category. [[File:Mailchimp8.png|500px]]
 
# Click '''Save'''.  
 
# Click '''Save'''.  
# Design your campaign's emails. You must create at least one. <br>[[File:Mailchimp9.png|500px]]
+
# Design your campaign's emails. You must create at least one. [[File:Mailchimp9.png|500px]]
 +
 
 +
== New Customers ==
  
==New Customers==
 
 
New customers will be added to MailChimp with their opted in or out status determined depending on their marketing e-mails selection during account creation (either via the registration page or when placing their first order). Information on configuring marketing e-mail automation can be found at [[Marketing_Emails_Automation|Marketing Emails Automation]]
 
New customers will be added to MailChimp with their opted in or out status determined depending on their marketing e-mails selection during account creation (either via the registration page or when placing their first order). Information on configuring marketing e-mail automation can be found at [[Marketing_Emails_Automation|Marketing Emails Automation]]
  
Line 69: Line 69:
 
To do this:
 
To do this:
  
# From the Admin Area, navigate to '''Reports > More'''.
+
# Go to the WHMCS Admin Area and navigate to '''Reports > More'''.
 
# Under '''Exports''', click '''Clients'''.
 
# Under '''Exports''', click '''Clients'''.
 
# Select the fields to export. We recommend '''First Name''', '''Last Name''', '''Company Name''', and '''Email Address'''.
 
# Select the fields to export. We recommend '''First Name''', '''Last Name''', '''Company Name''', and '''Email Address'''.
 
# Click '''Filter''' to generate the report.
 
# Click '''Filter''' to generate the report.
# 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.<br> [[File:clients-csv-8-2.png|500px]]
+
# 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. [[File:clients-csv-8-2.png|500px]]
 
# Go to MailChimp.
 
# Go to MailChimp.
# Navigate to '''Lists''' and choose the list you want to import customers into.
+
# Navigate to '''Lists''' and choose the list you want to import customers to.
 
# Navigate to '''Add contacts > Import contacts'''.
 
# Navigate to '''Add contacts > Import contacts'''.
 
# Choose the CSV or tab-delimited text file option.
 
# Choose the CSV or tab-delimited text file option.
 
# Click '''Next'''.
 
# Click '''Next'''.
 
# Follow the displayed instructions to upload the CSV export and complete the import process.
 
# Follow the displayed instructions to upload the CSV export and complete the import process.

Revision as of 15:07, 10 September 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 to set up manual and automated campaigns.

This includes:

  • Thank you messages to new customers.
  • Automated followup 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. Grant addon access to your admin user role group (typically Full Administrator).
  4. Navigate to Addons > MailChimp.
  5. Follow the instructions to finish the setup process.

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 the key to your clipboard. We also recommend giving the API key a label in your MailChimp account (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

New Customers

New customers will be added to MailChimp with their opted in or out status determined depending on their marketing e-mails selection during account creation (either via the registration page or when placing their first order). Information on configuring marketing e-mail automation can be found at Marketing Emails Automation

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. Go to the WHMCS Admin Area and 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 to.
  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.