Automated Torrent Search and Download Workflow

somdn_product_page

This n8n workflow automates the process of searching for a torrent, downloading it if available, and sending notifications. It starts with a webhook trigger, enabling external systems to initiate searches by sending a POST request with a movie or show title. The workflow then queries torrent providers (KickassTorrents and Rarbg) using a custom function that leverages the torrent-search-api library to find the top 5 matching torrents.

If torrents are found, the workflow automatically sends a request to a local Transmission torrent client to add the first torrent’s magnet link for downloading to a specified directory. If no torrents are found or if an error occurs during the addition process, the workflow uses Telegram to notify users about the unavailability of the requested content.

Key nodes include a webhook for input, a function node for torrent searching, HTTP request nodes for torrent addition, conditional nodes for decision-making, and Telegram nodes for notifications. This setup is useful for home media servers or personal automation that simplifies the process of finding and downloading torrents based on user requests, all while keeping users informed via Telegram.

Node Count

6 – 10 Nodes

Nodes Used

functionItem, httpRequest, if, telegram, webhook

Reviews

There are no reviews yet.

Be the first to review “Automated Torrent Search and Download Workflow”

Your email address will not be published. Required fields are marked *