Receiver Platforms

Mailcoach

Estimated reading: 2 minutes

Overview

The AFI plugin lets you connect your WordPress forms to Mailcoach, enabling seamless email subscriber management. With this integration, form submissions can automatically add subscribers to your Mailcoach mailing lists.


✅ Supported Action

  • Add Subscriber – Add new subscribers to a selected Mailcoach list.


🔧 How to Set It Up

Step 1: Get Your Mailcoach API Credentials

  1. Log in to your Mailcoach account.

  2. Go to API Settings.

  3. Copy your API Domain (e.g., mail.yoursite.com).

  4. Generate or copy your Personal Access Token.


Step 2: Connect Mailcoach with AFI

  1. In your WordPress admin, go to AFI → Settings → Mailcoach.

  2. Enter:

    • API Domain (e.g., mail.yoursite.com)

    • API Token (your personal access token)

  3. Click Save Changes.


Step 3: Create a New Integration

  1. Go to AFI → Add New.

  2. Under the Trigger section:

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

    • Form Name: Select the form you want to use.

  3. Under the Action section:

    • Platform: Select Mailcoach

    • Task: Select Add Subscriber


Step 4: Map Fields

After selecting the task, configure the required settings:

🔹 Mailcoach Account
Select the Mailcoach account (based on the API credentials you’ve saved).

🔹 Mailing List
Select the email list to which new subscribers should be added.

🔹 Subscriber Fields
Map your form fields to Mailcoach fields:

  • email (required)

  • first_name (optional)

  • last_name (optional)

You can use AFI’s dynamic merge tags to map any form input to these fields.


Step 5: Save the Integration

Click Save Integration at the bottom of the setup page.

🎉 Done! Now, whenever someone submits the connected form, they’ll be automatically added to your Mailcoach list.


🧪 Troubleshooting

If the integration doesn’t work as expected:

  1. Visit AFI → Log to review API responses.

  2. Confirm:

    • Correct API Domain and Token were provided.

    • A valid Mailing List is selected.

    • The Email field is properly mapped and not empty.

  3. Check for any error messages returned by the Mailcoach API.

Share this Doc

Mailcoach

Or copy link

CONTENTS