Automation library · Content

Automate social media content with Facebook and LinkedIn

Started by someone opening a chat with it, and works across Gmail, Google Docs, Google Sheets, LinkedIn and two others. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 50 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

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

The flow

Starts it 4Model 15Logic 14Service 17

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Get_Brand_BriefTool WorkflowModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4When clicking ‘Test workflow’Manual triggerStarts it
  5. 5When Executed by Another WorkflowExecute Workflow triggerStarts it
  6. 6OpenAI Chat Model2Lm Chat Open AiModel
  7. 7When chat message receivedChat triggerStarts it
  8. 8OpenAI Chat Model3Lm Chat Open AiModel
  9. 9Google SheetsGoogle Sheets ToolService
  10. 10Get_Brand_Brief1Tool WorkflowModel
  11. 11Check Examples1Google Sheets ToolService
  12. 12Simple MemoryMemory Buffer WindowModel
  13. 13Social Media Content1Output Parser StructuredModel
  14. 14Google DocsGoogle DocsService
  15. 15Schedule TriggerSchedule triggerStarts it
  16. 16AI Content creatorAgentModel
  17. 17Idea creatorChain LlmModel
  18. 18Get BriefExecute WorkflowLogic
  19. 19NotionNotionService
  20. 20Edit FieldsSetLogic
  21. 21AI AgentAgentModel
  22. 22LinkedIn Image generatorOpen AiModel
  23. 23IG Image generatorOpen AiModel
  24. 24Edit Fields4SetLogic
  25. 25FB Image generatorOpen AiModel
  26. 26Edit Fields5SetLogic
  27. 27X Image generatorOpen AiModel
  28. 28Edit Fields7SetLogic
  29. 29Edit Fields6SetLogic
  30. 30Add ExamplesGoogle SheetsService
  31. 31AggregateAggregateLogic
  32. 32Add to HistoryGoogle SheetsService
  33. 33Post image Cloudianry LInHttp RequestService
  34. 34Post image Cloudianry IGHttp RequestService
  35. 35Merge3MergeLogic
  36. 36Post image Cloudianry FBHttp RequestService
  37. 37Merge4MergeLogic
  38. 38Post image Cloudianry XHttp RequestService
  39. 39Merge6MergeLogic
  40. 40Merge5MergeLogic
  41. 41Edit Fields1SetLogic
  42. 42HTTP RequestHttp RequestService
  43. 43Upload media to InstagramFacebook Graph ApiService
  44. 44Facebook PostFacebook Graph ApiService
  45. 45XTwitterService
  46. 46LinkedInLinked InService
  47. 47Publish Post on IGFacebook Graph ApiService
  48. 48MergeMergeLogic
  49. 49Aggregate1AggregateLogic
  50. 50GmailGmailService

How it's built

Starts on
Someone opening a chat with it
Steps
50
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Docs, Google Sheets, LinkedIn, Notion, X
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, Google Docs, Google Sheets, LinkedIn, Notion and X accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with 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 50 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 50 steps before you point it at anything that matters.