Dynamic AI model selector with GDPR compliance via Requesty and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Google Sheets and OpenAI Chat Model. It also calls router.requesty.ai over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Get Current Workflow (n8n): get
- Fetch Available Models (HTTP Request): calls router.requesty.ai
- Set Selected Model (Edit Fields (Set)): sets 1 field: model
- Read Current Model (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
- Split Model Data (Split Out): splits a list into separate items
- Clear Previous Selection (Google Sheets): clear
- Get Current Model (Edit Fields (Set)): sets 1 field: model
- Update Dropdown Options (Code): runs custom JavaScript code
- Extract Model IDs (Edit Fields (Set)): sets 1 field: id
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: router.requesty.ai
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Edit Fields (Set)
n8n-nodes-base.set - n8n
n8n-nodes-base.n8n - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - n8n Form Trigger
n8n-nodes-base.formTrigger - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Overview This comprehensive n8n workflow provides a sophisticated solution for dynamically selecting and using AI models while maintaining GDPR compliance. It leverages Requesty's European-based AI routing service to ensure data privacy and automatically…