Automation library · Content

Grok Imagine Video Chatbot : Generate & Modify Videos

Started by someone opening a chat with it, and works across FTP. It puts OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 27 steps, 5 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenRouterRetrieval

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

The flow

Starts it 2Model 6Logic 9Service 10

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

  1. 1Run text to videoTool WorkflowModel
  2. 2Run Text-to-Video1Execute Workflow triggerStarts it
  3. 3When chat message receivedChat triggerStarts it
  4. 4Simple MemoryMemory Buffer WindowModel
  5. 5Run image to videoTool WorkflowModel
  6. 6Run video to videoTool WorkflowModel
  7. 7Grok 4.1 FastLm Chat Open RouterModel
  8. 8Grok Imagine Video AgentAgentModel
  9. 9Switch1SwitchLogic
  10. 10Binary?IfLogic
  11. 11Text to VideoHttp RequestService
  12. 12Edit VideoHttp RequestService
  13. 13Image to VideoHttp RequestService
  14. 14Upload imageFtpService
  15. 15Wait 10 sec.WaitLogic
  16. 16Wait 10 sec.1WaitLogic
  17. 17Wait 10 sec.2WaitLogic
  18. 18Set Image UrlSetLogic
  19. 19Get statusHttp RequestService
  20. 20Get status1Http RequestService
  21. 21Get status2Http RequestService
  22. 22Completed?IfLogic
  23. 23Completed?1IfLogic
  24. 24Completed?2IfLogic
  25. 25Get final text to video urlHttp RequestService
  26. 26Get final edit video urlHttp RequestService
  27. 27Get final image to video urlHttp RequestService

How it's built

Starts on
Someone opening a chat with it
Steps
27, with 5 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
FTP
Model
OpenRouter
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 FTP account, and a key for OpenRouter. 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 OpenRouter. 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 27 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 27 steps before you point it at anything that matters.