GPT-4o Token Tracker β Measure AI Usage and Cost via WhatsApp or Telegram Hi! I'm Amanda β I create smart, useful AI automations for n8n and Make. This workflow helps you monitor how many tokens are consumed per conversation with AI Agent Tokens, and logs that usage into Google Sheets β so you can track expenses and make smarter decisions about your AI usage. You can connect it to Telegram or WhatsApp (via Evolution API), and it will automatically capture: - Prompt and completion tokens - Total
π AI token tracker for WhatsApp & Telegram β Save AI usage to Google Sheets is a ready-made n8n workflow you import as a workflow JSON file β no build required. It connects Google Sheets, WhatsApp, OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

GPT-4o Token Tracker β Measure AI Usage and Cost via WhatsApp or Telegram Hi! I'm Amanda β I create smart, useful AI automations for n8n and Make. This workflow helps you monitor how many tokens are consumed per conversation with AI Agent Tokens, and logs that usage into Google Sheets β so you can track expenses and make smarter decisions about your AI usage. You can connect it to Telegram or WhatsApp (via Evolution API), and it will automatically capture: - Prompt and completion tokens - Total tokens - Time of interaction - The user/channel - (Optional) Cost estimate in USD --- π What this workflow does - Logs token usage from LangChain agents - Calculates token totals for each request - Appends the data to a structured Google Sheet - Works with WhatsApp (Evolution API) or Telegram bots - Ideal for tracking AI Agent Tokens usage over time and controlling costs --- π§ͺ Free Spreadsheet Template You can duplicate and use this template for logging token usage: π Google Sheets Template Includes columns like: - Date - Input - Output - Tokens (Prompt / Completion / Total) - Tool name or use case - Estimated cost --- π οΈ Setup Instructions 1. Import the workflow to your n8n (Cloud or self-hosted) 2. Connect your Google Sheets account 3. Choose your trigger: - WhatsApp (Evolution API webhook) - Telegram (Bot webhook or message input) 4. Fill out: - AI Agent model used (e.g. gpt-4o) - Cost per 1K tokens (optional, for USD estimation) 5. Update spreadsheet ID and tab name in the Google Sheets node 6. (Optional) Connect as a sub-tool to an AI agent for automatic logging --- π§° Tech Used - OpenRouter - LangChain - Google Sheets - Telegram or WhatsApp webhook (Evolution API) - Nodes: HTTP Request, Set, If, Google Sheets, Merge --- β Who This Is For - Developers or agencies that want to monitor AI Agent Tokens usage - Freelancers managing AI bots for clients - Teams that need billing visibility and cost control - Anyone who wants transparency in AI token spending --- β Requirements - OpenAI GPT-4o access - Google Sheets credential - Telegram Bot Token (or Evolution API access for WhatsApp) - n8n (Cloud or self-hosted) --- π Want this template? β€οΈ Buy more workflows at: βοΈ Try n8n Cloud:
Download the workflow JSON file after purchase.
Open n8n β click the menu β Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
Discover business leads with Gemini, Brave Search and web scraping
Analyze Landing Page with OpenAI and Get Optimization Tips
Prevent duplicate webhook executions with AARI idempotency gate
Generate trend-based marketing videos with Seedance AI, Perplexity, and GPT
Binance SM 1hour indicators tool
Gmail smart auto-responder with GPT-4o and Google Drive context memory
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.