Templates / AppSheet intelligent query orchestrator- query any data!

AppSheet intelligent query orchestrator- query any data!

Needs changes

by Mohammed Rifad · 958 views · created 2025-02-18 · Engineering, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Google Sheets, Anthropic Chat Model and Rifad Appsheet (community).

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Appsheet Schema Analyser (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 3 tools (GetHeaders, CallAppsheetAPI, GetListOfWorksheets)
  2. Cleanup and structure the input (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  3. App Sheet: uses App Sheet
  4. Limit: keeps the first few items
  5. Aggregate: combines items into one
  6. Cohere Rerank (HTTP Request): calls an HTTP API
  7. AggregateRanked (Edit Fields (Set)): sets or maps fields
  8. Final Reranked Output (Edit Fields (Set)): sets or maps fields

Services it uses

Google Gemini Chat ModelGoogle SheetsAnthropic Chat ModelRifad Appsheet (community)

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Appsheet Schema Analyser (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Appsheet Schema Analyser (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (14)

From the author

AppSheet Intelligent Query Orchestrator A friendly, practical tool that makes working with AppSheet data simpler and more efficient. This workflow is your go-to helper for building precise queries without getting lost in a sea of different tables. Background…

Excerpt from Mohammed Rifad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.