WorkflowChatGPTOpen

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

Triggered by a webhook. Connects Aggregate, HTTP request, Respond To Webhook, Switch, Webhook. Webhook - ChatInput This webhook serves as the endpoint for receiving ChatInput data. Ensure that you include: - chatInput – the content you wish to send (πŸ˜‰) - sessionId – a unique identifier for the session If you're using an interface such as Open WebUI, the sessionId will be generated automatically. S

Front matter
name: AI Agent to chat with you Search Console Data, using OpenAI and Postgres
description: Triggered by a webhook. Connects Aggregate, HTTP request, Respond To Webhook, Switch, Webhook. ## Webhook - ChatInput This webhook serves as the endpoint for receiving `ChatInput` data. Ensure that you include: - `chatInput` – the content you wish to send (πŸ˜‰) - `sessionId` – a unique identifier for the session If you're using an interface such as **Open WebUI**, the `sessionId` will be generated automatically. ## Set fields This node sets three fields: - `chatInput`: retrieved from the previous webhook node - `sessionId`: retrieved from the previous webhook node - `date_message`: forma
category: Automation
kind: Workflow
software: Aggregate|HTTP request|Respond To Webhook|Switch|Webhook

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

Triggered by a webhook. Connects Aggregate, HTTP request, Respond To Webhook, Switch, Webhook. ## Webhook - ChatInput

This webhook serves as the endpoint for receiving ChatInput data. Ensure that you include:

  • chatInput – the content you wish to send (πŸ˜‰)
  • sessionId – a unique identifier for the session

If you're using an interface such as Open WebUI, the sessionId will be generated automatically. ## Set fields

This node sets three fields:

  • chatInput: retrieved from the previous webhook node
  • sessionId: retrieved from the previous webhook node
  • date_message: forma

Steps

  • Postgres Chat Memory (noOp)
  • OpenAI Chat Model (noOp)
  • Set fields (set)
  • Sticky Note (stickyNote)
  • Webhook - ChatInput (webhook)
  • Sticky Note1 (stickyNote)
  • Respond to Webhook (respondToWebhook)
  • Sticky Note2 (stickyNote)
  • Call Search Console Tool (noOp)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)
  • Sticky Note6 (stickyNote)
  • Sticky Note5 (stickyNote)
  • Sticky Note7 (stickyNote)
  • Tool calling (executeWorkflowTrigger)
  • Switch (switch)
  • Set fields - Consruct API CALL (set)
  • Sticky Note8 (stickyNote)
  • Set fields - Create searchConsoleDataArray (set)
  • Set fields - Create searchConsoleDataArray 2 (set)
  • Search Console - Get Custom Insights (httpRequest)
  • Sticky Note9 (stickyNote)
  • Sticky Note10 (stickyNote)
  • ## Search Console - Get List of Properties (httpRequest)
  • Sticky Note11 (stickyNote)
  • Sticky Note12 (stickyNote)
  • Array aggregation - response to AI Agent (aggregate)
  • Array aggregation - response to AI Agent1 (aggregate)
  • Sticky Note13 (stickyNote)
  • AI Agent (noOp)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Webhook/1252_Webhook_Respondtowebhook_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.