New CRM customer → onboard domain in MailGuard
When you mark a deal as won in your CRM, n8n adds the customer's primary domain to MailGuard and runs the first health check automatically.
What you get
- Zero-touch onboarding — sales closes, monitoring starts.
- First health score available before kickoff call.
- Avoids the classic 'we forgot to onboard them' churn risk.
- Works with HubSpot, Pipedrive, Close, Salesforce.
How it works
- CRM trigger — deal stage changed to 'Won'.
- Set node — extract company domain field.
- HTTP Request — POST /v1/domains with idempotency key.
- HTTP Request — POST /v1/checks for the new domain.
- Slack/email — notify the account manager that monitoring is live.
Before you start
- MailGuard API key with `domains:write` and `checks:run` scopes.
- n8n self-hosted or cloud instance with credentials configured.
- CRM credentials in n8n.
Set it up
- Get a MailGuard API key. Open Settings → API keys and mint a key with the scopes listed above. The secret is shown once — copy it before closing the dialog.
- Download the template. Use the button below to grab the n8n export. It is a plain JSON file with all the steps preconfigured.
- Import into n8n. In n8n, choose Import and select the file. Your workspace gets a draft scenario / Zap / workflow ready to edit.
- Fill in the credentials. Paste your MailGuard API key into the HTTP / Webhook step. Add the destination credentials (Slack workspace, Sheets account, CRM, email) to the action steps.
- Test once, then turn on. Most platforms ship a "Run once" button — use it before activating the schedule. Confirm the message lands where you expected, then enable.
Note: the templates assume the MailGuard public API at api.themailguard.ai/v1. If you operate behind a corporate proxy, swap the base URL in the HTTP step before activating the workflow.
Don't have a MailGuard account yet?
Start the 14-day free trial. No card required. The free tier covers 1 domain — paid tiers unlock the API access these templates need.