Automation library · Data collection

Generate Suno AI music from Discord forms with Gemini

Started by another system calling it, and works across Discord and Google Sheets. It hands the judgement calls to Gemini. 31 steps, 4 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 2Model 3Logic 11Service 15

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2WebhookWebhookStarts it
  3. 3Google Gemini Chat ModelLm Chat Google GeminiModel
  4. 4Music Prompt Output ParserOutput Parser StructuredModel
  5. 5GetTokenHttp RequestService
  6. 6If2IfLogic
  7. 7Generate Music Prompts (AI Agent)AgentModel
  8. 8HTTP Request2Http RequestService
  9. 9Split Music RequestsSplit OutLogic
  10. 10If1IfLogic
  11. 11LimitLimitLogic
  12. 12CheckCreditHttp RequestService
  13. 13Create a channelDiscordService
  14. 14HTTP RequestHttp RequestService
  15. 15Send a messageDiscordService
  16. 16GenMusicClip1Http RequestService
  17. 17Create FormDiscordService
  18. 18Split Out1Split OutLogic
  19. 19GenLyricsHttp RequestService
  20. 20GetMetadataClips1Http RequestService
  21. 21WaitWaitLogic
  22. 22If3IfLogic
  23. 23GetLyricsHttp RequestService
  24. 24Log Song MetadataGoogle SheetsService
  25. 25Wait4WaitLogic
  26. 26FinetuneLyricHttp RequestService
  27. 27GenMusicClipHttp RequestService
  28. 28Split OutSplit OutLogic
  29. 29GetMetadataClipsHttp RequestService
  30. 30IfIfLogic
  31. 31Wait3WaitLogic

How it's built

Starts on
Another system calling it
Steps
31, with 4 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Discord, Google Sheets
Model
Gemini

Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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