Block 1 - OpenAI Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
A professional grade AI trading orchestration system for Bitget Spot Market automation via Telegram. This agent integrates Bitget REST APIs , authenticated order management , and real time reasonin...
@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.telegram, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.toolcalculator, @n8n/n8n-nodes-langchain.toolthink, @n8n/n8n-nodes-langchain.agent
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Don Jayamaha Jr.
Original n8n.io sourceA professional-grade AI trading orchestration system for Bitget Spot Market automation via Telegram.
This agent integrates Bitget REST APIs, authenticated order management, and real-time reasoning with GPT-4o-mini, allowing direct Telegram-based execution of spot and trigger orders β all within your self-hosted n8n environment.
You must install and activate all of the following workflows for the system to function correctly:
| β Workflow Name | π Function Description |
|---|---|
| Bitget AI Trader Agent | Core orchestrator. Handles user Telegram commands, routes to correct sub-agents, and formats all responses. |
| Account and Wallet Agent Tool | Retrieves Bitget account info, balances, and deposit addresses using authenticated endpoints /api/v2/spot/account/*. |
| Spot Order Trading Agent Tool | Places, cancels, and queries spot orders (/trade/place-order, /cancel-order, /orderInfo, /unfilled-orders). |
| Trigger Order Agent Tool | Manages conditional βplanβ (trigger) orders β place, modify, cancel, and list them (/trade/place-plan-order, /modify-plan-order, etc.). |
| Webhook HTTP Request Nodes | Securely handle REST calls for each sub-agent via n8n webhooks. All endpoints authenticated using the Bitget Sign system. |
Bitget AI Trader Agent (Finished).json fileMake sure all downstream webhooks (e.g., Get-Account-Information, Place-Order, Cancel-Order, etc.) are accessible via HTTPS.
Each must use Basic Auth credentials named:
Bitget Authentication for Webhooks
Replace the placeholder Telegram ID in:
if ($input.first().json.message.from.id !== <<Replace>>) { ... }
with your Telegram user ID. This ensures only you can issue trading commands.
Trigger the Telegram bot command (e.g. /balance or /order) to verify:
β
BTCUSDT limit buy placed @ 23222.5, size 0.01 (orderId: 123456)
β Rejected: price tick invalid for BTCUSDT. Provide price with correct step.
π° Balance Summary:
β’ USDT: 1250.34 (Available)
β’ BTC: 0.023 (In Trade)
[Telegram Trigger]
β [User Authentication]
β [Bitget AI Trader Agent]
β [Account/Wallet Tool] + [Spot Order Tool] + [Trigger Order Tool]
β [Webhook Execution Layer]
β [GPT-4o-mini Reasoning + Message Split Logic]
β [Telegram Output]
Β© 2025 Treasurium Capital Limited Company All architecture, prompt structures, and Telegram formatting are IP-protected. No unauthorized resale, repackaging, or rebranding permitted.
π For support: LinkedIn β Don Jayamaha
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.
Showing the first 24 of 156 workflow blocks. Download the JSON for the full node graph.
| Workflow | Automate Bitget spot trading with GPT-4o-mini AI agent via Telegram |
|---|---|
| Complexity | advanced |
| Nodes | 156 |
| Categories | Crypto Trading, AI Chatbot |
| Author | Don Jayamaha Jr |
| Published | 17 Oct 2025 |
Use the JSON export at /data/workflows/9842/9842.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
A professional grade AI trading orchestration system for Bitget Spot Market automation via Telegram. This agent integrates Bitget REST APIs , authenticated order management , and real time reasonin...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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.