View as Markdown
DigitalOcean Spaces icon

DigitalOcean Spaces ACTION

Upload File URL

Accepts a download link and a filename, downloads it, then uploads to DigitalOcean Spaces. See the docs.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's DigitalOcean Spaces account once, then configure and run Upload File URL from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "digitalocean_spaces-upload-file-url",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    digitalocean_spaces: { authProvisionId: "apn_xxxxxxx" },
    bucket: "S3 Bucket Name",
    acl: "ACL",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Upload File URL inputs
Property Type Description
bucket S3 Bucket Name string
The S3 Bucket Name
Required Dynamic
acl ACL string
The canned ACL to apply to the object
Optional
contentType Content Type string
A standard MIME type describing the format of the object data. Eg. text/plain
Optional
metadata Metadata object
A map of metadata to store with the object in S3.
Optional
url File URL string
The absolute URL of the file you'd like to upload
Required
filename S3 Filename Key string
The name of the S3 key with extension you'd like to upload this file to
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
digitalocean_spaces-upload-file-url
Version
0.0.2
App
DigitalOcean Spaces
Authentication
API key
Behavior
May modify external data