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

    Monthly branded PDF → email to each client

    On the first business day of each month, generate one branded PDF per client domain and email it to the client contact list.

    Setup 20 minAgency plan or above ($49/mo launch price for the first 30 customers, then $99/mo)

    What you get

    • Client-facing deliverable goes out without copy-paste.
    • Branded with your agency logo, color, and name.
    • Each client only sees their own domains — never another tenant's.
    • Pairs with the read-only client portal for ongoing access.

    How it works

    1. Schedule trigger — first business day of the month at 9 a.m.
    2. HTTP Request — GET /v1/domains to enumerate the org's portfolio.
    3. Group by client tag (or per-domain when no tag is set).
    4. HTTP Request — POST /v1/share-portal-pdf for each batch.
    5. Email node — attach the PDF and send to your client's contacts.

    Before you start

    • MailGuard Agency or Enterprise plan (white-label PDFs require Agency).
    • API key with `domains:read` and `pdf:export` scopes.
    • Resend, SMTP, or another email node configured in n8n.
    • Client contact list maintained as a tag on each domain or as a separate dataset.

    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.