AutomationFlowsAI & RAG › Daily Financial Markets Summaries with Serpapi and Openai Gpt

Daily Financial Markets Summaries with Serpapi and Openai Gpt

ByRobert Breen @rbreen on n8n.io

This workflow fetches live financial data from SerpApi and generates a daily market recap using OpenAI. Create a free account at SerpApi Copy your API Key from the SerpApi dashboard In n8n → Credentials → New → SerpApi Paste your API Key → Save In the workflow, select your…

Event trigger★★★☆☆ complexityAI-powered8 nodesOpenAI ChatHTTP RequestAgent
AI & RAG Trigger: Event Nodes: 8 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #7742 — we link there as the canonical source.

This workflow follows the Agent → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "ac121027-b4b4-4e1a-b575-df8dabe472e8",
      "name": "OpenAI Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -448,
        5248
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-5",
          "cachedResultName": "gpt-5"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e206c83f-d4e9-421e-b84c-7ef3200357ed",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1312,
        4736
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "91c82cd7-5c71-4dc3-b06b-27b2cb8857f3",
      "name": "Sticky Note62",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1456,
        4576
      ],
      "parameters": {
        "color": 7,
        "width": 1488,
        "height": 928,
        "content": "# \ud83d\udcb9 Daily Financial Markets Summary with SerpAPI\n\nThis workflow fetches **live financial data** from SerpApi and generates a **daily market recap** using OpenAI.  \n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "8a8cc32d-cf5f-4a8a-91c2-642b2cefc4d5",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1888,
        4592
      ],
      "parameters": {
        "width": 400,
        "height": 928,
        "content": "\n## \u2699\ufe0f Setup Instructions  \n\n### 1\ufe0f\u20e3 Set Up SerpApi Connection  \n1. Create a free account at [SerpApi](https://serpapi.com/)  \n2. Copy your **API Key** from the SerpApi dashboard  \n3. In **n8n** \u2192 **Credentials \u2192 New \u2192 SerpApi**  \n   - Paste your API Key \u2192 **Save**  \n4. In the workflow, select your SerpApi credential in the **Finance Search** node.  \n\n---\n\n### 2\ufe0f\u20e3 Set Up OpenAI Connection  \n1. Go to [OpenAI Platform](https://platform.openai.com/api-keys)  \n2. Navigate to [OpenAI Billing](https://platform.openai.com/settings/organization/billing/overview)  \n3. Add funds to your billing account  \n4. Copy your API key into the **OpenAI credentials** in n8n  \n\n\n\n## \ud83d\udcec Contact  \nNeed help customizing (e.g., pulling multiple tickers, exporting to Google Sheets, or sending Slack/Email updates)?  \n\n\ud83d\udce7 **robert@ynteractive.com**  \n\ud83d\udd17 **[Robert Breen](https://www.linkedin.com/in/robert-breen-29429625/)**  \n\ud83c\udf10 **[ynteractive.com](https://ynteractive.com)**\n"
      },
      "typeVersion": 1
    },
    {
      "id": "e61e0418-0f80-4084-bcc1-80a52fb35afa",
      "name": "SerpAPI Finance Search",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -992,
        5184
      ],
      "parameters": {
        "url": "https://serpapi.com/search.json?engine=google_finance&q=^GSPC&api_key=YOUR_TOKEN_HERE",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "30495145-8e9f-4199-853d-570417c95852",
      "name": "Summarize Financial Markets",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -576,
        4832
      ],
      "parameters": {
        "text": "={{ $json.markets }}",
        "options": {
          "systemMessage": "You are a helpful assistant. Write a daily summary of the financial markets performance for the day. start with a paragraph summary, with bullet points with details. "
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "97f0d556-bbc9-4695-af80-023fdd1d8dc7",
      "name": "Sticky Note29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        5088
      ],
      "parameters": {
        "color": 3,
        "width": 288,
        "height": 304,
        "content": "### 2\ufe0f\u20e3 Set Up OpenAI Connection\n1. Go to [OpenAI Platform](https://platform.openai.com/api-keys)  \n2. Navigate to [OpenAI Billing](https://platform.openai.com/settings/organization/billing/overview)  \n3. Add funds to your billing account  \n4. Copy your API key into the **OpenAI credentials** in n8n  "
      },
      "typeVersion": 1
    },
    {
      "id": "1e3ba01f-4625-4b50-841b-90b58e11a147",
      "name": "Sticky Note30",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1088,
        4960
      ],
      "parameters": {
        "color": 3,
        "width": 288,
        "height": 352,
        "content": "### 1\ufe0f\u20e3 Set Up SerpApi Connection  \n1. Create a free account at [SerpApi](https://serpapi.com/)  \n2. Copy your **API Key** from the dashboard  \n3. In **n8n** \u2192 **Credentials \u2192 New \u2192 SerpApi**  \n   - Paste your API Key \u2192 **Save**  \n4. In the workflow, select your SerpApi credential in the **Google News Search** node.  \n\n---\n"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Summarize Financial Markets",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI Finance Search": {
      "main": [
        [
          {
            "node": "Summarize Financial Markets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "SerpAPI Finance Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow fetches live financial data from SerpApi and generates a daily market recap using OpenAI. Create a free account at SerpApi Copy your API Key from the SerpApi dashboard In n8n → Credentials → New → SerpApi Paste your API Key → Save In the workflow, select your…

Source: https://n8n.io/workflows/7742/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Enrich Property Inventory Survey With Image Recognition And Ai Agent. Uses manualTrigger, lmChatOpenAi, airtable, executeWorkflowTrigger. Event-driven trigger; 29 nodes.

OpenAI Chat, Airtable, Execute Workflow Trigger +5
AI & RAG

Manual Http. Uses manualTrigger, lmChatOpenAi, airtable, executeWorkflowTrigger. Event-driven trigger; 29 nodes.

OpenAI Chat, Airtable, Execute Workflow Trigger +5
AI & RAG

⚡📽️ Ultimate AI-Powered Chatbot for YouTube Summarization & Analysis. Uses executeWorkflowTrigger, chatTrigger, stickyNote, memoryBufferWindow. Event-driven trigger; 29 nodes.

Execute Workflow Trigger, Chat Trigger, Memory Buffer Window +4
AI & RAG

This workflow is a comprehensive solution for automating website audits and optimizations, leveraging advanced technologies to boost SEO effectiveness and overall site performance.

HTTP Request, XML, OpenAI Chat +4
AI & RAG

This n8n workflow template allows you to interact with an AI agent that extracts details and the transcript of a YouTube video using a provided video ID. Once the details and transcript are retrieved,

Execute Workflow Trigger, Chat Trigger, Memory Buffer Window +4