Templates / Email weekly AI agent cost and token reports with Alephant and Gmail

Email weekly AI agent cost and token reports with Alephant and Gmail

Unknown

by alephantAI ✓ · 10 views · created 2026-05-22 · AI Summarization

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 5 nodes and runs on a schedule (every week at 09:00). Along the way it connects Gmail and Alephant Analytics (community).

How it runs

Trigger: On a schedule (every week at 09:00).

  1. Fetch Alephant Usage Summary (Alephant Usage): uses Alephant Usage
  2. Set Email Recipient (Edit Fields (Set)): sets 1 field: recipient_email
  3. Format Usage Report (Code): runs custom JavaScript code
  4. Send Usage Summary Email (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 Usage Summary).

Nodes used (5)

From the author

Quick overview This workflow runs every Monday at 9 AM to pull a 7‑day usage summary from Alephant AI Gateway, calculates key metrics for AI Agents like total cost and tokens, and emails a formatted cost and usage report to a recipient via Gmail. How it works…

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.