npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-gemini-file-manager

v0.1.0

Published

n8n node for managing files with Google Gemini Files API - batch upload, list, and manage files for AI workflows

Readme

n8n-nodes-gemini-file-manager

This is an n8n community node that allows you to manage files with the Google Gemini Files API. It enables batch uploading, listing, and managing files for use with Gemini AI models in your n8n workflows.

Features

  • Upload Files: Upload individual files to Gemini Files API from binary data or URLs
  • Batch Upload: Upload multiple files at once for efficient processing
  • List Files: Retrieve a list of all uploaded files with metadata
  • Get File Info: Get detailed metadata about specific files
  • Delete Files: Remove individual or multiple files from Gemini
  • Storage Integration: (Planned) Upload files directly from Google Cloud Storage

Installation

Community Node (Recommended)

  1. Go to Settings > Community Nodes
  2. Select Install a community node
  3. Enter n8n-nodes-gemini-file-manager
  4. Click Install

Manual Installation

npm install n8n-nodes-gemini-file-manager

Prerequisites

You'll need a Google Gemini API key:

  1. Go to Google AI Studio
  2. Create or select a project
  3. Generate an API key
  4. Add the API key to your n8n credentials

Credentials

This node uses the Gemini API credentials type. When setting up:

  1. In n8n, go to Credentials > New
  2. Search for "Gemini API"
  3. Enter your API key
  4. Save the credentials

Usage

Upload a Single File

  1. Add the Gemini File Manager node to your workflow
  2. Select File as the resource
  3. Select Upload as the operation
  4. Configure the input type (Binary or URL)
  5. Connect your file source and execute

Batch Upload Multiple Files

  1. Select Batch as the resource
  2. Select Upload Multiple as the operation
  3. Specify comma-separated binary property names
  4. Execute to upload all files in parallel

Using Files with Gemini AI

After uploading files, you'll receive file URIs (e.g., files/abc-123) that can be used as references in Gemini AI model calls for multimodal processing.

File Limitations

  • File Size: Maximum 2GB per file
  • Storage: Up to 20GB total per project
  • Expiry: Files are automatically deleted after 48 hours
  • Supported Types: Audio, video, images, documents (PDF, etc.)

Node Reference

Resources

  • File: Operations on individual files
  • Batch: Operations on multiple files

Operations

File Resource

  • Upload: Upload a single file
  • List: List all uploaded files
  • Get: Get file metadata
  • Delete: Delete a file

Batch Resource

  • Upload Multiple: Upload multiple files at once
  • Delete Multiple: Delete multiple files
  • Upload from Storage: (Planned) Upload from cloud storage

Examples

Example: Process Documents with AI

  1. Upload multiple PDF documents using batch upload
  2. Use the returned file URIs in a Gemini AI node
  3. Ask questions about the documents' content

Example: Media Analysis

  1. Upload images or videos
  2. Pass file references to Gemini for analysis
  3. Extract insights, descriptions, or transcriptions

Support

For issues and feature requests, please visit the GitHub repository.

License

MIT