Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Send daily stock and crypto market briefs with Twelve Data, Google Sheets, OpenAI, Gmail

On a schedule, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets, RSS, Telegram.

What it does

## Daily stock analysis report: computed indicators, AI news sentiment & crypto — on free APIs ### How it works Every morning this workflow builds a professional market brief for your watchlist and delivers it as a polished HTML email plus a Telegram digest — built entirely on free data. For every ticker it fetches 250 days of prices and computes the indicators deterministically in code — SMA 20/50/200, EMA 12/26, RSI-14 (Wilder), MACD(12,26,9), Bollinger(20,2), ATR-14 with a suggested stop level (close − 2×ATR), 52-week range position, up/down streaks and 20-day volatility. No AI guessing at math, no chart-screenshot tricks: the numbers match your charting platform. It then reads each ticker's latest headlines from Google News (no key needed), has AI score the news sentiment with a strict schema, and blends trend, momentum, sentiment and volatility into a 0–100 composite score with a BUY / HOLD / AVOID verdict and the top reasons. Scores are saved to Google Sheets, so every report shows the day-over-day delta and flags signal flips — golden/death crosses, MACD crosses, RSI recoveries, fresh 52-week highs and lows, 5-day streaks, verdict changes. A crypto section (keyless CoinGecko) and an AI executive summary top it off. Data plumbing: one free Twelve Data key (800 credits/day — a 20-ticker daily report uses ~20), Google News RSS and CoinGecko without any key, and your own OpenAI-compatible key for the AI steps. The workflow paces itself to respect the free rate limits, and it is built to always deliver: a mistyped symbol or an API hiccup shows up as a flagged “data unavailable” card while the rest of the brief arrives on time. ### Setup steps Takes ≈15 minutes. - Create a free Twelve Data account (no card) and replace YOUR_TWELVEDATA_KEY in Fetch 250 Days of Prices. - Connect an OpenAI (or compatible) credential in Market AI Model. - Open Edit Your Watchlist and set your tickers, cryptos and the email address the report goes to. - Create a Google Sheet with columns Date, Symbol, Score, Verdict and select it in Read the Score History From Google Sheets and Save Today's Scores to Google Sheets. - Connect Gmail in Email the Report via Gmail. For Telegram: create a bot with @BotFather, add its credential in Send the Telegram Digest and set your chat id. - Click Run a Test Report Now to get your first brief immediately, then activate the workflow for the daily

The steps

  1. Run Every Morning
  2. Run a Test Report Now
  3. Edit Your Watchlist
  4. Read the Score History From Google Sheets
  5. Split Into One Item per Ticker
  6. Loop Over Each Ticker
  7. Fetch 250 Days of Prices
  8. Compute the Technical Indicators
  9. Fetch the Latest News Headlines
  10. Keep the Top Headlines
  11. Score the News With AI
  12. Market AI Model
  13. Summary AI Model
  14. Assemble the Ticker Scorecard

24 steps in total.

Similar automations