This workflow corresponds to n8n.io template #7741 — we link there as the canonical source.
This workflow follows the Agent → Chat Trigger 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 →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "08a78cfc-21aa-4829-8567-58933116fae8",
"name": "Google_news search",
"type": "n8n-nodes-serpapi.serpApi",
"position": [
-688,
6336
],
"parameters": {
"q": "={{ $json.chatInput }}",
"operation": "google_news",
"requestOptions": {},
"additionalFields": {
"gl": "us"
}
},
"credentials": {
"serpApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "8220e539-b210-450a-80fd-a9d618f8692b",
"name": "OpenAI Chat Model6",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
96,
6240
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-5-nano",
"cachedResultName": "gpt-5-nano"
},
"options": {}
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "7340044d-f248-403f-8d76-a34eb7bee98d",
"name": "Simple Memory2",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
384,
6096
],
"parameters": {
"sessionKey": "={{ $('Sample Chatbot').item.json.sessionId }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.3
},
{
"id": "395c1666-92ad-4ec0-9fe3-5f0cd7415a7d",
"name": "Sticky Note59",
"type": "n8n-nodes-base.stickyNote",
"position": [
-864,
5600
],
"parameters": {
"color": 7,
"width": 1488,
"height": 928,
"content": "# \ud83d\udcf0 Chat with Google News \n\nThis workflow lets you search Google News via **SerpApi**, then summarize and categorize results with **OpenAI**. \n"
},
"typeVersion": 1
},
{
"id": "cee0473d-7ba0-4b98-888c-30872e52364f",
"name": "Sticky Note16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1312,
5600
],
"parameters": {
"width": 400,
"height": 944,
"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 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\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., tracking specific industries, filtering sources, or auto-sending results to Slack/Email)? \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": "6c832b5c-f593-47c2-8af8-4333c75fe1c0",
"name": "Split Out Links",
"type": "n8n-nodes-base.splitOut",
"position": [
-336,
6080
],
"parameters": {
"options": {},
"fieldToSplitOut": "news_results"
},
"typeVersion": 1
},
{
"id": "52504af6-cdea-431e-a546-079ff555873d",
"name": "Combine into one field",
"type": "n8n-nodes-base.aggregate",
"position": [
-128,
5840
],
"parameters": {
"options": {
"mergeLists": true
},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "title"
},
{
"fieldToAggregate": "link"
}
]
}
},
"typeVersion": 1
},
{
"id": "b0f5b97e-7a34-4d05-972a-2fa10af1044e",
"name": "Chat with Google News",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
192,
5776
],
"parameters": {
"text": "=news titles: {{ $json.title }} Links: {{ $json.link }} question: {{ $('Sample Chatbot').item.json.chatInput }}",
"options": {
"systemMessage": "=Take in the list of titles and the original search term. Group into 5 different categories, and send back 1 url's and title for each category they might be interested in. \n"
},
"promptType": "define"
},
"typeVersion": 2.2
},
{
"id": "bbb5baca-6411-4d41-8530-3aff0a228513",
"name": "Sample Chatbot",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-704,
5808
],
"parameters": {
"options": {}
},
"typeVersion": 1.3
},
{
"id": "297841d0-ef52-4591-b7a5-44f9e1fce04a",
"name": "Sticky Note27",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
6064
],
"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": "aa2e3287-9912-4b14-bc69-caa4d5655ae9",
"name": "Sticky Note28",
"type": "n8n-nodes-base.stickyNote",
"position": [
-784,
6096
],
"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": {
"Sample Chatbot": {
"main": [
[
{
"node": "Google_news search",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory2": {
"ai_memory": [
[
{
"node": "Chat with Google News",
"type": "ai_memory",
"index": 0
}
]
]
},
"Split Out Links": {
"main": [
[
{
"node": "Combine into one field",
"type": "main",
"index": 0
}
]
]
},
"Google_news search": {
"main": [
[
{
"node": "Split Out Links",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model6": {
"ai_languageModel": [
[
{
"node": "Chat with Google News",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Combine into one field": {
"main": [
[
{
"node": "Chat with Google News",
"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.
openAiApiserpApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow connects SerpApi with OpenAI inside n8n to automate Google News monitoring and analysis.
Source: https://n8n.io/workflows/7741/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
HDW Lead Geländewagen. Uses chatTrigger, lmChatOpenAi, memoryBufferWindow, outputParserStructured. Chat trigger; 92 nodes.
router-agent. Uses chatTrigger, agent, lmChatOpenAi, executeWorkflow. Chat trigger; 59 nodes.
by Varritech Technologies
Community Node Disclaimer: This workflow uses KlickTipp community nodes.
Who is this workflow for? This workflow is designed for SEO analysts, content creators, marketing agencies, and developers who need to index a website and then interact with its content as if it were