We respect your privacy

    MailGuard uses cookies and local storage to keep you signed in and remember your preferences. With your permission, we'd also like to use functional cookies (affiliate referrals) and analytics (anonymized error replays, and on the free domain check your time zone, screen size and a random visit identifier) to improve the product. Learn more

    Skip to main content
    n8n

    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.

    Setup 12 minSolo plan or above ($19/mo launch price for the first 30 customers, then $29/mo)

    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

    1. CRM trigger — deal stage changed to 'Won'.
    2. Set node — extract company domain field.
    3. HTTP Request — POST /v1/domains with idempotency key.
    4. HTTP Request — POST /v1/checks for the new domain.
    5. 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

    1. 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.
    2. Download the template. Use the button below to grab the n8n export. It is a plain JSON file with all the steps preconfigured.
    3. Import into n8n. In n8n, choose Import and select the file. Your workspace gets a draft scenario / Zap / workflow ready to edit.
    4. 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.
    5. 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.