Receiver Platforms

MailRelay

Estimated reading: 2 minutes

Overview

The Advanced Form Integration plugin allows you to connect your WordPress forms to MailRelay, enabling automatic addition of form submitters to your email marketing groups. This integration is helpful for lead generation, newsletter subscriptions, and targeted campaign automation.


βœ… Supported Features

  • Subscribe to MailRelay group


πŸ”§ How To Setup

Step 1: Get Your API Credentials

  1. Log into your MailRelay account.

  2. Note your subdomain from the URL (e.g., if it’s https://myorg.ipzmarketing.com/, then subdomain is myorg).

  3. Go to Settings β†’ API Keys, click Add, and copy the API Key.


Step 2: Add Credentials in AFI

  1. Navigate to AFI β†’ Settings β†’ MailRelay tab.

  2. Enter:

    • Subdomain: Your MailRelay subdomain.

    • API Key: The key you copied.

  3. Click Save Credentials.


Step 3: Create a New Integration

  1. Go to AFI β†’ Add New

  2. Provide a title for your integration (e.g., “Subscribe to Newsletter – MailRelay”)

πŸ”Ή Trigger

  • Form Provider: Choose your form plugin (e.g., Elementor, WPForms, Contact Form 7)

  • Form Name: Select the form you want to connect

πŸ”Ή Action

  • Platform: Select MailRelay

  • Task: Choose Subscribe to Group


Step 4: Map Fields

After selecting the action, configure the MailRelay options:

πŸ”Έ Select Account

Choose the MailRelay credential you saved earlier.

πŸ”Έ Select Group

Select the group where the subscriber should be added. The dropdown will be populated from your MailRelay account.

πŸ”Έ Map Fields

Map your form fields to MailRelay fields like:

  • Email (required)

  • Name

  • SMS Phone

  • Address

  • City

  • State

  • Country

  • Birthday

  • Website

  • Locale

  • Time Zone

  • Status

Use the dropdowns beside each field to link the form inputs.


Step 5: Save and Test

Click Save Integration.

Now, when a user submits the connected form, they will be subscribed to the selected MailRelay group.


πŸ” Troubleshooting

If the integration doesn’t work:

  1. Go to AFI β†’ Log

  2. Look for the relevant request and check:

    • Status code (should be 200)

    • Response message

  3. Common issues:

    • Incorrect subdomain or API key

    • No group selected

    • Email field not mapped properly

Share this Doc

MailRelay

Or copy link

CONTENTS