This workflow tracks Mailjet email events (sent, open, click, bounce, spam, unsub), logs them in Airtable, and sends Slack notifications for issues and clicks. Key nodes include Mailjet Event Trigger (captures events), Process Event Data (normalizes data), Negative Event? (filters bounce/spam/unsub), Click Event? (filters clicks), Log All Events (stores data), Update Analytics (tracks metrics), Send Issue Alert (notifies issues), and Send Click Notification (notifies clicks). It uses Mailjet and Airtable APIs with Slack for notifications.\n\nSetup Requirements: Install n8n from n8n.io or sign up at cloud.n8n.io. Import the JSON into n8n’s workflow editor. Obtain Mailjet API key and secret from mailjet.com (Settings > API Key Management). Create an Airtable base at airtable.com with Email Events and Email Analytics tables; get API key and Base ID from Account settings. Get Slack Webhook URL from slack.com (Apps > Incoming Webhooks, create in a channel like #email-alerts). In n8n, configure credentials: Mailjet (Email API, API key and secret), Airtable (Token API), and Slack (Webhook URL). Set Mailjet Event Trigger to monitor sent, open, click, bounce, spam, unsub. Handle errors like invalid Mailjet credentials (401: Unauthorized) or missing Airtable table (404: Table not found).\n\nTesting and Deployment: Import the JSON into n8n. Configure Mailjet webhook in mailjet.com (Settings > Webhook) to point to n8n’s Mailjet Event Trigger URL. Send a test email via Mailjet to trigger events. Verify Process Event Data extracts event_type, email, and details. Check Log All Events and Update Analytics store data in Airtable. Confirm Send Issue Alert notifies Slack for bounce or spam events, and Send Click Notification for click events. Test with invalid email data to trigger errors (400: Invalid email format). Monitor logs for issues like Mailjet rate limits (429) or Slack webhook errors (400: Invalid payload). If notifications fail, verify Mailjet webhook URL, Airtable setup, and Slack URL. Activate the workflow in n8n for continuous event tracking. Deploy for automated email event monitoring and analytics.
$5.49
Workflow steps: 8
Integrated apps: mailjetTrigger, code, if