Skip to main content

Generate intraday AAPL trade signals using live data, OpenAI, Telegram and Notion

Workflow preview

Workflow preview
100%
Generate intraday AAPL trade signals using live data, OpenAI, Telegram and Notion preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Description This workflow automates short interval market signal evaluation for intraday trading using live technical indicators and deterministic decision logic. It is designed for traders, ana...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

Title
Generate intraday AAPL trade signals using live data, OpenAI, Telegram and Notion
Workflow name
Generate intraday AAPL trade signals using live data, OpenAI, Telegram and Notion

📘 Description

This workflow automates short-interval market signal evaluation for intraday trading using live technical indicators and deterministic decision logic. It is designed for traders, analysts, and automation teams who want fast, auditable trade signals without manual chart monitoring or subjective interpretation. On a fixed 5-minute schedule, the workflow fetches live price, volume, RSI, and EMA data for AAPL and combines them into a unified market snapshot. A deterministic computation layer derives clear trend and momentum signals, ensuring indicator logic remains transparent and non-AI. These signals are then evaluated by a strict, rule-based AI decision engine that returns a structured verdict—APPROVE, WAIT, or REJECT—along with confidence and a concise reason. Trade decisions are routed instantly to Telegram for real-time visibility and logged to Notion for historical analysis and auditability. Built-in error handling ensures any workflow failure is reported immediately.

⚠️ Deployment Disclaimer

This workflow is intended for self-hosted n8n instances only. It relies on frequent polling, external market data APIs, and advanced AI agent orchestration not suitable for n8n Cloud. ⚙️ What This Workflow Does (Step-by-Step) ⏰ Scheduled Market Data Polling Runs automatically every 5 minutes to capture fresh market data. 📡 Fetch Live Market Indicators Pulls AAPL price, volume, RSI, and EMA from the market data provider. 🔗 Merge Indicator Streams Combines all indicators into a synchronized market snapshot. 🧮 Compute Trend & Momentum (Deterministic) Derives bullish, bearish, or neutral signals using fixed logic—no AI. 🧠 Evaluate Trade Decision (AI) Applies strict rule-based logic to return verdict, confidence, and reason. 🔀 Route Trade by Verdict Separates approved vs non-approved signals automatically. 📣 Send Telegram Trade Alerts Delivers real-time trade decisions directly to Telegram. 🗂 Log Decisions to Notion Stores every verdict for tracking, analysis, and audit. 🚨 Workflow Error Handler → Email Alert Sends immediate notifications if any step fails.

🧩 Prerequisites

• Self-hosted n8n instance • Market data API (e.g., Twelve Data) • OpenAI API credentials • Telegram Bot API • Notion API access

💡 Key Benefits

✔ Fully automated intraday signal monitoring ✔ Transparent, auditable indicator calculations ✔ Strict, deterministic AI decision logic ✔ Real-time Telegram alerts without opening n8n ✔ Centralized trade history in Notion ✔ Reliable error detection and reporting

👥 Perfect For

Active traders and market analysts Quant and rule-based trading teams Automation engineers building trading assistants Founders prototyping decision-support trading systems

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 - Schedule Market Data Polling (AAPL 5-Min)

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Fetch AAPL 5-Minute Price & Volume Series

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 3 - Fetch AAPL 20-Period EMA (5-Minute)1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Fetch AAPL 14-Period RSI (5-Minute)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 5 - Merge RSI, Price, and EMA Streams

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 6 - Compute Trend & Momentum Signals

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

Block 7 - Evaluate Trade Decision from Signals (AI)

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 8 - LLM Engine for Trade Decision Reasoning

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

Block 9 - Structured Trade Decision Output Parser

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

Block 10 - Route Trade Based on Verdict = APPROVE

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 11 - Send Trade Alert — APPROVED Path (Telegram)

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

Block 12 - Send Trade Alert — NON-APPROVED Path (Telegram)

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

Block 13 - Log Trade Decision to Notion (Market Signals DB)

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 14 - Workflow Error Handler

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

Block 15 - Send a message1

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 16 - Sticky Note7

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

Block 17 - Sticky Note

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

Block 18 - Sticky Note1

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

Block 19 - Sticky Note2

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

Block 20 - Sticky Note3

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

Block 21 - Sticky Note4

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

Block 22 - Sticky Note5

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

Block 23 - Sticky Note6

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

Block 24 - Sticky Note8

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

3. Summary Table

Workflow Generate intraday AAPL trade signals using live data, OpenAI, Telegram and Notion
Complexity advanced
Nodes 24
Categories Crypto Trading, AI Summarization
Author Rahul Joshi
Published 07 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12553/12553.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 Generate intraday AAPL trade signals using live data, OpenAI, Telegram and Notion do?

Description This workflow automates short interval market signal evaluation for intraday trading using live technical indicators and deterministic decision logic. It is designed for traders, ana...

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 Summarization use case.