Azure Blob Storage
Upload, download, and list blobs in Azure Blob Storage containers.
On this page
Connect
Auth type: Credentials form (custom_auth). Pass the fields the provider needs (listed below) as the connection's credentials. They are sealed at rest.
| Field | Type | Description |
|---|---|---|
accountNamerequired | text | Azure storage account name |
accountKeyrequired | secret | Azure storage account key |
- From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
- Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
- Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.
Call it from a workflow
step.ctx.integrations.invoke("azure_blob_storage", action, input) resolves with the provider's answer and rejects when Azure Blob Storage isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "azure_blob_storage"} says whether yours can call it.
// workflows/notify.ts: call Azure Blob Storage when a booking is confirmed
import { on } from "@appbricx/workflows";
export const tellAzureBlobStorage = on.transition("booking", "status", "confirmed", async (_event, step) => {
// Recorded once: a retry doesn't send it twice. Rejects when Azure Blob Storage isn't connected.
const output = await step.run("Azure Blob Storage", () =>
step.ctx.integrations.invoke("azure_blob_storage", "listBlobs", {
"container": "<container>"
}),
);
step.ctx.log("Azure Blob Storage answered", output);
});{
"name": "integrations",
"arguments": {
"project_id": "<project-id>",
"action": "call",
"piece": "azure_blob_storage",
"piece_action": "listBlobs",
"input": {
"container": "<container>"
},
"env": "dev"
}
}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
listBlobs
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 |
readBlob
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- Runs
- Through the integration runner