Automation library · Research and reporting

Stock analysis (Indonesia Language) with Gemini

Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 29 steps, 4 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: GeminiRetrieval

29 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
5Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 1Model 9Logic 11Service 8

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2WAHA TriggerWaha triggerStarts it
  3. 3Google Gemini Chat Model1Lm Chat Google GeminiModel
  4. 4Google Gemini Chat Model5Lm Chat Google GeminiModel
  5. 5Google Gemini Chat Model6Lm Chat Google GeminiModel
  6. 6Postgres Chat MemoryMemory Postgres ChatModel
  7. 7AI AgentAgentModel
  8. 8SwitchSwitchLogic
  9. 9AI Agent1AgentModel
  10. 10Extract DataInformation ExtractorModel
  11. 11AI Agent4AgentModel
  12. 12WaitWaitLogic
  13. 13Set TickerSetLogic
  14. 14CodeCodeLogic
  15. 15Wait1WaitLogic
  16. 16Download DataHttp RequestService
  17. 17Wait2WaitLogic
  18. 18Send a text messageWAHAService
  19. 19Get Chart URLHttp RequestService
  20. 20Switch3SwitchLogic
  21. 21Start TypingWAHAService
  22. 22Switch4SwitchLogic
  23. 23Switch2SwitchLogic
  24. 24Extract from FileExtract From FileService
  25. 25Download ChartHttp RequestService
  26. 26Wait3WaitLogic
  27. 27Wait4WaitLogic
  28. 28Start Typing1WAHAService
  29. 29Send a text message1WAHAService

How it's built

Starts on
An event in a connected app
Steps
29, with 4 branches, 5 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
Gemini
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Gemini. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 29 steps it is large: read it before trusting it with anything live.

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 29 steps before you point it at anything that matters.