Automation library · Content

Viral videos into new content with Gemini and OpenAI

Started by an incoming WhatsApp message, and works across Google Sheets, S3 and WhatsApp. It hands the judgement calls to Gemini and OpenAI. 50 steps, 3 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAI

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

The flow

Starts it 2Model 6Logic 17Service 25

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3WhatsApp TriggerWhats App triggerStarts it
  4. 4Google Sheets Trigger1Google Sheets triggerStarts it
  5. 5AI AgentAgentModel
  6. 6If1IfLogic
  7. 7SwitchSwitchLogic
  8. 8Prepare for PublishSetLogic
  9. 9Get Post Content from instagramHttp RequestService
  10. 10Get Post Content from tiktokHttp RequestService
  11. 11Get Post Content from youtubeHttp RequestService
  12. 12Upload to BlotatoHttp RequestService
  13. 13Edit FieldsSetLogic
  14. 14Edit Fields1SetLogic
  15. 15Edit Fields2SetLogic
  16. 16[Instagram] Publish via BlotatoHttp RequestService
  17. 17[Facebook] Publish via BlotatoHttp RequestService
  18. 18[Linkedin] Publish via BlotatoHttp RequestService
  19. 19[Tiktok] Publish via BlotatoHttp RequestService
  20. 20[Youtube] Publish via BlotatoHttp RequestService
  21. 21[Twitter] Publish via BlotatoHttp RequestService
  22. 22Get CoverHttp RequestService
  23. 23Upload CoverHttp RequestService
  24. 24Get TextOpen AiModel
  25. 25OpenAI1Open AiModel
  26. 26Switch1SwitchLogic
  27. 27Filter Instagram AudioCodeLogic
  28. 28Filter Audio1CodeLogic
  29. 29Filter Youtube AudioCodeLogic
  30. 30Download Audio1Http RequestService
  31. 31AWS S31Aws S3Service
  32. 32AWS Transcribe2Aws TranscribeService
  33. 33Wait5WaitLogic
  34. 34AWS Transcribe3Aws TranscribeService
  35. 35Template ID1CodeLogic
  36. 36Save Data1Google SheetsService
  37. 37PerplexityHttp RequestService
  38. 38Clean UpCodeLogic
  39. 39Generate TextsOpen AiModel
  40. 40SplitCodeLogic
  41. 41Video IDCodeLogic
  42. 42Save New DataGoogle SheetsService
  43. 43Get SpeakerHttp RequestService
  44. 44Generate VideoHttp RequestService
  45. 45WaitWaitLogic
  46. 46Get VideoHttp RequestService
  47. 47Add Text To VideoHttp RequestService
  48. 48Wait1WaitLogic
  49. 49Get Final VideoHttp RequestService
  50. 50Save Final DataGoogle SheetsService

How it's built

Starts on
An incoming WhatsApp message
Steps
50, with 3 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, S3, WhatsApp
Model
Gemini, OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets, S3 and WhatsApp accounts, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming WhatsApp message.

Does it use AI?

Yes. It calls Gemini and OpenAI. 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.