View as Markdown
Azure Storage icon

Azure Storage ACTION

Upload Blob

Uploads a new blob to a specified container in Azure Storage. See the documentation.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Azure Storage account once, then configure and run Upload Blob 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: "azure_storage-upload-blob",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    azure_storage: { authProvisionId: "apn_xxxxxxx" },
    containerName: "Container Name",
    blobName: "Blob Name",
  },
})

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 Blob inputs
Property Type Description
containerName Container Name string
The name of the container within the specified storage account.
Required Dynamic
blobName Blob Name string
The name of the blob within the specified container.
Required
filePath File Path or URL string
The file to upload. Provide either a file URL or a path to a file in the /tmp directory (for example, /tmp/myFile.txt)
Required
syncDir SyncDir dir
Optional

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
azure_storage-upload-blob
Version
0.1.5
App
Azure Storage
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes