Automation library · Chat assistants

Generate empathetic customer replies with Claude

Started by another system calling it, and works across Google Sheets and Slack. It puts Claude behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 17 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: ClaudeRetrieval

17 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 3Model 4Logic 8Service 2

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

  1. 1Anthropic Chat Model1Lm Chat AnthropicModel
  2. 2Memory (Recent 4)Memory Buffer WindowModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4for real-time repliesWebhookStarts it
  5. 5(5–10 min) for missed or queuedSchedule triggerStarts it
  6. 6Update a messageSlackService
  7. 7Save to Google Sheets1Google SheetsService
  8. 8for testingManual triggerStarts it
  9. 9AI Agent (Empathy)1AgentModel
  10. 10Test Input (Change Me)1SetLogic
  11. 11Post-Process & Sanitize1CodeLogic
  12. 12Set Config1SetLogic
  13. 13Risk & Handover Rules1CodeLogic
  14. 14Ensure Session1CodeLogic
  15. 15If needs_handover1IfLogic
  16. 16Draft (Needs Review)SetLogic
  17. 17Draft (Auto-OK)SetLogic

How it's built

Starts on
Another system calling it
Steps
17, with 1 branch
Size
Medium: a working afternoon
Connects to
Google Sheets, Slack
Model
Claude
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Slack accounts, and a key for Claude. 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 Claude. 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?

Plan an afternoon. 17 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 17 steps before you point it at anything that matters.