Use this robust n8n workflow to integrate Voxtral Small 24B AI via the Replicate API for audio processing, transcription, and translation. This n8n templates includes status polling and error handling.
Download this n8n workflow template and start using it instantly.
Generating complex AI outputs, such as high-fidelity audio or transcriptions, often requires an asynchronous process where the initial request only returns a prediction ID, requiring subsequent polling to retrieve the final result. This dedicated n8n workflow solves this complexity by providing a seamless, robust, and production-ready solution for interfacing with the Replicate API's notdaniel/voxtral-small-24b-2507 model.
This specific n8n workflow handles everything: securely configuring your API token, setting audio parameters (like the input audio URL and language), initiating the AI generation, and implementing a smart polling loop with built-in delays and success/failure branching. Using this n8n template ensures that your automations are resilient, reliable, and minimize API overhead by only checking status when necessary, making it an excellent example of advanced custom code scripting within n8n.
The entire process of this n8n workflow is structured around initiating an asynchronous task and monitoring its completion.
Set API Token n8n node, where the Replicate API key is securely stored as a variable, followed by the Set Audio Parameters n8n node, which defines the input audio file URL and desired parameters (like language 'en').Create Audio Prediction n8n node sends a POST request to Replicate, containing the model version and input parameters. This request returns a unique prediction ID.Wait 5s).Check Status n8n node uses the prediction ID to query the Replicate API for the task's current state.Is Complete? n8n node checks if the status is 'succeeded'.Success Response, which structures the final JSON output containing the generated audio URL.Has Failed? n8n node checks for a 'failed' status.Error Response.Wait 10s, delaying the n8n workflow before cycling back to Check Status to retry the poll.Display Result n8n node, which presents the structured response object.Set API Token n8n node (d1782e9b) and replace the placeholder value 'YOURREPLICATEAPITOKEN' with your actual Replicate API key. This is critical for the n8n workflow to function.Set Audio Parameters n8n node (a31dc721) and modify the audio URL to point to the audio file you wish to process, or adjust the language and maxnew_tokens settings.Manual Trigger n8n trigger to run a test execution. Monitor the execution path to ensure the polling logic completes successfully and returns the expected result. Manual Trigger (n8n trigger):
Function: Initializes the n8n workflow manually for testing and deployment.
Key Configuration: None (standard starting n8n trigger).
Set API Token (Set n8n node):
Function: Temporarily stores the Replicate API key using a Set n8n node, ensuring the token is available for downstream HTTP authentication.
Key Configuration: Assignment of variable apitoken.
Set Audio Parameters (Set n8n node):
Function: Defines the input variables required by the Voxtral AI model, including the audio URL, language, and token limit.
Key Configuration: Assignments for audio (the source file URL), language, and maxnew_tokens.
Create Audio Prediction (HTTP Request n8n node):
Function: Initiates the asynchronous audio generation task with Replicate, passing required parameters and authentication via headers.
Key Configuration: URL set to https://api.replicate.com/v1/predictions. Uses a Bearer token authorization header. Sends a JSON body defining the model version and input parameters.
Check Status (HTTP Request n8n node):
Function: Polls the Replicate API using the prediction ID received from the previous step to check the task status.
Key Configuration: URL dynamically built using expression: =https://api.replicate.com/v1/predictions/{{ $('Create Audio Prediction').item.json.id }}.
Is Complete? (IF n8n node):
Function: Directs the flow based on the result of the status check. If the status is 'succeeded', it exits the polling loop.
Key Configuration: Condition checks if status equals 'succeeded'.
Wait 10s (Wait n8n node):
Function: Implements a crucial delay in the polling loop, preventing API rate limit issues while the model processes the audio.
* Key Configuration: Amount set to 10 seconds. This retry logic ensures this n8n workflow is robust.
Use this powerful n8n workflow to automatically generate unique, syllabus-aligned MCQ polls using AI (Gemini) and publish them to Telegram via Google Sheets, leveraging advanced n8n automation.

Automate LinkedIn content creation using an advanced n8n workflow. Generate text and images via GPT agents (LangChain) and automatically publish the engaging post. Start using this powerful n8n template for social media scaling.

Use this powerful n8n workflow to automatically generate AI anime wallpapers, animate them using Fal AI, and instantly post the resulting video content to TikTok.

Automate cinematic video creation using an n8n workflow, Gemini AI, and VEO3. This powerful n8n template automatically publishes surreal short videos to YouTube and Telegram twice daily.

This n8n workflow template automates AI news video production. It uses an n8n node sequence to find viral stories, generate scripts via GPT-4o, create avatar videos with HeyGen, and publish automatically using Blotato, streamlining content creation.

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos







































