AppSheet intelligent query orchestrator- query any data!
Needs changesWhat 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).
- Appsheet Schema Analyser (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 3 tools (GetHeaders, CallAppsheetAPI, GetListOfWorksheets)
- 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
- App Sheet: uses App Sheet
- Limit: keeps the first few items
- Aggregate: combines items into one
- Cohere Rerank (HTTP Request): calls an HTTP API
- AggregateRanked (Edit Fields (Set)): sets or maps fields
- Final Reranked Output (Edit Fields (Set)): sets or maps fields
Services it uses
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.0 | Replace 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)
- Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Limit
n8n-nodes-base.limit - App Sheet
n8n-nodes-rifad-appsheet.appSheet - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
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…