Skip to content
FlowHubFluxonLab
A
AI Automationfree

AI Agent to chat with you Search Console Data, using OpenAI and Postgres

by Datakiadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCall n8n Workflow ToolCall n8n Workflow ToolHTTP RequestHTTP RequestOpenAI Chat ModelOpenAI Chat ModelPostgres Chat MemoryPostgres Chat Memory
Share Post Share
MPPostgres Chat MemoryPostgres Chat M…OpenAI Chat ModelOpenAI Chat Mod…SeSet fieldsWeWebhook - ChatInputWebhook - ChatI…RTRespond to WebhookRespond to Webh…TWCall Search Console ToolCall Search Con…EWTool callingSwSwitchSeSet fields - Consruct API CALLSet fields - Co…SeSet fields - Create searchConsoleDataArraySet fields - Cr…SeSet fields - Create searchConsoleDataArray 2Set fields - Cr…HRSearch Console - Get Custom InsightsSearch Console …HR## Search Console - Get List of Properties## Search Conso…AgArray aggregation - response to AI AgentArray aggregati…AgArray aggregation - response to AI Agent1Array aggregati…AgAI Agent123456
1/5
FLOWS
STEPS · 6
Starts on an incoming request

Edit 19/11/2024: As explained on the workflow, the AI Agent with the original system prompt was not effective when using gpt4-o-mini. To address this, I optimized the prompt to work better with this model. You can find the prompts I’ve tested on this Notion Page. And yes, there is one that works well with gpt4-o-mini. AI Agent to chat with you Search Console Data, using OpenAI and Postgres This AI Agent enables you to interact with your Search Console data through a chat interface. Each node is documented within the template, providing sufficient information for setup and usage. You will also need to configure Search Console OAuth credentials. Follow this n8n documentation to set up the OAuth credentials. Important Notes Correctly Configure Scopes for Search Console API Calls It’s essential to configure the scopes correctly in your Google Search Console API OAuth2 credentials. Incorrect configuration can cause issues with the refresh token, requiring frequent reconnections.

Tags

n8nreference-onlyagentlm-chat-open-aimemory-postgres-chattool-workflow
Connects
AAI Agentcalln8nworkflowtoolCall n8n Workflow ToolWHTTP RequestopenaichatmodelOpenAI Chat ModelpostgreschatmemoryPostgres Chat Memory
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes16
AddedNov 13, 2024

Related workflows

See all AI Automation
ACgmailsheets
free

Analyze YouTube comments with OpenAI, Google Sheets, and Gmail

Quick overview This workflow monitors a Google Sheets list of YouTube video IDs, fetches video details and top comments from the YouTube Data API, analyzes the comments with OpenAI into structured sentiment and themes, emails an HTML report via Gmail, and writes the results back to Google Sheets. How it works Triggers every minute when a row in Google Sheets is added or updated. Reads the video ID and status from the row and continues only if the status is set to “Pending”. Calls the YouTube Data API to fetch the video’s metadata and the top comment threads for that video. Flattens the comment threads, calculates basic stats (comment count and average likes), and compiles a limited comment text block for analysis. If comments exist, sends the compiled comments and video title to OpenAI to generate a structured analysis (sentiment score, sentiment breakdown, themes, questions, feedback, insights, and summary). Builds an HTML email report from the structured results, sends it to the configured recipient with Gmail, and updates the Google Sheet row with the analysis fields; if no comments exist, marks the row as “No comments”. Setup Create or duplicate a Google Sheet with at least “Vi

by Dr. Firas
Agmailopenaichatmodeltextclassifier
free

Suggest meeting slots using AI

The purpose of this n8n workflow is to automate the process of identifying incoming Gmail emails that are requesting an appointment, evaluating their content, checking calendar availability, and then composing and sending a response email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

AI agent chat

This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team