EmailElement Docs

Campaign Refinery

Campaign Refinery

To set up a Campaign Refinery Send Integration, the following are required:

  • At least one Email Sending Domain setup
  • Webhooks setup and enabled in Mailgun
  • API Key from Mailgun and
  • API Key from Campaign Refinery

Note: To send to contacts using Campaign Refinery, the contact must be added to Campaign Refinery's system first.

Create and Enable Webhooks in Mailgun

  1. From the left pane, select Send > Sending > Webhooks

  2. Click “Add webhook” in the top right corner

  3. Edit the webhook settings with shown below:

    • Select the following events

      • Delivered Messages
      • Accepted
      • Permanent Failure
      • Temporary Failure
      • Unsubscribes
  4. Click “Create webhook” to save the webhook

Create and Enable Webhooks in Mailgun

[Use this for easier copy/paste]

Endpoint URL:
https://deliverywebhook.emailelement.com/api/event/campaignrefinery

Create an API Key in Mailgun

  1. Select your user info in the op menu
  2. Select “API Security”

Create an API Key in Mailgun

In the API Keys page, select “Create key” with Admin privileges. You will need this key for the next step

Create an API Key in Mailgun

Add Mailgun API key to Campaign Refinery

  1. From the left pane, select Settings > Sending Credentials
  2. Click “Add your Mailgun credentials”
  3. Enter the Mailgun API Key, from the previous steps

Add Mailgun API key to Campaign Refinery

Add Mailgun Domain to Campaign Refinery

  1. From the left pane, select Settings > Sending Domains
  2. Click “Add Sending Domain”
  3. In the “From Email” Section, select your Mailgun Domain
  4. The webhooks section will show the webhooks we setup in the previous steps

Add Mailgun Domain to Campaign Refinery

After selecting “Save Domain Settings”, copy the UUID, this will be needed when setting up the Send Integration in EmailElement

Add Mailgun Domain to Campaign Refinery

  • Note: You will only be able to save the domain if the Domain in Mailgun has been fully authenticated with DMARC, SPF, and DKIM.

Create Email Header/Footer in Campaign Refinery

  1. From the left pane, select Settings > Email Header/Footer
  2. Click “Setup your first Email Header/Footer”
  3. Fill out the settings

Create Email Header/Footer in Campaign Refinery

After selecting “Save”, copy the UUID, this will be needed when setting up the Send Integration in EmailElement

Create Email Header/Footer in Campaign Refinery

Get API Key from Campaign Refinery

  1. From the left pane, select Settings > API
  2. Copy the API key

Get API Key from Campaign Refinery

EmailElement Integration

  • Back in EmailElement, when setting up your integration, enter these items into their appropriate field

EmailElement Integration

Something went wrong. Reloading the page usually fixes it. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.