Quick overview This workflow listens for Telegram messages containing a song idea, uses OpenAI to expand the idea into a Suno-ready prompt, submits a generation request to the Suno API, polls until the track is ready, and then sends the finished audio and details back to the user in Telegram. How it works Triggers when a user sends a message to your Telegram bot. Captures the message text and chat ID, applies default generation settings, and sends an acknowledgment message back on Telegram. Uses OpenAI to rewrite the short idea into a concise, Suno-optimized music prompt based on your style preferences. Submits the enriched prompt to the Suno API to start generating a song. Waits for a configured interval, checks the Suno generation status, and repeats polling until the status is SUCCESS. Sends the generated audio URL to the user as a Telegram audio message and follows up with a completion message including the title and duration. Setup Create and select a Telegram Bot credential for the Telegram trigger and the Telegram send-audio/message steps. Add an OpenAI API credential for the OpenAI chat model used to enrich the prompt.
Tags
Related workflows
See all AI Automation→AI: Summarize podcast episode and enhance using Wikipedia
The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.
Slack chatbot powered by AI
This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.
Suggest meeting slots using AI
The purpose of this n8n workflow is to automate the process of identifying incoming Gmail emails that are requesting an appointment, evaluating their content, checking calendar availability, and then composing and sending a response email. Note that to use this template, you need to be on n8n version 1.19.4 or later.