Automation library · Customer support

Customer Support with Gemini

Started by another system calling it. 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. 23 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: GeminiRetrieval

23 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 4Model 15Logic 4

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

  1. 1Smart GeminiLm Chat Google GeminiModel
  2. 2Gemini EvaluatorLm Chat Google GeminiModel
  3. 3find_relevant_imageAgent Brains Rag ToolModel
  4. 4search_knowledge_baseAgent Brains Rag ToolModel
  5. 5WebhookIntegration triggerStarts it
  6. 6Stub "Webhook"WebhookStarts it
  7. 7Gemini miniLm Chat Google GeminiModel
  8. 8Chat MemoryMemory Mongo Db ChatModel
  9. 9General ExpertAgentModel
  10. 10Greeting ExpertAgentModel
  11. 11Product ExpertAgentModel
  12. 12Structured Output Parser for EvalOutput Parser StructuredModel
  13. 13EvaluatorChain LlmModel
  14. 14GuardrailsGuardrailsModel
  15. 15ResponseRespond To WebhookStarts it
  16. 16Selecting an expert who will answer the questionSwitchLogic
  17. 17Main variablesSetLogic
  18. 18Error Response (guardrails)Respond To WebhookStarts it
  19. 19GET All ProductsKnowledge BaseModel
  20. 20GET Customer ProfileKnowledge BaseModel
  21. 21Product Identifier FlowExecute WorkflowLogic
  22. 22Setup Agent VarsSetLogic
  23. 23GET Product ManualKnowledge BaseModel

How it's built

Starts on
Another system calling it
Steps
23, with 1 branch
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 another system calling it.

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