Automation library · E-commerce

E-commerce bestseller video generator with Algolia

Started by a clock, and works across Gmail. 21 steps, 4 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large

21 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 2Logic 9Service 10

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

  1. 1Every week on monday morningSchedule triggerStarts it
  2. 2Test Trigger while building the workflowManual triggerStarts it
  3. 3Get weekly bestseller from AlgoliaHttp RequestService
  4. 4If no video for that productIfLogic
  5. 5Image URL is presentIfLogic
  6. 6No Operation, do nothingNo OpLogic
  7. 7Check image availabilityHttp RequestService
  8. 8Tell admin that bestseller has no imageGmailService
  9. 9Image is present and validIfLogic
  10. 10Tell admin that bestseller has broken imageGmailService
  11. 11Convert image to base64 for VEO 3Extract From FileService
  12. 12Generate video with Google VEO 3Http RequestService
  13. 13Wait for video generationWaitLogic
  14. 14Checking if we're doneHttp RequestService
  15. 15Finished ?IfLogic
  16. 16Get video name and storage bucketSetLogic
  17. 17Wait moreWaitLogic
  18. 18AggregateAggregateLogic
  19. 19Downloading the MP4 fileHttp RequestService
  20. 20Drop video in Supabase BucketHttp RequestService
  21. 21Index in AlgoliaHttp RequestService

How it's built

Starts on
A clock
Steps
21, with 4 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

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 21 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 21 steps before you point it at anything that matters.