Automation library · AI assistants

Automatic LinkedIn engagement with OpenAI and Phantombuster

Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 29 steps, 1 branch, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 6Logic 9Service 13

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3OpenAI Chat Model1Lm Chat Open AiModel
  4. 4OpenAI Chat Model2Lm Chat Open AiModel
  5. 5Create CommentAgentModel
  6. 6Get Available Session CookiesMicrosoft Share PointService
  7. 7Generate Random Search TermAgentModel
  8. 8Select CookieAgentModel
  9. 9Create CSV BinaryCodeLogic
  10. 10Extract CookiesExtract From FileService
  11. 11Set ENV VariablesSetLogic
  12. 12Upload CSVMicrosoft Share PointService
  13. 13Get Search AgentPhantombusterService
  14. 14Get Autocomment AgentPhantombusterService
  15. 15Launch AgentPhantombusterService
  16. 16Launch AC AgentPhantombusterService
  17. 17WaitWaitLogic
  18. 18Wait1WaitLogic
  19. 19Get PostsPhantombusterService
  20. 20Get ResponsePhantombusterService
  21. 21Wait2WaitLogic
  22. 22Get Random PostCodeLogic
  23. 23Download fileMicrosoft Share PointService
  24. 24Extract from FileExtract From FileService
  25. 25Check if in ListCodeLogic
  26. 26IfIfLogic
  27. 27Prepare Updated DataCodeLogic
  28. 28Convert to FileConvert To FileService
  29. 29Update fileMicrosoft Share PointService

How it's built

Starts on
A clock
Steps
29, with 1 branch, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
OpenAI

Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

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