Automation library · Content

Annotate video scripts with DeepSeek and Kie.AI

Started by someone submitting a form, and works across Google Drive and Google Sheets. 22 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large

22 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 1Logic 14Service 7

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

  1. 1When Script SubmittedForm triggerStarts it
  2. 2Retrieve Style Memory from SheetsGoogle SheetsService
  3. 3Select Most Recent MemoryCodeLogic
  4. 4Set Script InstructionsSetLogic
  5. 5Post Visual Segments RequestHttp RequestService
  6. 6Parse Visual SegmentsCodeLogic
  7. 7Filter Visual Segment RequestsFilterLogic
  8. 8Process Segments in BatchesSplit In BatchesLogic
  9. 9Aggregate Segment DataCodeLogic
  10. 10Submit Image Task to Kie.aiHttp RequestService
  11. 11Format Final ScriptCodeLogic
  12. 12Prepare Polling DataSetLogic
  13. 13Save Memory to SheetsGoogle SheetsService
  14. 14Wait 20 Seconds for ResultWaitLogic
  15. 15Fetch Kie.ai Task ResultHttp RequestService
  16. 16Combine Polling ResultsSetLogic
  17. 17Verify Completion or Retry LimitIfLogic
  18. 18Extract URL from ResultSetLogic
  19. 19Increase Attempt CounterSetLogic
  20. 20Download Image from URLHttp RequestService
  21. 21Save Image to Google DriveGoogle DriveService
  22. 22Set Final Segment OutputSetLogic

How it's built

Starts on
Someone submitting a form
Steps
22, with 1 branch, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

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