Automation library · AI assistants

Place products on AI generated backgrounds with Google Imagen

Started by someone submitting a form, and works across Google Drive. It hands the judgement calls to OpenAI. 27 steps, 3 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 6Logic 7Service 13

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

  1. 1gpt-4o-miniLm Chat Open AiModel
  2. 2gpt-4.1-miniLm Chat Open AiModel
  3. 3BG Prompt Output ParserOutput Parser StructuredModel
  4. 4Copy Output ParserOutput Parser StructuredModel
  5. 5On form submissionForm triggerStarts it
  6. 6Copywriting AgentAgentModel
  7. 7Background Image Prompt AgentAgentModel
  8. 8Get a temporary file url for the uploadHttp RequestService
  9. 9MergeMergeLogic
  10. 10Fal.ai Google Image Gen4Http RequestService
  11. 11Fetch Status2Http RequestService
  12. 12Is Ready?2IfLogic
  13. 13Fetch Style Reference ImageHttp RequestService
  14. 14Wait2WaitLogic
  15. 15Fal.ai Replace BackgroundHttp RequestService
  16. 16Fetch StatusHttp RequestService
  17. 17Is Ready?IfLogic
  18. 18Fetch ResultHttp RequestService
  19. 19WaitWaitLogic
  20. 20Fal.ai Time of Day RelightHttp RequestService
  21. 21Fetch Status1Http RequestService
  22. 22Is Ready?1IfLogic
  23. 23Fetch Result1Http RequestService
  24. 24Wait1WaitLogic
  25. 25Create Image via Template with Placid.appHttp RequestService
  26. 26Download ImageHttp RequestService
  27. 27Save to Google DriveGoogle DriveService

How it's built

Starts on
Someone submitting a form
Steps
27, with 3 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Drive account, and a key for OpenAI. 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?

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