n8n and Murf API

Learn how to use Murf in n8n automated workflows

This is an official integration of Murf for n8n, enabling seamless automation for voice-powered workflows. With this integration, you can build dynamic scenarios that leverage Murf’s comprehensive AI voice capabilities including text-to-speech, voice changing, translation, and automated dubbing - all within your n8n automation workflows.

Introduction to n8n

n8n is a fair-code licensed workflow automation platform that allows you to connect your favorite apps and services. It provides a visual workflow editor where you can build complex automations without writing code, making it perfect for integrating Murf’s voice capabilities into your business processes.

What is a Workflow in n8n?

In n8n, a workflow is a collection of nodes connected together to automate a process. Nodes perform two main types of operations:

  • Triggers: Start workflows in response to events or conditions
  • Actions: Perform tasks like manipulating data and interacting with external systems

The Murf AI n8n node integrates seamlessly into these workflows, allowing you to incorporate AI voice capabilities at any point in your automation process.

Installing via n8n UI

  1. Open your n8n instance and go to the Canvas
  2. Open the nodes panel (press Tab or click the ’+’ button)
  3. Search for “Murf” in the nodes panel
  4. Select the Murf AI node and click Install
  5. The node will be installed for all users in your n8n instance

Murf Credentials Setup

Operations

The Murf AI n8n node supports four operations:

  • Text to Speech: Convert text into natural-sounding speech using 150+ voices across 35+ languages
  • Voice Changer: Transform existing audio files by changing voice characteristics
  • Translation: Translate text between languages
  • Dubbing: Create automated dubbing jobs for videos with multi-language support

Credentials

The Murf n8n node requires API credentials from Murf AI to authenticate your requests. Important: Different operations require API keys from different dashboards:

For Text to Speech, Voice Changer, and Translation Operations

Murf API Credential - Get your API key from Murf API Dashboard

For Dubbing Operations

Murf Dubbing API Credential - Get your dedicated API key from Murf Dubbing Dashboard

Murf Credentials Setup

Example: Turn RSS Feeds into Audio Content Automatically

RSS (Really Simple Syndication) feeds are web formats used to publish frequently updated content like blog posts, news articles, podcasts, and videos. They allow you to subscribe to content from websites without visiting them directly - perfect for automating workflows when new content is published.

This workflow automatically converts RSS articles into high-quality audio files using AI voice narration, perfect for content creators, news aggregators, accessibility tools, or anyone wanting audio versions of written content.

Workflow Overview

What it does: Monitors RSS feeds → Extracts article content → Generates audio narration → Saves audio files

Trigger: RSS Feed updates (runs automatically when new articles are published)

Output: Audio files saved to cloud storage

Step-by-Step Workflow Setup

Step 1: Create New Workflow

  1. Open your n8n instance
  2. Click “Add Workflow” and name it “RSS to Audio Podcast”
  3. You’ll start with an empty canvas

Step 2: Add RSS Feed Trigger

  1. Click the ”+” button to open the nodes panel
  2. Search for “RSS Feed” and add the RSS Feed Trigger node
  3. Configure the RSS Feed node:

    Note: To configure any node in n8n, simply click on the node to open its configuration panel.

    • Feed URL: Enter your RSS feed URL (e.g., https://feeds.bbci.co.uk/news/rss.xml)
    • Poll Times: How often to check for new articles
  4. Test the trigger: Click the “Execute Node” button to verify it can read your RSS feed

Rss_Node

Rss_Node_Config

Step 3: Add Content Processing

  1. Add a “Code” node after the RSS Feed node
  2. Configure the Function node:
    1const item = $input.first().json;
    2
    3// Get the article content
    4const content =
    5 item.description ||
    6 item.content ||
    7 item.summary ||
    8 '';
    9
    10// Clean up HTML and limit length
    11const cleanContent = content
    12 .replace(/<[^>]*>/g, '')
    13 .substring(0, 3000);
    14
    15// Format for TTS
    16const textToSpeak = `Article: ${item.title}. ${cleanContent}`;
    17
    18return [{
    19 json: {
    20 title: item.title,
    21 content: cleanContent,
    22 textToSpeak,
    23 articleUrl: item.link,
    24 publishedDate: item.pubDate
    25 }
    26}];

Code_Node

Code_Node_Config

Step 4: Configure Murf Text-to-Speech

  1. Add the “Murf AI” node after the Function node
  2. Configure Murf AI node:
    • Operation: Select “Text to Speech”
    • Credentials: Get your Murf API key from Murf Dashboard and set up credentials
  3. Map the input fields:
    • Text: Connect to textToSpeak from the previous node
    • Voice: Select voice from Murf’s voice library (e.g., “Ruby” for English)
    • Format: Choose audio format (Defaults to WAV)
    • Style: Select voice style

Murf_Api_Node

Murf_Api_Node_Config

Step 5: Download Audio File

  1. Add an “HTTP Request” node after the Murf AI node
  2. Configure HTTP Request node:
    • Method: GET
    • URL: Map to the audio_url field from Murf’s response

Http_Node

Http_Node_Config

Step 6: Save to Google Drive

  1. Add the “Google Drive” node after the HTTP Request node
  2. Configure Google Drive node:
    • Operation: Select “Upload a File”
    • Drive: Choose your Google Drive account
    • File: Map to the binary data from the HTTP Request node

Cloud_Node

Cloud_Node_Config

Step 7: Test and Activate

  1. Test the workflow:
    • Click “Execute Workflow” to run a test
    • Check each node to ensure data flows correctly
    • Verify audio files are generated and saved

Murf Node Execute

  1. Activate the workflow:
    • Click the “Publish” button in the top Navbar
    • The workflow will now run automatically when new RSS items are detected

n8n Node Publish

Available Voices and Languages

Support

If you encounter any issues or have questions about the n8n integration:

Contributing

Contributions to the integration are welcome! If you’d like to contribute, please feel free to submit a Pull Request on the GitHub repository.

License

This integration is licensed under the MIT License. See the LICENSE file for details.