Automation library · Data collection

Dynamic AI model selector with Requesty and Google Sheets

Started by someone opening a chat with it, and works across Google Sheets. It hands the judgement calls to OpenAI. 20 steps: a working afternoon to understand properly.

MediumCalls a model: OpenAI

20 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 3Model 2Logic 8Service 7

The steps in the order they run, from what starts it.

  1. 1Initialize WorkflowManual triggerStarts it
  2. 2Model Selection FormForm triggerStarts it
  3. 3Chat InterfaceChat triggerStarts it
  4. 4OpenAI Chat ModelLm Chat Open AiModel
  5. 5Get Current WorkflowN8nService
  6. 6Fetch Available ModelsHttp RequestService
  7. 7Set Selected ModelSetLogic
  8. 8Read Current ModelGoogle SheetsService
  9. 9AI Agent (Optional)AgentModel
  10. 10Merge DataMergeLogic
  11. 11Split Model DataSplit OutLogic
  12. 12Clear Previous SelectionGoogle SheetsService
  13. 13Get Current ModelSetLogic
  14. 14Update Dropdown OptionsCodeLogic
  15. 15Extract Model IDsSetLogic
  16. 16Save Model SelectionGoogle SheetsService
  17. 17AI API RequestHttp RequestService
  18. 18Update WorkflowN8nService
  19. 19Extract ResponseSetLogic
  20. 20Format ResponseCodeLogic

How it's built

Starts on
Someone opening a chat with it
Steps
20
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.