# Generate a daily multi-asset market report with TwelveData: n8n workflow

> Started by an event in a connected app, and works across Gmail and Google Sheets. It hands the judgement calls to Groq.

Source: https://millionrounds.com/workflow/generate-a-daily-multi-asset-market-report-with-twelvedata (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Generate a daily multi-asset market report with TwelveData

Started by an event in a connected app, and works across Gmail and Google Sheets. It hands the judgement calls to Groq. 17 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

Medium Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-a-daily-multi-asset-market-report-with-twelvedata)

**17 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**2** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 2 Logic 9 Service 5

The steps in the order they run, from what starts it.

- 1 **Insights** Lm Chat Groq *Model*
- 2 **Generate Daily Market Report** Manual trigger *Starts it*
- 3 **AI Market Insights** Agent *Model*
- 4 **Environment Config** Set *Logic*
- 5 **Parse AI Output** Code *Logic*
- 6 **Set Market Assets** Set *Logic*
- 7 **Log Daily Market Report** Google Sheets *Service*
- 8 **split assests & Symbols** Code *Logic*
- 9 **Send Today's market summary** Gmail *Service*
- 10 **Rate Controlled Queue** Split In Batches *Logic*
- 11 **Normalize Market Data** Code *Logic*
- 12 **API Throttle** Wait *Logic*
- 13 **Fetch Asset Prices** Http Request *Service*
- 14 **Validate API Response** If *Logic*
- 15 **Log API Error** Code *Logic*
- 16 **Append row in sheet** Google Sheets *Service*
- 17 **Alert API Faliure** Gmail *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 17, with 1 branch, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Sheets
- **Model:** Groq

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-a-daily-multi-asset-market-report-with-twelvedata)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**# ⃣Nostr #damus AI powered reporting + Gmail + Telegram** 17 steps · calls a model · Gmail, Telegram](https://millionrounds.com/workflow/nostr-damus-ai-powered-reporting-gmail-telegram)
- [**AI-powered stock analysis with Gmail** 17 steps · calls a model · Gmail, Supabase vectors](https://millionrounds.com/workflow/ai-powered-stock-analysis-with-gmail)
- [**Automate Instagram profile analysis with Airtop and OpenAI** 17 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-instagram-profile-analysis-with-airtop-and-openai)
- [**Create weekly research brief PDFs with Brave Search** 17 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/create-weekly-research-brief-pdfs-with-brave-search)
- [**Daily WhatsApp group summarizer with OpenAI and Google Sheets** 17 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/daily-whatsapp-group-summarizer-with-openai-and-google-sheet)
- [**Document summarizer - Google Drive to Slack with OpenAI** 17 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/document-summarizer-google-drive-to-slack-with-openai)
