Pause risky Instantly sending accounts with Slack alerts and Google Sheets logs
Quick overview This workflow runs every morning to check Instantly sending accounts for deliverability risk using warmup analytics, DNS vitals, and recent bounce stats, then auto-pauses risky accounts and posts alerts and a daily digest to Slack while logging account health history to Google Sheets.
How it works Runs every morning on a schedule. Retrieves all sending accounts from the Instantly API and batches them for bulk checks. Pulls warmup health analytics, DNS vitals (MX/SPF/DKIM/DMARC), and daily sent/bounced stats from Instantly for the configured lookback window. Scores each account against the configured thresholds to label it healthy, watch, pause recommended, or already paused. Pauses active accounts in Instantly when auto-pause is enabled and the account crosses a pause threshold, then sends a Slack alert with the reason. Sends a daily Slack digest summarizing overall account health and appends one row per account to a Google Sheets “Health log” tab for trend tracking.
Setup Create an Instantly API key with API v2 access and add it to n8n as an HTTP Bearer Auth credential used by the Instantly HTTP Request steps. Add a Slack credential and set the target channel name in the thresholds (for example, #deliverability). Add a Google Sheets credential, create a spreadsheet with a sheet tab named “Health log”, and replace the tracker Google Sheets URL with your document URL. Review and adjust the thresholds (bounce rate limits, lookback days, warmup score limits, batch size, and autoPause/pauseOnDnsFailure toggles) before activating the workflow.
Requirements Instantly account with an API v2 key (accounts read and update scopes) Bearer Auth credential in n8n for the Instantly API key Slack workspace Google Sheets with a tab named Health log (optional)
Customization Change maxBounceRatePct (default 3%) or minSentForBounceCheck in Set Bounce Alert Thresholds Adjust warnBelowWarmupScore and pauseBelowWarmupScore to fit your warmup standards Set pauseOnDnsFailure to true to pause accounts whose domain fails SPF, DKIM or DMARC Set notifyWhenAllHealthy to false to only get Slack messages when something is wrong Change the schedule to run before each sending window Delete the Google Sheets nodes if you don't need a history log
Additional info Run it once with autoPause set to false to review the verdicts before letting it pause anything. Paused accounts are never resumed automatically: fix the cause, then resume them in Instantly. The Instantly API is called through HTTP Request nodes with a Bearer Auth credential, so no API key is stored in the workflow.
Related Templates
AI Weather Forecasts with MCP Integration
Real-time Weather Forecasts with MCP Tools This n8n workflow demonstrates how to integrate real-time weather intelligen...
Google Sheets UI for n8n Workflow
Google Sheets UI for Workflow Control This n8n template provides a practical and efficient way to manage your n8n workf...
Demo Workflow - How to use workflowStaticData()
This workflow demonstrates how to use the workflowStaticData() function to set any type of variable that will persist wi...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments