Skip to main content

Dynamic AI model selector with GDPR compliance via Requesty and Google Sheets

Workflow preview

Workflow preview
100%
Dynamic AI model selector with GDPR compliance via Requesty and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow 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 ...

Best for

  • Engineering automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.set, n8n-nodes-base.n8n, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.formtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Stefan.

Original n8n.io source

1.1 Workflow description

Title
Dynamic AI model selector with GDPR compliance via Requesty and Google Sheets
Workflow name
Dynamic AI model selector with GDPR compliance via Requesty and Google Sheets

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 updates available model options based on real-time API availability.

Choose Your Integration Approach

Before diving into the setup, it's crucial to understand that this workflow offers two completely independent AI integration approaches:

Approach 1: Dynamic HTTP Request Workflow (Advanced)

Complete infrastructure with dynamic model selection

What it includes:

  • Automatic model discovery from Requesty's API
  • Dynamic dropdown updates in web forms
  • Model selection persistence in Google Sheets
  • Complex workflow orchestration with multiple phases
  • Full control over API parameters and response handling

Best for:

  • Teams needing multiple AI models for different tasks
  • Organizations requiring model usage auditing
  • Users who want maximum flexibility and control
  • Advanced n8n users comfortable with complex workflows

Setup complexity: High (requires multiple components and configurations)

Approach 2: Standalone AI Agent (Simple)

Plug-and-play solution without complexity

What it includes:

  • Direct use of n8n's native OpenAI Chat Model node
  • Simple configuration: just set base URL to https://router.requesty.ai/v1
  • Immediate GDPR compliance through European infrastructure
  • No model discovery or selection infrastructure needed

Best for:

  • Users wanting quick GDPR-compliant AI integration
  • Single-model use cases
  • Simple chat interfaces
  • Users preferring minimal configuration

Setup complexity: Low (5-minute setup)


Quick Start: Approach 2 (Simple AI Agent)

If you want to get started quickly with GDPR-compliant AI, follow these steps:

Step 1: Register with Requesty

  1. Visit https://www.requesty.ai
  2. Complete the registration process
  3. Choose "OpenAI-compatible" integration
  4. Note your API endpoint: https://router.requesty.ai/v1
  5. Create an API key (name it "n8n Integration")

Step 2: Configure n8n

  1. Add a new OpenAI credential in n8n
  2. Set the base URL to: https://router.requesty.ai/v1
  3. Enter your Requesty API key
  4. Add an OpenAI Chat Model node to your workflow
  5. Select your Requesty credential

Step 3: Test

Your AI agent is now ready and GDPR-compliant! All requests will be routed through Requesty's European infrastructure.


Advanced Setup: Approach 1 (Dynamic HTTP Workflow)

For users who need dynamic model selection and advanced features, follow this comprehensive setup:

Prerequisites

  • n8n instance (self-hosted or cloud)
  • Requesty API credentials
  • Google Sheets integration
  • Basic understanding of n8n workflows

Phase 1: Requesty Account Setup

1.1 Registration Process
  1. Navigate to https://www.requesty.ai
  2. Sign up with your email address
  3. Complete the welcome process
1.2 Integration Configuration
  1. Choose Integration Type: Select "OpenAI-compatible"
  2. Note API Endpoint: https://router.requesty.ai/v1
  3. Create API Key:
    • Provide a descriptive name (e.g., "n8n Dynamic Workflow")
    • Click "Create API Key"
    • Important: Save this key securely - you'll need it for n8n configuration

Phase 2: Google Sheets Preparation

2.1 Create Storage Sheet
  1. Create a new Google Sheet named "AI Model Selections"
  2. Add the following column:
    • A1: "Selected Model"
  3. Note the Google Sheet ID from the URL
2.2 Configure Google Sheets API
  1. Enable Google Sheets API in Google Cloud Console
  2. Create service account credentials
  3. Share your sheet with the service account email
  4. Download the credentials JSON file

Phase 3: n8n Workflow Configuration

3.1 Import Workflow
  1. Download the workflow JSON file
  2. Import into your n8n instance
  3. Review all nodes and connections
3.2 Configure Credentials

Requesty API Credentials:

  1. Go to n8n Credentials section
  2. Create new HTTP Request credential
  3. Set authentication type to "Header Auth"
  4. Header name: "Authorization"
  5. Header value: "Bearer YOUR_REQUESTY_API_KEY"

Google Sheets Credentials:

  1. Create new Google Sheets credential
  2. Upload your service account JSON file
  3. Test the connection

Google Sheets Nodes:

  • Update sheet ID in all Google Sheets nodes
  • Verify column mappings match your sheet structure

Phase 4: Troubleshooting Guide

Common Issues and Solutions

Models Not Loading:

  • Verify Requesty API credentials
  • Check network connectivity and API endpoint URL

Selection Not Persisting:

  • Verify Google Sheets credentials and write permissions
  • Check sheet ID configuration

Chat Not Responding:

  • Verify selected model availability
  • Check API request formatting and response processing
Debug Procedures
  1. Enable debug mode and detailed logging
  2. Check node outputs and data flow
  3. Validate API calls with external tools
  4. Review n8n execution logs

Conclusion

The choice between approaches depends on your specific requirements:

  • Simple AI Agent: Perfect for straightforward AI integration with minimal setup
  • Dynamic HTTP Workflow: Ideal for complex requirements with multiple models and advanced features

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Initialize Workflow

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Fetch Available Models

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Split Model Data

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 4 - Extract Model IDs

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Get Current Workflow

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 6 - Merge Data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - Update Dropdown Options

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Update Workflow

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 9 - Model Selection Form

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 10 - Set Selected Model

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Chat Interface

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 12 - AI API Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Extract Response

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Get Current Model

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Save Model Selection

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 16 - Clear Previous Selection

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 17 - Read Current Model

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 18 - AI Agent (Optional)

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 19 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 20 - Format Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Dynamic AI model selector with GDPR compliance via Requesty and Google Sheets
Complexity advanced
Nodes 20
Categories Engineering, AI Chatbot
Author Stefan
Published 10 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5862/5862.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Dynamic AI model selector with GDPR compliance via Requesty and Google Sheets do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI Chatbot use case.