Automation library · Research and reporting

Extract & analyze competitor reviews with Firecrawl

Started by another system calling it, and works across Gmail. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 32 steps, 1 branch, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

32 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
3Loops or waits
1Service it connects to

The flow

Starts it 3Model 4Logic 20Service 5

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2WebhookWebhookStarts it
  3. 3Simple MemoryMemory Buffer WindowModel
  4. 4ManualManual triggerStarts it
  5. 5AI AgentAgentModel
  6. 6Firecrawl APISetLogic
  7. 7OBJETIVESetLogic
  8. 8Loop URLSSplit In BatchesLogic
  9. 9Reset GPT tokensWaitLogic
  10. 10Email sendSetLogic
  11. 11Split Out1Split OutLogic
  12. 12Req URLHttp RequestService
  13. 13Method detectCodeLogic
  14. 14MergeCodeLogic
  15. 15Clear code (optional)CodeLogic
  16. 16Code (recibe webhook)CodeLogic
  17. 17OpenAIOpen AiModel
  18. 18Markdown1MarkdownLogic
  19. 19LANGSetLogic
  20. 20Clear impuritiesCodeLogic
  21. 21UA Rotativo1CodeLogic
  22. 22Markdown GPT to HTMLMarkdownLogic
  23. 23API RequestHttp RequestService
  24. 24HTMLHtmlLogic
  25. 25API StatusHttp RequestService
  26. 26API Request1Http RequestService
  27. 27Respond to WebhookRespond To WebhookStarts it
  28. 28Send a messageGmailService
  29. 29Status API checkIfLogic
  30. 30Stop and ErrorStop And ErrorLogic
  31. 31WaitWaitLogic
  32. 32Split Out (URLs)Split OutLogic

How it's built

Starts on
Another system calling it
Steps
32, with 1 branch, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail
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 Gmail account, 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. 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 32 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 32 steps before you point it at anything that matters.