SmartrMail
SmartrMail is an ecommerce-focused email-marketing platform with strong Shopify and WooCommerce integration. Advanced Form Integration adds or updates SmartrMail subscribers from form submissions on a chosen mailing list.
What you’ll need
- An active SmartrMail account.
- A SmartrMail Private API Token (Account → API).
- The Advanced Form Integration plugin installed and activated.
Get your SmartrMail API token
- Log in to your SmartrMail account.
- Navigate to Account → API.
- Generate or copy your Private API Token.
Connect SmartrMail to AFI
- In WordPress, go to AFI → Settings.
- Enable SmartrMail and click Save Changes.
- Open the SmartrMail tab.
- Paste the Private API Token and click Save Changes.
You can save credentials for multiple SmartrMail accounts.
Create the integration
- Go to AFI → Add New.
- Configure the trigger.
- In Action → Platform, select SmartrMail.
- In Task, choose Add/Update Subscriber to List.
- Pick the SmartrMail Account and the target Mailing List: AFI loads your lists automatically.
- Map the form fields:
- Email (required), First Name, Last Name, Phone.
- Custom fields configured on your SmartrMail account.
- Optional: configure Conditional Logic.
- Click Save Integration.

Tasks supported
Add/Update Subscriber to List
Adds the form submitter as a new subscriber, or updates an existing subscriber if the email matches one already on the list. No duplicates created.
Conditional logic example
Subscribe to your “Holiday shoppers” SmartrMail list only when the form’s shopping_intent hidden field equals “holiday”. Other shoppers go to the standard ecommerce nurture list.
Troubleshooting
Integration doesn’t fire
Open AFI → Log and find the most recent entry. The log shows the request payload sent to SmartrMail and the response received, usually pointing straight at the cause.
“Invalid API Token”
Ensure the token is correct and hasn’t been revoked from SmartrMail’s API page.
“List not found”
Confirm the selected list still exists in your SmartrMail account. If it was deleted, re-pick a valid list.