Monitor Elastic Email subaccount credits and send low-balance alerts to Slack
What Is This?
This workflow monitors your Elastic Email subaccounts daily and sends a Slack alert whenever an account's email credit balance drops below a configurable threshold. It's a simple but essential guard against unexpected sending failures caused by depleted credits.
Who Is It For?
Any team or agency managing multiple Elastic Email subaccounts — marketing departments, email service providers, or developers running automated email campaigns — who want proactive warnings before credits run out.
How Does It Work?
The workflow runs once a day on a schedule. It calls the Elastic Email REST API to retrieve all subaccount data, then filters out any accounts with a credit balance below the minimum you define in the Config node. If any low-credit accounts are found, a Slack message with all accounts their email address and current credit balance will be sent. API errors are caught separately and also reported to Slack.
How To Set It Up?
Prerequisites:
An Elastic Email account with API access A Slack workspace with bot permissions
Step 1: Set the credit threshold
In the Config node, set Minimum amount of Email Credits to the value below which you want to be notified (default: 100).
Step 2: Configure Elastic Email credentials
In the Load EE Subaccounts HTTP Request node, create a new Custom Auth credential with the following JSON:
{ "headers": { "X-ElasticEmail-ApiKey": "<Your EE Auth Token>" } }
You can generate an API token directly in your Elastic Email account settings.
Step 3: Configure Slack credentials
Connect your Slack workspace using OAuth2 in both Slack nodes, and update the channel ID to your desired notification channel.
Need help? Reach out at developers@sailingbyte.com or visit sailingbyte.com.
Happy hacking!
Related Templates
Track Expenses by Parsing Telegram Transaction Messages to Google Sheets
Overview This n8n workflow template automatically parses incoming Telegram transaction messages and logs structured dat...
Automated Work Attendance with Location Triggers
his workflow automates time tracking using location-based triggers. How it works Trigger: It starts when you enter or e...
Send Daily Weather Forecasts from OpenWeatherMap to Telegram with Smart Formatting
🌤️ Daily Weather Forecast Bot A comprehensive n8n workflow that fetches detailed weather forecasts from OpenWeatherMap...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments