Latenode

Automate stock research and insights with financial APIs

This template starts when a webhook receives a stock ticker. JavaScript fetches price history, technicals, and news from Danelfin, TwelveData, and Alpha Vantage.

ChatGPT writes a research note from that data. Supabase stores the result. Put those market-data API keys in the JavaScript node. ChatGPT is a Latenode AI node. Connect Supabase.

Updated Sep 16, 2026Est. run: 31sEst. cost: $0.002
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Builds a research note from a ticker you send to a webhook
  • Fetches prices, technicals, and news in JavaScript
  • Writes the note with ChatGPT
  • Stores the result in Supabase

How it works

1
Trigger

Receive the ticker

The scenario starts when a webhook receives the stock symbol you want to research.

2
Logic

Fetch market data

JavaScript calls Danelfin, TwelveData, and Alpha Vantage for prices, technicals, and news. Put those API keys in that JavaScript node.

3
AI

Write the research note

ChatGPT turns the numbers and headlines into a short research note.

4
Action

Store the report

Supabase saves the ticker, timestamp, and note so you can look it up later.

Setup guide

1

Add the webhook

Add a webhook trigger. Send a JSON body with the ticker symbol, such as AAPL.

2

Call the market data APIs

Use a JavaScript node to call Danelfin, TwelveData, and Alpha Vantage. Put those API keys in that JavaScript node. Pull price history, MACD or similar technicals, and recent news.

3

Add ChatGPT and Supabase

Send the fetched data to ChatGPT for the research note. ChatGPT is a Latenode AI node. Connect Supabase and create a row with ticker, timestamp, and the note.

Requirements

A webhook caller that can send a ticker
Danelfin, TwelveData, and Alpha Vantage API keys stored in the JavaScript node
A Supabase project Latenode can write to

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work. Plug-and-Play AI nodes are billed separately. Market-data vendors bill their own usage.