Automate qBittorrent Throttling Based on Plex Media Events
detail.loadingPreview
Automatically throttle or resume qBittorrent downloads in response to Plex media playback events (play, pause, stop). Integrates with qBittorrent API for dynamic speed control.
🚀Ready to Deploy This Workflow?
🚀 Run Without Servers
Too complicated to set up? Run this workflow instantly on AIWord.
Run on AIWord Cloud ☁️About This Workflow
How it works
This workflow leverages n8n to create an intelligent throttling system for your qBittorrent client, triggered by events from your Plex Media Server. It starts by listening for incoming webhook events. A Check if Local node first determines if the event originates from a local Plex instance. If local, a Switch node categorizes the event into media.play, media.resume, media.pause, or media.stop. Depending on the event, the workflow proceeds to check the current qBittorrent speed limit mode. It obtains a qBittorrent API cookie, queries the current speed limit status, and then either enables throttling (if playing/resuming and not already throttled) or disables throttling (if paused/stopped and currently throttled). This ensures your download speeds are managed dynamically based on your media consumption, preventing bandwidth saturation during playback.
Key Features
- Real-time qBittorrent speed limit control.
- Triggered by Plex media playback events.
- Dynamic throttling based on play, pause, and stop actions.
- Integrates directly with qBittorrent API.
- Configurable via n8n Global Variables.
How To Use
- Configure Global Variables: In the
Global Variablesnode, replace the placeholder values with your qBittorrent username, password, internal IP address, and port. - Set up Plex Webhook: Configure your Plex Media Server to send webhook events to the n8n webhook URL provided by the
Webhooknode. The payload should contain event types likemedia.play,media.pause,media.stop, andmedia.resume. - Adjust
Check if LocalCondition: If your Plex instance is not local or you want to simplify, you might adjust or remove theCheck if Localnode and its connections. - Review qBittorrent API Calls: The
Get QB Cookie,Check Throttle State,Enable Throttle, andDisable Throttlenodes interact with the qBittorrent Web API. Ensure your qBittorrent instance has the Web UI enabled and that the IP/port in Global Variables are correct. - Test the Workflow: Trigger Plex events and observe the workflow execution in n8n to confirm qBittorrent speed limits are adjusted as expected.
Apps Used
Workflow JSON
{
"id": "bda5c312-7584-4128-9e4b-bd5d5e95f496",
"name": "Automate qBittorrent Throttling Based on Plex Media Events",
"nodes": 0,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
🚀 Run Without Servers
Use our managed AI Automation Cloud. No DevOps, no errors. Start for free.
- Anti-detect Browser
- Managed Proxies
- 24/7 Uptime
Get This Workflow
ID: bda5c312-7584...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Integrations
- Facebook Graph API + Google Sheets(22 workflows)
- Facebook Graph API + Schedule Trigger(21 workflows)
- Facebook Graph API + Twitter(18 workflows)
- Facebook Graph API + Linked In(16 workflows)
- Facebook Graph API + Gmail(12 workflows)
- Facebook Graph API + Telegram(12 workflows)
- Facebook Graph API + Google Drive(10 workflows)
- Perplexity + Schedule Trigger(7 workflows)
- Facebook Graph API + Postgres(7 workflows)
- Facebook Graph API + Google Drive Trigger(6 workflows)
Related Workflows
Discover more workflows you might like
Master the Art of APIs with Our Interactive Tutorial Workflow
Demystify APIs with this hands-on n8n workflow tutorial. Learn how to make requests, understand different HTTP methods, and customize your interactions using a fun restaurant analogy. Perfect for beginners looking to grasp core API concepts.
Automate Long-Lived Facebook Access Token Generation
This n8n workflow streamlines the complex process of acquiring long-lived Facebook User and Page Access Tokens. It ensures your applications maintain continuous, secure access to Facebook APIs without frequent manual re-authentication, saving you time and preventing service interruptions.
Streamline n8n Instance Management: Projects, Folders & Tags Overview
This powerful n8n workflow automates the process of gathering critical information about your n8n instance. It securely logs in to retrieve data on your personally owned projects, their associated folders, and a comprehensive list of all available tags, offering a clear overview of your workspace.
One-Click Rundeck Job Automation
This workflow provides a simple, manual trigger to instantly execute a predefined job within your Rundeck environment. Perfect for on-demand operations, it streamlines the initiation of critical IT tasks with a single click.
Automated Jira Ticket Triage and Enhancement
Streamline your Jira workflow with intelligent automation. This solution automatically fetches open tickets, enhances them with AI-powered labeling, prioritization, and summary rewriting, and updates your Jira instance.
Automated n8n Workflow GitHub Backup & Sync
Automatically back up and synchronize your n8n workflows to a GitHub repository, ensuring version control, easy collaboration, and reliable recovery. This subworkflow intelligently compares existing files with new versions and updates or creates them on GitHub as needed.