MailGuard alert → Slack channel
When MailGuard fires a critical alert on any of your domains, post a formatted message to a Slack channel of your choice.
What you get
- On-call engineer sees the alert in Slack within seconds.
- No need to log into MailGuard to triage.
- Severity (critical / warning) shows up as a colored badge.
- Direct link back to the affected domain in MailGuard.
How it works
- Webhook trigger (MailGuard) — listens for the `alert.created` event.
- Filter — only continue when severity = critical.
- Formatter — build a message body with domain, alert type, plain-language summary.
- Slack action — post message to the chosen channel.
Before you start
- MailGuard outbound webhook endpoint configured in Settings → Webhooks (Solo plan or above).
- Slack workspace with the Zapier app installed.
- Channel ID or name where the message should land.
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 Zapier export. It is a plain JSON file with all the steps preconfigured.
- Import into Zapier. In Zapier, 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.