How to Integrate with ActiveCampaign

ActiveCampaign is a cloud software platform for small-to-mid-sized businesses. This software is used for customer experience automation, which combines email marketing, marketing automation, sales automation, and CRM categories.

Digioh’s ActiveCampaign integration allows you to capture contacts with pop-up forms, lightboxes, surveys, and quizzes, then pass that data to ActiveCampaign in real-time.

Integration Requirements:

For integrating digioh with the ActiveCampaign. We need the following data.

1- Base URL from ActiveCampaign

2- Api token from ActiveCampaign 

Both Base URL and API key are placed on the ActiveCampaign Settings page

Please check the below steps for getting the Base URL and API token.

Steps to get ActiveCampaign URL and API KEY:

1- Login to ActiveCampaign.

2- Open the settings page. Check the below screenshot.

2- On the settings page click one developer link. Check below screenshot

activecampign developer page

3- On the Developers page copy the URL 

activecampign api endpoint

4- Also copy the API key 

activecampign apikey

The URL and API key will be used in the digioh integration section.

Digioh

In Digioh Create a new box after creating the box. Create a new integration. 

For creating the Box Check this Getting started with Digioh

Steps:

1: Add a New Integration

2: Set a friendly name in the Friendly Name field.

hubspot integration setup

3: Select API Form Post in Integration options

add new hubspot integration to digioh

4: Form Post URL

Enter the ActiveCampaign API Endpoint.

https://youraccountname.api-us1.com/api/3/contacts (Note: This URL will be different for each account https://youraccountname.api-us1.com

5: Select JSON Raw in Post Type.

select post type json raw

6: Select Box

Select the box and click Create Integration.

In Integration Advanced Settings Page

Set Header 1 Key Input field to Api-Token

digioh authorization header

In Header 1 value: Place the API access token That we copied in step 4. 

In Raw data to Send, Textarea put the raw JSON as given below. 

{
    "contact": {
        "email": "johndoe1@example.com"
     }
 }

Note: Email attribute is required. We can also add the additional attributes that are given in the below table.

Raw JSON Parameters:

ActiveCampaign Fields Digioh Fields 
firstName (Optional) [FIRST_NAME]
lastName (Optional) [LAST_NAME]
phone (Optional) [PHONE]
email (Required) [EMAIL]

 

ActiveCampaign Custom fields.

We can pass custom fields to ActiveCampaign as well through the contact API.

Just pass the custom fields array along with the custom field ID and value.

Reference

In Raw data to Send, Textarea put the raw JSON as given below for passing the custom fields.

{
    "contact": {
        "email": "johndoe@example.com",
        "firstName": "John",
        "lastName": "Doe",
        "phone": "7223224241",
    "fieldValues":[
      {
        "field":"1",
        "value":"The Value for First Field"
      },
      {
        "field":"6",
        "value":"2008-01-20"
      }
    ]
    }
} 

That’s all Your ActiveCampaign integration is ready to go!

If you have any questions about setting up your ActiveCampaign integration, send us an email, and we’ll be glad to help!

Related Reading: