Automation library · Alerts and monitoring

Analyze customer feedback and alert negative sentiment

Started by another system calling it, and works across Gmail, Google Sheets and Telegram. It hands the judgement calls to OpenAI. 26 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

26 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 3Model 8Logic 5Service 10

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

  1. 1When Feedback ReceivedWebhookStarts it
  2. 2OpenAI Feedback ModelLm Chat Open AiModel
  3. 3OpenAI Draft ModelLm Chat Open AiModel
  4. 4Weekly Digest TriggerSchedule triggerStarts it
  5. 5OpenAI Weekly ModelLm Chat Open AiModel
  6. 6Monthly Summary TriggerSchedule triggerStarts it
  7. 7OpenAI Monthly ModelLm Chat Open AiModel
  8. 8Normalize FeedbackSetLogic
  9. 9Analyze Feedback with AIAgentModel
  10. 10Draft Reply SuggestionAgentModel
  11. 11Read Analysis from SheetsGoogle SheetsService
  12. 12Summarize Weekly FeedbackAgentModel
  13. 13Read Feedback from SheetsGoogle SheetsService
  14. 14Summarize Monthly FeedbackAgentModel
  15. 15Validate Feedback InputIfLogic
  16. 16Extract AnalysisSetLogic
  17. 17Email Escalation to ManagerGmailService
  18. 18Filter Last 7 DaysCodeLogic
  19. 19Send Weekly ReportTelegramService
  20. 20Send Monthly ReportTelegramService
  21. 21Log Feedback to SheetsGoogle SheetsService
  22. 22Notify Invalid FeedbackTelegramService
  23. 23Append Analysis to SheetsGoogle SheetsService
  24. 24Is Negative Sentiment?IfLogic
  25. 25Alert Team on TelegramTelegramService
  26. 26Thank Customer on TelegramTelegramService

How it's built

Starts on
Another system calling it
Steps
26, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Telegram accounts, and a key for OpenAI. 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 26 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 26 steps before you point it at anything that matters.