Templates / Send AI budget overspend alerts with Alephant AI Gateway and Gmail

Send AI budget overspend alerts with Alephant AI Gateway and Gmail

Unknown

by alephantAI ✓ · 39 views · created 2026-05-28 · DevOps

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 6 nodes and runs on a schedule (every hour). Along the way it connects Gmail and Alephant Analytics (community).

How it runs

Trigger: On a schedule (every hour).

  1. Fetch Alephant Budget Status (Alephant Usage): budget status
  2. Check Budget Over Threshold (If): checks a condition and branches into true / false
  3. Set Alert Recipient (Edit Fields (Set)): sets 1 field: recipient_email
  4. Build Alert Message (Code): runs custom JavaScript code
  5. Send Alert Email via Gmail (Gmail): uses Gmail

Services it uses

GmailAlephant Analytics (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @alephantai/n8n-nodes-alephant-analytics is verified or supports 3.0 (used in Fetch Alephant Budget Status).

Nodes used (6)

From the author

Quick overview This workflow runs every 6 hours to check an Alephant AI Gateway virtual key’s budget usage and, when live usage meets or exceeds the threshold, sends a detailed overspend alert email via Gmail. How it works 1. Runs every 6 hours on a schedule.…

Excerpt from alephantAI's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.