Connect Postmark to ActiveCampaign

Available on all plans. 

Use the ActiveCampaign Postmark integration to send transactional emails from your automations. You can build your template in the ActiveCampaign designer or import your HTML template. Personalizations can be included in your templates to empower truly personal transactional emails.

Take note

  • You need an ActiveCampaign account and a Postmark account to set up this integration
  • The integration setup takes place in your ActiveCampaign account
  • Personalization placeholders use a different syntax in CX apps. If you are using personalizations in your templates, please be sure to use the correct syntax for your personalization fields. Only Contact fields are supported

Configure the Postmark integration

  1. Click "Automations" on the left menu.
  2. Create or edit an automation.
  3. Drag the "Send a transactional email" action to your automation. This is located under "CX Apps."

    Send a transactional email automation action.jpg
  4. Enter your Postmark Account API Token into the CX app then click "Connect." The Account API Token can be found from the API Tokens tab under your Postmark account.

    Send a transactional email CX app.jpg
  5. Choose your message settings:
    • Message Stream
      A dropdown to choose which transactional message stream to use from your Postmark server.

    • Template
      The template content for your transactional email. Use this dropdown to choose a template from your ActiveCampaign account. If you are using personalizations you will need to modify the template to support the CX App personalization syntax.

    • Message Subject
      The subject line for your transactional message. This field supports personalization.

    • From Address
      The From Address that will be used for your transactional message. These are Sender Signatures on your Postmark account.

    • Track Opens
      Choose whether to track opens for this message.

    • Track Links
      Choose whether to track link clicks for this message.

And that’s it! When a Contact reaches this action in your automation, a transactional email will be sent using the options you selected in the Message Settings step.

Templates

If you are creating your template for use with this integration, we recommend using the “Classic” email designer. Due to the way the template content is stored in our platform, templates built using the new designer will automatically include the unmodifiable footer content at send time. However, the unsubscribe and sender placeholders will not be personalized. If you choose a “Classic” template or HTML template, although the footer will still be visible in the designer, it will not be included in the message at send time.

In the following example, the “Classic” designer is on the right, and the received email message visible in the Postmark Activity log is on the left (without the footer.)

Template example.png

Import your existing HTML templates

  1. In your ActiveCampaign account, click “Campaigns” > "Campaign Templates."
  2. Click the “Create a Template” button
  3. Click the “Custom HTML” option and click “Continue.”
  4. Paste your HTML content into the editor.
  5. If you are using personalizations, please be sure to update any placeholders in your content to use the correct syntax for this integration.
  6. Give your template a name by clicking on the “New Template” button and editing the text.
  7. Click “Save and exit.”

Personalizations in Template Content

In order for personalizations to work correctly, the proper placeholder syntax must be used. The syntax for personalizations supported in CX apps is different from the normal personalization fields in ActiveCampaign templates. It is important to use the correct personalization syntax, or the fields will not be substituted properly and may be left blank in your message content.

Syntax Differences

For templates used in this integration, Standard fields must use “camelCase” rather than full uppercase as they normally would be in ActiveCampaign templates. The following Standard fields are supported:

  • Email: %email%
  • First Name: %firstName%
  • Last Name: %lastName%
  • Phone Number: %phone%

Custom fields are represented by the custom field id value rather than the name. For example, I have a Custom Field called “Favorite Color” with an id of 3. This would be represented by the personalization tag %3% rather than %FAVORITE_COLOR%.

Your templates must include the id-based syntax for personalizations or the substitutions will not occur properly. To find the correct id for your custom fields you can use the Personalize dropdown when setting up the app (see below) or you can make an API call to https://youraccountname.api-us1.com/api/3/fields.

Choose a personalization from the dropdown to see the correct placeholder to add to your templates:

Postmark CX app personalize message subject.jpg

Postmark CX app message subject 2.jpg

If you are using this trick to find the correct personalization placeholders, please be sure to delete them from the text area afterward.

Was this article helpful?
1 out of 1 found this helpful

Have more questions? Submit a request

Start free trial