Skip to main content

Fetch real-time Coinbase spot market data with GPT-4o + Telegram

Workflow preview

Workflow preview
100%
Fetch real-time Coinbase spot market data with GPT-4o + Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Coinbase AI Agent instantly fetches real time market data directly in Telegram! This workflow integrates the Coinbase REST API with Telegram (plus optional AI powered formatting ) to deliver the la...

Best for

  • Crypto Trading automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.telegram, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.toolcalculator

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Don Jayamaha Jr.

Original n8n.io source

1.1 Workflow description

Title
Fetch real-time Coinbase spot market data with GPT-4o + Telegram
Workflow name
Fetch real-time Coinbase spot market data with GPT-4o + Telegram

Coinbase AI Agent instantly fetches real-time market data directly in Telegram!

This workflow integrates the Coinbase REST API with Telegram (plus optional AI-powered formatting) to deliver the latest crypto price, order book, candles, and trade stats in seconds. Perfect for crypto traders, analysts, and investors who want actionable market data at their fingertips—without API keys.

How It Works

  1. A Telegram bot listens for user requests (e.g., BTC-USD).

  2. The workflow calls Coinbase public endpoints (no key required) to fetch real-time data:

    • Latest price (ticker)
    • 24h stats (open, high, low, close, volume)
    • Order book snapshots (best bid/ask + depth)
    • Candlestick data (OHLCV for multiple intervals)
    • Recent trades (executed orders)
  3. A Calculator node derives useful values like mid-price and spread.

  4. An AI or “Think” node reshapes JSON into clear, human-readable messages.

  5. A splitter ensures long messages are broken into safe Telegram chunks.

  6. The final market insights are sent instantly back to Telegram.

What You Can Do with This Agent

This Telegram bot gives you:

Get instant price & 24h stats for any Coinbase spot pair. ✅ Monitor live order books with top bids/asks. ✅ Analyze candle data (e.g., 15m, 1h, 4h, 1d). ✅ Track recent trades to see market activity. ✅ Receive clean, structured reports—optionally AI-enhanced.

Set Up Steps

  1. Create a Telegram Bot

    • Use @BotFather on Telegram to create your bot and get an API token.
  2. Configure in n8n

    • Import the provided workflow JSON.
    • Add your Telegram credentials (bot token + your Telegram ID for authentication).
    • (Optional) Add an OpenAI key if you want AI-enhanced formatting.
  3. Deploy and Test

    • Send a query like BTC-USD to your bot.
    • Instantly receive Coinbase spot data in Telegram!

🚀 Unlock powerful, real-time Coinbase market insights directly in Telegram—no Coinbase API key required!

📺 Setup Video Tutorial

Watch the full setup guide on YouTube:


🧾 Licensing & Attribution

© 2025 Treasurium Capital Limited Company Architecture, prompts, and trade report structure are IP-protected. No unauthorized rebranding or resale permitted.

🔗 For support: LinkedIn – Don Jayamaha

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 3 - User Authentication (Replace Telegram ID)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Adds "SessionId"

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Splits message is more than 4000 characters

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 18 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note13

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note14

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Calculator

Type / Role
@n8n/n8n-nodes-langchain.toolCalculator - toolCalculator
Config choices
Version 1

Block 24 - Think

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1.1

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Fetch real-time Coinbase spot market data with GPT-4o + Telegram
Complexity advanced
Nodes 35
Categories Crypto Trading, AI Chatbot
Author Don Jayamaha Jr
Published 15 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8606/8606.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Fetch real-time Coinbase spot market data with GPT-4o + Telegram do?

Coinbase AI Agent instantly fetches real time market data directly in Telegram! This workflow integrates the Coinbase REST API with Telegram (plus optional AI powered formatting ) to deliver the la...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Chatbot use case.