Automation library · Data collection

Gemini-powered Facebook comment & DM assistant with Notion

Started by another system calling it, and works across Notion. It hands the judgement calls to Gemini. 23 steps, 5 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

23 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 2Logic 9Service 11

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Webhook1WebhookStarts it
  3. 3AI AgentAgentModel
  4. 4If2IfLogic
  5. 5Separate rep&sentSetLogic
  6. 6Parse CommsSetLogic
  7. 7Appropriate?IfLogic
  8. 8Code2CodeLogic
  9. 9ReplyFacebook Graph ApiService
  10. 10If3IfLogic
  11. 11Check DatabaseNotionService
  12. 12Add to DBNotionService
  13. 13Reply1Facebook Graph ApiService
  14. 14Delete Comms1Facebook Graph ApiService
  15. 15Fetch KBHttp RequestService
  16. 16If4IfLogic
  17. 17Delete CommsFacebook Graph ApiService
  18. 18Arrange KBCodeLogic
  19. 19MessagesHttp RequestService
  20. 20Add to DB1NotionService
  21. 21Who's there?IfLogic
  22. 22Messages1Http RequestService
  23. 23CommentFacebook Graph ApiService

How it's built

Starts on
Another system calling it
Steps
23, with 5 branches
Size
Large: read it before trusting it with anything live
Connects to
Notion
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Notion account, and a key for Gemini. 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 Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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