Predict F1 Race Winners with OpenAI GPT-4o, Historical Data & Slack Alerts
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI Chat Model, HTTP Request, Embeddings OpenAI and Postgres and 2 more.
How it runs
Trigger: On a schedule (every day at 08:00).
- Workflow Configuration (Edit Fields (Set)): sets 6 fields: f1ApiBaseUrl, currentSeason, newsApiUrl…
- Fetch Current F1 Season Data (HTTP Request): calls an HTTP API
- Fetch Driver Standings (HTTP Request): calls an HTTP API
- Fetch Constructor Standings (HTTP Request): calls an HTTP API
- Fetch Historical Race Results (HTTP Request): calls an HTTP API
- Fetch Qualifying Results (HTTP Request): calls an HTTP API
- Fetch Circuit Information (HTTP Request): calls an HTTP API
- Merge F1 Data (Code): runs custom JavaScript code
- Aggregate: combines items into one
- F1 Prediction Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 4 tools (Weather Data Tool, Real-Time F1 News Tool, Statistical Analysis Tool, Historical Data Retrieval Tool)
…plus 7 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (17)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Http Request Tool
n8n-nodes-base.httpRequestTool - Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - If
n8n-nodes-base.if - Postgres
n8n-nodes-base.postgres - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - Aggregate
n8n-nodes-base.aggregate - Code Tool
@n8n/n8n-nodes-langchain.toolCode
From the author
How It Works Every day at 8 AM, the workflow automatically retrieves the latest F1 data—including driver standings, qualifying results, race schedules, and circuit information. All sources are merged into a unified dataset, and driver performance metrics are…