Library / AI Agents & Assistants
AI Agents & Assistants
Chat with Search Console Data Using OpenAI and Postgres
When a webhook receives a chat question, an OpenAI agent queries the Search Console API, remembers the conversation in Postgres and responds.
What it does
### AI Agent Sub-node - OpenAI Chat Model This sub-node utilizes the selected OpenAI Chat Model. You can replace it with any LLM that supports tool calling. ### ⚠️ Choose Your Model In this template, the default model is gpt-4o, a costly option. If you'd like a more affordable alternative, select gpt4-o-mini, though note that responses may occasionally be of slightly lower quality compared to gpt-4o.
The steps
- Postgres Chat Memory
- OpenAI Chat Model
- Set fields
- Webhook - ChatInput
- Respond to Webhook
- Call Search Console Tool
- Tool calling
- Switch
- Set fields - Consruct API CALL
- Set fields - Create searchConsoleDataArray
- Set fields - Create searchConsoleDataArray 2
- Search Console - Get Custom Insights
- ## Search Console - Get List of Properties
- Array aggregation - response to AI Agent
16 steps in total.
Similar automations