Connect Mail Niaga to Make (Integromat) or Zapier
Make (old name: Integromat) and Zapier can connect Mail Niaga to many other apps. Both use the Mail Niaga API. You can send new subscribers to a list, or get campaign events from Mail Niaga.
This article is for users who know Make or Zapier. You need the API token from the API page in the Mail Niaga console (click API in the sidebar, then Copy). See Get and change your API token and Use the Mail Niaga API.
Add subscribers from Make or Zapier
Section titled “Add subscribers from Make or Zapier”In Make, use the HTTP module (Make a request). In Zapier, use Webhooks by Zapier with the POST action. Set the request as follows:
| Setting | Value |
|---|---|
| Method | POST |
| URL | https://manage.mailniaga.com/api/v1/subscribers |
| Header | Authorization: Bearer YOUR_API_TOKEN and Accept: application/json |
list_uid |
The UID of your Mail Niaga list |
EMAIL |
The email address of the subscriber (required) |
FIRST_NAME, LAST_NAME and other list fields |
Optional, as the list fields in your list |
status |
Optional: subscribed, unsubscribed or unconfirmed |
tag |
Optional: subscriber tags, with a comma between them |
Replace YOUR_API_TOKEN with your token. To get the list_uid, send GET to https://manage.mailniaga.com/api/v1/lists with the same headers. The response lists each list with its UID.
To see all the endpoints and parameters, click API in the sidebar. Then click View full API documentation.
If the API replies “List not found”, check your list_uid and your token. If the API replies “Subscriber quota exceeded for this plan”, “Per-list subscriber quota exceeded” or “List quota exceeded”, your account or list is at the subscriber limit of your plan.
Use campaign events as a trigger
Section titled “Use campaign events as a trigger”A campaign webhook sends Open, Click or Unsubscribe events to Make or Zapier. Do these steps:
- In Make, add the Webhooks module (custom webhook). In Zapier, choose the Webhooks by Zapier trigger (Catch Hook). Copy the webhook URL that the tool gives.
- In the Mail Niaga console, click Email in the sidebar. Click Edit on the row of your campaign, then go to the Setup step.
- Open Advanced Settings, open the Webhooks card, then click Manage.
- In the Manage Webhooks popup, click Add webhook.
- Choose the Webhook type, paste the webhook URL in Endpoint URL, then click Add webhook.
Mail Niaga sends the event data in JSON each time the event occurs. See Campaign webhooks for the data format.
This advice helps you test the connection and keep it safe:
- Test with a new email address. Mail Niaga refuses an address that is already in the list.
- Keep the token in the connection settings, not in scenario notes. A person who sees the token can get access to your account data.
Common issues
Is there a Mail Niaga app in Make or Zapier?
Use the HTTP module in Make, or Webhooks by Zapier, with the Mail Niaga API. This method does not need a special app.
Does Integromat still exist?
The new name of Integromat is Make. Old scenarios for the old newsletter system do not work with the current Mail Niaga console. Build a new scenario with the API.
Can I connect WooCommerce through Make?
At this time, the Mail Niaga console does not have a WooCommerce integration. You can send your shop customers to a list with the HTTP module and the API, as this article shows.
Was this article helpful?
Thanks for your feedback.
Sorry, this page did not help. Chat on Messenger and we will help you fix it.
