Templates / Predict next 5-day stock trends with Twelve Data API & Google Sheets

Predict next 5-day stock trends with Twelve Data API & Google Sheets

Needs changes

by Oneclick AI Squad ✓ · 721 views · created 2025-10-16 · Crypto Trading, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Cron. 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 8 nodes and runs on a schedule (legacy Cron node). Along the way it connects Google Sheets.

How it runs

Trigger: On a schedule (legacy Cron node).

  1. Read Stock Symbols (Google Sheets): uses Google Sheets
  2. Set Configuration Variables (Edit Fields (Set)): sets 3 fields: twelvedata_api_key, stock_symbols, email_recipient
  3. Fetch 5-Day Stock Data (HTTP Request): calls an HTTP API
  4. Analyze Stock Trends (Code): runs custom JavaScript code
  5. Update Google Sheet (Google Sheets): append
  6. Format Email Report (Code): runs custom JavaScript code
  7. Send Email: sends an email over SMTP

Services it uses

Google Sheets

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Cron in Daily Market Close Trigger : replace with Schedule Trigger.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Cron
Daily Market Close Trigger
Schedule Trigger

Nodes used (6)

From the author

This automated n8n workflow fetches stock data from the Twelve Data API after market close, predicts 5-day trends using AI analysis, updates Google Sheets with the results, and sends an email summary report. This process helps users stay informed about stock…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.