Automation library · Research and reporting

Task time analysis: overspend time insights for ClickUp and more

Started by an event in a connected app, and works across ClickUp. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 33 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

33 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 6Logic 21Service 5

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Simple MemoryMemory Buffer WindowModel
  4. 4OpenAI Chat Model1Lm Chat Open AiModel
  5. 5Simple Memory1Memory Buffer WindowModel
  6. 6Get Clickup TasksClick UpService
  7. 7Generate Reason checklistAgentModel
  8. 8Generate time insightsAgentModel
  9. 9Filter out unnecessary data from TasksCodeLogic
  10. 10CodeCodeLogic
  11. 11Code2CodeLogic
  12. 12If task has crossed estimationIfLogic
  13. 13MergeMergeLogic
  14. 14Fetch Time entries via task IDsHttp RequestService
  15. 15Modify Task dataCodeLogic
  16. 16Fetch Master commentsHttp RequestService
  17. 17Convert to FileConvert To FileService
  18. 18Modify Time entries dataCodeLogic
  19. 19Merge task data, comments and time entriesMergeLogic
  20. 20Loop Over Master commentsSplit In BatchesLogic
  21. 21Generate Prompt with Time entiresCodeLogic
  22. 22Code3CodeLogic
  23. 23Return Comments dataCodeLogic
  24. 24Destructure & Filter comments array to loop themCodeLogic
  25. 25Sort Master comments old to newCodeLogic
  26. 26If comments got thread commentsIfLogic
  27. 27Fetch comment threadsHttp RequestService
  28. 28Merge thread comments with master commentsMergeLogic
  29. 29Re-merge all master commentsMergeLogic
  30. 30Modify threads comment dataCodeLogic
  31. 31Modify Master comment dataCodeLogic
  32. 32Re-structure comments to process them in loop nodeCodeLogic
  33. 33Move to next master commentNo OpLogic

How it's built

Starts on
An event in a connected app
Steps
33, with 2 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
ClickUp
Model
OpenAI
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 ClickUp account, and a key for OpenAI. 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 OpenAI. 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 33 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 33 steps before you point it at anything that matters.