AutomationMart
Home/Browse/πŸ“Š AI token tracker for WhatsApp & Telegram – Save AI usage to Google Sheets
n8n

πŸ“Š AI token tracker for WhatsApp & Telegram – Save AI usage to Google Sheets

n8nn8n25 modulesv1.0
Google SheetsWhatsAppOpenAITelegram

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

At a glance

πŸ“Š 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.

Platform
n8n
Connects
Google Sheets, WhatsApp, OpenAI, Telegram
Modules
25
Price
Free
Version
v1.0
πŸ“Š AI token tracker for WhatsApp & Telegram – Save AI usage to Google Sheets workflow diagram

About this workflow

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:

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Generate an image with DALL-E from a Slack message prompt

Create captivating visuals with DALL-E from Slack message prompts, transforming team communication into stunning imagery, perfect for engaging content.

Free

Add new Voxloud phone call details in a Google Sheets spreadsheet rows

Every time a new call is going through Voxloud, Make will automatically add that call details to your Google Sheets spreadsheet as a new row. The template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/1AB1cGKvHMS6hSELcc69Gq2FkcVG7qqexHL3ryKMUtMs/edit?usp=sharing).

Free

Customer pain analysis & AI briefing with Anthropic, Reddit, X, and SerpAPI

The competitive edge, delivered. This Customer Intelligence Engine simultaneously analyzes the web, Reddit, and X/Twitter to generate a professional, actionable executive briefing. --- 🎯 Problem Statement Traditional market research for Customer Intelligence (CI) is manual, slow, and often relies on surface-level social media scraping or expensive external reports. Service companies, like HVAC providers, struggle to efficiently synthesize vast volumes of online feedback (Reddit discussions, real

Free

Create/update rows in a Google Sheet spreadsheet from new update items in Monday

This template periodically checks for updated items in Monday and syncs them with a Google Sheets spreadsheet by creating new rows or updating existing ones. This template is using a Monday board containing these columns besides the default ones: 1) Status as status 2) Note as text 3) Email as text 4) Phone number as number 5) Due Date as date The template is using this sample Google Sheets

Free

Automatically translate new JustCall messages with Google Translate and send it to Telegram chat.

Every time a new message is sent in JustCall, Make will automatically translate it into the language you want using Google Translate. The translated text will be then sent to a Telegram channel of your choice.

Free

Automate Telegram channel posts using Postgres (Module "Cross-Posting")

Who is this for? This template is ideal for users managing Telegram channels who want to automate the process of posting messages, including text and images, directly from an bot. What problem is this workflow solving? Manually posting content to multiple Telegram channels can be time-consuming and inconsistent. This workflow automates that process, enabling efficient and consistent content delivery to one or more channels. What this workflow does This workflow connects to a Postgres database to

Free

Google Maps business scraper & lead enricher with Bright Data & Google Gemini

Notice Community nodes can only be installed on self-hosted instances of n8n. Description This workflow automates the process of scraping local business data from Google Maps and enriching it using AI to generate lead profiles. It's designed to help sales, marketing, and outreach teams collect high-quality B2B leads from Google Maps and enrich them with contextual insights without manual da

Free

Review and approve Google Sheets orders by email and notify via LINE

Automatically processes new orders added to Google Sheets. Small orders are approved instantly; large orders trigger an HTML email with one-click Approve / Reject links β€” each handled by an independent webhook, so multiple orders can be reviewed simultaneously without blocking each other. What makes this different Unlike Wait-node designs that block when multiple orders queue up, this workflow uses a stateless token pattern: each order gets a unique token written back to the sheet. Approval link

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint β€” instant download
  • Setup guide PDF included
  • 5 downloads Β· valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free