Azure Blob Storage
Upload, download, and list blobs in Azure Blob Storage containers.
On this page
Connect
Auth type: Credentials form (custom_auth). Fill in the fields the provider needs (listed below). They are stored encrypted in the vault.
| Field | Type | Description |
|---|---|---|
accountNamerequired | text | Azure storage account name |
accountKeyrequired | secret | Azure storage account key |
- In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
- For every project in a workspace: Workspace settings, Integrations.
- Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.
Call it from a workflow
Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.
// .workflow.js (native ctx)
export async function run(ctx) {
const res = await ctx.integrations.invoke("azure_blob_storage", "listBlobs", {
"container": "<container>"
});
if (!res.success) throw new Error(res.error);
ctx.log.info("Azure Blob Storage answered", { output: res.output });
}// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";
export default defineWorkflow({
id: "azure-blob-storage-listblobs",
name: "Azure Blob Storage: List Blobs",
description: "Calls Azure Blob Storage when a row is created.",
trigger: { type: "entity_event", entity: "tickets", event: "created" },
async run(ctx, event) {
const res = await ctx.integrations.call("azure_blob_storage", {
"action": "listBlobs",
"container": "<container>"
}) as { success: boolean; error?: string };
if (!res.success) throw new Error(res.error);
},
});curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/azure_blob_storage/listBlobs" \
-H "Authorization: Bearer $APP_KEY" \
-H "content-type: application/json" \
-d '{"props":{"container":"<container>"}}'Actions
listBlobsin catalog
List Blobs. List Blobs in the specified Azure Blob Storage container
| Input | Type | Description |
|---|---|---|
containerrequired | id (picked from your account) | Select the container |
includeSnapshotsoptional | boolean | Whether to include snapshots in the list |
prefixoptional | text | Filter blobs by prefix |
readBlobin catalog
Read Blob. Read the Blob at the specified lcoation
| Input | Type | Description |
|---|---|---|
containerrequired | id (picked from your account) | Select the container |
blobNamerequired | text | The name of the blob to read |
addTagsToBlob
Add Tags to Blob. Adds Tags to the Blob at the specified location
| Input | Type | Description |
|---|---|---|
containerrequired | id (picked from your account) | Select the container |
blobNamerequired | text | The name of the blob to add tags to |
tagsoptional | object | The tags to add to the blob |
keepExistingTagsoptional | boolean | Whether to keep existing tags on the blob |
createBlob
Create Blob. Creates a new Blob in the specified location
| Input | Type | Description |
|---|---|---|
containerrequired | id (picked from your account) | Select the container |
blobNamerequired | text | The name of the blob to create |
filerequired | file | The file to upload as a blob |
tagsoptional | object | Optional tags to associate with the blob |
createContainer
Create Container. Creates a new container
| Input | Type | Description |
|---|---|---|
containerNamerequired | text | The name for the newly created container |
deleteBlob
Delete Blob. Deletes the Blob at the specified location
| Input | Type | Description |
|---|---|---|
containerrequired | id (picked from your account) | Select the container |
blobNamerequired | text | The name of the blob to create |
deleteContainer
Delete Container. Deletes an existing container
| Input | Type | Description |
|---|---|---|
containerrequired | id (picked from your account) | Select the container |
findBlobs
Find Blobs. Finds Blobs based on their tags
| Input | Type | Description |
|---|---|---|
containerrequired | id (picked from your account) | Select the container |
tagsrequired | object | The tags to filter blobs by |
listContainers
List Containers. List Containers in the Azure Blob Storage account
| Input | Type | Description |
|---|---|---|
includeDeletedoptional | boolean | Whether to include deleted containers in the list |
includeSystemoptional | boolean | Whether to include system containers in the list |
prefixoptional | text | Filter containers by prefix |
Details
- Id
azure_blob_storage- Category
- Data and storage
- Tags
- storage, cloud, azure, microsoft, blobs
- Package
@activepieces/piece-azure-blob-storage@0.1.4- Tier
- Community