Package Information
Documentation
n8n-nodes-jellyfin
This is an n8n community node that lets you use Jellyfin in your n8n workflows. It also supports being used as a tool by AI agents inside n8n's AI workflow builder.
Jellyfin is a free and open-source media server that lets you stream your personal media collection — movies, TV shows, music, and more — from anywhere.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
AI Agent Tool
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Package name: @geoffreyr/n8n-nodes-jellyfin
Operations
This node supports the following operations:
Library
- Get All Libraries - List all media library folders configured on the server
- Get Items - List items inside a library with optional filtering, sorting, and pagination
- Scan - Trigger a library scan (all libraries, or a specific one by ID)
Media
- Get - Retrieve a single item by its Jellyfin item ID
- Search - Search for items by name across all libraries
- Get Latest - Get recently added items, optionally filtered by type
- Get Playback Info - Get playback info and available media sources for an item
Credentials
This node uses API key authentication.
Setting up credentials
- In n8n, go to Settings → Credentials
- Click Add Credential and select Jellyfin API
- Fill in the required fields:
- Server URL: The base URL of your Jellyfin server (e.g.
http://your-server:8096) - API Key: Your Jellyfin API key
- User ID: Your Jellyfin user ID
- Server URL: The base URL of your Jellyfin server (e.g.
Getting your API key
- Open your Jellyfin dashboard
- Go to Administration → API Keys
- Click the + button to create a new key and give it a name (e.g.
n8n) - Copy the generated key
Getting your User ID
- Open your Jellyfin dashboard
- Go to Administration → Users
- Click on the user you want to use
- Copy the ID from the browser URL (the long alphanumeric string at the end)
Compatibility
- Minimum n8n version: Compatible with n8n workflow automation platform
- Node.js version: Requires Node.js >= 20.15
- Jellyfin version: Tested with Jellyfin 10.9+
- License: AGPL-3.0
Usage
Basic Example: List All Libraries
- Add the Jellyfin node to your workflow
- Select your Jellyfin API credential
- Set Resource to Library
- Set Operation to Get All Libraries
- Execute — the node returns all library folders with their IDs and names
Example: Browse Items in a Library
- First run Library → Get All Libraries to get a library ID
- Add a second Jellyfin node with Resource = Library, Operation = Get Items
- Paste the library ID into Parent Library ID
- Optionally set Include Item Types (e.g.
Movie) and adjust Limit / Sort By - The node returns a paginated list of items with full metadata
Example: Search for Media
- Set Resource to Media
- Set Operation to Search
- Enter a Search Term (e.g.
Breaking Bad) - Optionally restrict results with Include Item Types (e.g.
Series) - Results include item IDs, names, and metadata you can use in downstream nodes
Example: Get Recently Added Items
- Set Resource to Media
- Set Operation to Get Latest
- Optionally set Include Item Types and a Limit
- The node returns the most recently added items for the configured user
Error Handling
The node includes proper error handling for common scenarios:
- Missing required fields (User ID, Item ID)
- Invalid or unreachable server URL
- Authentication failures (invalid or expired API key)
- Jellyfin API errors (item not found, access denied)
Enable Continue On Fail on the node to handle errors gracefully and keep your workflow running.
AI Agent Tool
This node is marked as usableAsTool, which means it can be attached directly to an AI Agent node in n8n's workflow builder.
How to use it with an AI Agent
- Add an AI Agent node to your workflow
- In the agent's Tools panel, click Add Tool and select Jellyfin
- Configure the Jellyfin credentials on the tool node
- The AI agent can now call any Jellyfin operation autonomously — searching for media, listing libraries, fetching playback info, and more — based on natural language instructions
Example agent prompt
"Search my Jellyfin library for Breaking Bad and return the item ID of the series."
The agent will automatically call the Media → Search operation with searchTerm = "Breaking Bad" and return the result.
Security
Because this node communicates with your media server, apply security best practices:
- Use n8n Credentials to store your API key — never paste it directly into workflow parameters
- Create a dedicated API key for n8n with a descriptive label so you can revoke it independently
- If your Jellyfin instance is publicly accessible, ensure it uses HTTPS
- Use a Jellyfin user with the minimum required permissions