Scenario 1 - AI Agent
Configured with Agent, Airtable, Airtable Tool, Execute Workflow Trigger, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Data store
- Subworkflow
- AI & models
- Trigger
- Messaging
- Transform
- Web / API
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Window Buffer Memory | Data store | Memory Buffer Window | See node parameters |
| Get Chart | Subworkflow | Tool Workflow | See node parameters |
| AI Agent | AI & models | Agent | See node parameters |
| Telegram Trigger | Trigger | Telegram Trigger | See node parameters |
| Send Analysis | Messaging | Telegram | See node parameters |
| Workflow Input Trigger | Trigger | Execute Workflow Trigger | See node parameters |
| response | Transform | Edit Fields | See node parameters |
| Download Chart | Web / API | HTTP Request | See node parameters |
| Get Chart URL | Web / API | HTTP Request | POST |
| Send Chart | Messaging | Telegram | sendPhoto |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Switch | Routing | Switch | See node parameters |
| Transcribe | AI & models | Open Ai | audio / transcribe |
| Download File | Messaging | Telegram | file |
| Set Text | Transform | Edit Fields | See node parameters |
| Set Values | Transform | Edit Fields | See node parameters |
| Technical Analysis | AI & models | Open Ai | image / analyze |
| Webhook | Trigger | Webhook | See node parameters |
| Set Text1 | Transform | Edit Fields | See node parameters |
| Save Ticker | Data store | Airtable Tool | create |
| Loop Over Items | Routing | Loop Over Items | See node parameters |
| Schedule Trigger | Trigger | Schedule Trigger | See node parameters |
| Run Agent | Web / API | HTTP Request | POST |
| Get tokens | Data store | Airtable | search |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
airtableTokenApihttpHeaderAuthopenAiApitelegramApi
Workflow notes
Setup
Setup
-
Prepare Airtable:
- Create simple table to store tickers.
-
Prepare Telegram Bot:
- Ensure your Telegram bot is set up correctly and listening for new messages.
-
Replace Credentials:
- Update all nodes with the correct credentials and API keys for services involved.
-
Configure API Endpoints:
- Ensure chart service URLs are correctly set to interact with the corresponding APIs properly.
-
Start Interaction:
- Message your bot to initiate analysis; specify ticker symbols and desired chart styles as required.
How to build AI Agent for Technical Analysis with N8N
How to build AI Agent for Technical Analysis with N8N
Made by Mark Shcherbakov from community 5minAI
Many traders desire real-time analysis of stock data but lack the technical expertise or tools to perform in-depth analysis. This workflow allows users to easily interact with an AI trading agent through Telegram for seamless stock analysis, chart generation, and technical evaluation, all while eliminating the need for manual interventions.
This workflow utilizes n8n to construct an end-to-end automation process for stock analysis through Telegram communication. The setup involves:
- Receiving messages via a Telegram bot.
- Processing audio or text messages for trading queries.
- Transcribing audio using OpenAI API for interpretation.
- Gathering and displaying charts based on user-specified parameters.
- Performing technical analysis on generated charts.
- Sending back the analyzed results through Telegram.
Scenario 1 - AI Agent
Scenario 1 - AI Agent
Purpose and structure
This folder contains the Scenario 1 - AI Agent workflow. Its executable nodes use agent, airtable, airtableTool, executeWorkflowTrigger, httpRequest, lmChatOpenAi, memoryBufferWindow, openAi, scheduleTrigger, set, splitInBatches, switch, telegram, telegramTrigger, toolWorkflow, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Telegram Trigger, Workflow Input Trigger, Webhook, Schedule Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Telegram/0769_Telegram_Webhook_Send_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Scenario 1 - AI Agent
- Scenario 2 - Scheduled analyses
- Scenario 1 - Get Chart
- Replace Telegram connection
- Replace Chat ID
- Replace API key (header = x-api-key) and chart settings