Wildbots Gemini icon

Wildbots Gemini

Google Gemini AI via Cloudflare proxy — works in any region

File Search → Upload a File to a File Search Store

AI-generated

Summary

Upload a file to a specified File Search store by providing either a file URL or binary file data, assigning a display name for the file.

Inputs

  • Store Name (required) — The resource name of the File Search store where the file will be uploaded (e.g., 'fileSearchStores/abc123').
  • File Display Name (required) — The display name to assign to the uploaded file (e.g., 'quarterly-report.pdf').
  • Input Type (required) — Select the source of the file to upload: either a File URL or Binary File.
  • URL — When Input Type is 'File URL', provide the URL of the file to upload.
  • Input Data Field Name — When Input Type is 'Binary File', specify the name of the input field containing the binary file data to upload.

Output shape

a single JSON object representing the response from the upload operation, paired with the input item

The upload is asynchronous and the operation polls until completion. If successful, returns the upload response containing details about the uploaded file in the File Search store. Errors during upload are thrown as node operation errors.

Examples

Example 1: Uploading a file by URL

Set 'Store Name' to the target File Search store resource name, 'File Display Name' to the desired file name, 'Input Type' to 'File URL', and provide the file URL.

Example 2: Uploading a binary file from workflow data

Set 'Store Name' to the target File Search store resource name, 'File Display Name' to the desired file name, 'Input Type' to 'Binary File', and specify the 'Input Data Field Name' to the binary property name containing the file data.

Links

Discussion