Skip to content
Get started
Print & Mail
Integrations

ActiveCampaign

Send letters, postcards, and self-mailers to your ActiveCampaign contacts with PostGrid's native integration.

PostGrid’s native ActiveCampaign Integration allows you to send letters, postcards, and self-mailers to your customer list through workflow automation. You can use pre-designed PDF or Personalized templates for creating your campaigns. In this guide, we will walk you through how to perform each step.


Regardless of what type of mail you want to send, the first step of setting up the automation is the same.

Navigate to the Automation Module and click on the “Create an automation” button to create a new automation or edit your existing automation.

ActiveCampaign Automation module

You can set up your new trigger event. It can be any of the following trigger events within ActiveCampaign:

  • Subscribes to a list.
  • Unsubscribe from a list.
  • Submit a form.
  • Web page is visited.
  • Tag is added.
  • And more.
ActiveCampaign trigger setup

After you have selected your triggers, add an Action Step by clicking the ’+’ button shown in your Automation Diagram. Navigate to the “CX Apps” and locate the PostGrid Apps.

PostGrid action in ActiveCampaign

Here, you have multiple choices regarding the type of mail, including letter, postcard, and self-mailer, you want to send and whether you want to use a template within your PostGrid Dashboard account or upload a pre-designed PDF file. The list of Apps is as follows.

AppsPurpose
Letter template appSending Letters with personalized template in PostGrid Dashboard
Letter PDF appSending Letters by uploading a pre-designed PDF file as a template
Postcard template appSending Postcards with personalized template in PostGrid Dashboard
Postcard PDF appSending Postcards by uploading a pre-designed PDF file as a template
Self-Mailer template appSending Self-Mailers with personalized template in PostGrid Dashboard
Self-Mailer PDF appSending Self-Mailers by uploading a pre-designed PDF file as a template

Once you select the appropriate PostGrid App, you can choose your PostGrid account through the pop-up window or click on the “Add New Account” button.

Select PostGrid account

To create a new account, you need to add the API key. You can simply find your API key in your PostGrid dashboard settings page.

Enter PostGrid API key

Click on the “Connect” Button, and proceed as follows.


Now, you need to define and map the variables one by one.

Use the merge variable as %VARIABLENAME%. Ensure you use the built-in ActiveCampaign contact variable to recognize the merge variable. Follow this and fill in all the merge variables.

ActiveCampaign merge variable examples:

Variable NameVariable Format
Recipient First Name%FIRSTNAME%
Recipient Last Name%LASTNAME%
Recipient Company Name%COMPANY_NAME%
Recipient Address%ADDRESS_FULL%
Recipient Country Codee.g. US, CA, GB, etc

You can also use the Thunder Light icon to search through the ActiveCampaign variable and choose the variable as per the campaign requirements.

ActiveCampaign merge variable selection

You need to define Sender information for sending mail; however, the sender Address and Country code are only mandatory for sending letters and self-mailers and can be kept empty for postcards. These fields can be filled with fixed data.

  • Sender First Name
  • Sender Last Name
  • Sender Company Name
  • Sender Address
  • Sender Country Code (e.g. US, CA, GB, etc)

As you follow through setting up the Automation, you need to define the value for the following criteria for your mails.

  • Mailing Class
  • Future Send Date (YYYY/MM/DD)
  • Description
  • Address Placement (Just for Letters)
  • Double Sided (Just for Letters)
  • Black and White or Color (Just for Letters)
  • Perforation (Just for Letters)
  • Size (Just for Postcards and Self-Mailers)

And at last, you need to define your template for your letter, postcard, or self-mailer.

  • If you opted to use a pre-designed PDF file as your template, you can simply add its URL to the automation, in the “PDF URL (Publicly accessible link)” field. To ensure your PDF file is publicly accessible, it must be hosted on a platform that does not require viewers to have an account or specific permission to view the document.
PDF URL field
  • If you opted to use an existing personalized template in your PostGrid dashboard, you need to copy the template ID to your Automation designated field.
    • For Letters

      Template ID field for letters
    • For Postcards

      Template ID field for postcards
    • For Self-Mailers

      Template ID field for self-mailers

To copy the template ID, go to your PostGrid Dashboard Template page and copy the desired template ID from the template’s detail page.

Copy template ID from PostGrid dashboard

PostGrid offers a highly personalized template editor that allows you to add customized variables to your templates. So here, you can map the variables you’ve defined in your template to specific fields. There are ten fields available for merging variable names and values.

Merge variable name and value fields

For instance, if your template contains the merge variables {{to.firstName}}, {{dealStage}}, and {{coupon}}, which for the First Name and Deal Stage should be filled out by the ActiveCampaign contact variables, and for the Coupon pass a fixed data of 123, you need to map as follows.

  • {{to.firstName}} This variable populates automatically based on Contacts information provided in the Recipients section and doesn’t need to be mapped again
  • {{dealStage}} Merge Variable Name (1): dealStage Merge Variable Value (1): %DEAL_STAGE%
  • {{coupon}} Merge Variable Name (2): coupon Merge Variable Value (2): 123

For more complex templates that require additional variables, you can use the “Extra Merge Variables” field. This allows for the integration of more intricate data sets into your template, making your automated communications even more tailored.

Extra merge variables JSON field

For the above example, the JSON code would be:

Extra Merge Variables (JSON):

{
"dealStage": "%DEAL_STAGE%",
"coupon": "123"
}

after completely filling all the mandatory fields in the automation, you can click on the “Finish” button, and activate your automation.

Finish and activate automation

Once your automation is triggered, you can monitor the orders reflected in your PostGrid dashboard and track your orders through the process.

You can check for the logs of the PostGrid Applications in the ActiveCampaign profile and PostGrid dashboard.

To check the logs in the ActiveCampaign, you need to check the Application page for PostGrid, as follows:

PostGrid logs in ActiveCampaign PostGrid log details

and to check the API logs in the PostGrid account, navigate to the API log page.

Moreover, by utilizing webhook integration, you can simply receive event notifications.

Now, you can access your desired PostGrid Print & Mail service through ActiveCampaign!