One n8n workflow can turn a simple form into a MailInApp contact, a deal on your pipeline, a nurture journey and an interactive email, all automatically. The MailInApp nodes do the wiring, so there's no HTTP request to build by hand.
The n8n-nodes-mailinapp community package adds two nodes to n8n. The MailInApp node acts on your account: contacts, contacts lists, deals, journeys, pipelines and transactional email. The MailInApp Trigger starts a workflow when something happens in MailInApp. The video below builds the whole lead flow from start to finish.
Install and connect
On n8n Cloud, an instance owner or admin opens the nodes panel, searches for MailInApp and selects Install. On self-hosted n8n, go to Settings → Community Nodes → Install and enter n8n-nodes-mailinapp. Then, in MailInApp, open Developers, create an API key (it starts with mia_live_ and is shown once) and paste it into a new MailInApp API credential in n8n. Saving the credential tests the connection.
n8n has verified the package, so it runs on n8n Cloud and on self-hosted n8n alike.
From form to contact
Start with n8n's On form submission trigger and add Create or update a contact. Pick the list, map the email, and map the other answers to the list's real columns: the dropdown loads them for you. MailInApp verifies every address as it saves it, so a typo or a made-up address is flagged before you ever mail it.
Put the lead on your pipeline
Add Create a deal with the contact's email, a title, a pipeline, a stage and a value. Set an idempotency key too: if the workflow ever retries, MailInApp returns the same deal instead of creating a second one. Later, Update a deal moves it to another stage, Won and Lost included, and the pipeline board follows.
Nurture, then say thank you
Enroll a contact in a journey lists only the journeys whose trigger is API call, so a new lead joins the right sequence in one step. Send a transactional email then sends either your own subject and HTML, or a studio project with merge values. Choose the studio project and the lead gets a real interactive email, such as a survey they answer with one click in their inbox. No landing page, no extra step.
For marketing email, use journeys and sends in MailInApp, where each contact's consent is recorded.
Start workflows from MailInApp
The MailInApp Trigger listens for the account events you pick, such as Contact Created, Form Submitted, Deal Stage Changed or Response Completed. Publishing the workflow subscribes to them in MailInApp, where the subscription shows under Developers → Webhooks. Unpublishing removes it. Every delivery is signed, and the trigger turns away anything that doesn't come from MailInApp.
Give an AI agent your contacts
The MailInApp node also works as a tool for n8n's AI Agent. Add it with Get a contact, let the model fill in the email, and the agent can answer "who is this lead and which list are they on?" by itself. For more tools, connect the agent to MailInApp's MCP server as well.
Getting started
Install n8n-nodes-mailinapp, create an API key in MailInApp, and build the lead flow: form, contact, deal, journey and email. Then add a MailInApp Trigger so replies and deal changes start the next workflow on their own.
