Azure Blob Storage Component
Manage files and folders within Azure Blob Storage
Component key: azure-blob#
DescriptionAzure Blob Storage is a cloud solution for storing unstructured data, like large binary or text files. It's often used to store blob data for web applications that don't store nicely in a relational database.
This component allows you to list, create and delete Azure containers, and create and modify blobs (files) within those Azure containers.
Information about Azure Blob Storage can be found on their documentation site.
#
Azure Blob Storage Connections#
Connection StringYou can also grant limited access to your Azure Storage Resources using Shared Access Signatures (SAS) authentication, which involves an access token. You can obtain a connection string containing an SAS token from the Azure Portal. Keep in mind this token will eventually expire. Make sure to configure an expiration date you will remember, so you can manually refresh the token at a later date.
Input | Notes | Example |
---|---|---|
Input Connection String string / Required | Notes Provide the connection string for your active directory account. | Example BlobEndpoint=https://example.blob.core.windows.net/;QueueEndpoint=https://example.queue.core.windows.net/;FileEndpoint=https://example.file.core.windows.net/;TableEndpoint=https://example.table.core.windows.net/;SharedAccessSignature=sv=example=rwdlacupitfx&se=2024-05-01T03:51:00Z&st=20 |
#
Storage Shared KeyAzure Blob can use storageSharedKeyCredential authentication, which involves an account / key pair. You can obtain an account name / account key pair through the Azure Portal.
Input | Notes | Example |
---|---|---|
Input Account Key string / Required | Notes Provide the key for your active directory account. | Example exampleKey |
Input Account Name string / Required | Notes Provide the name for your active directory account. | Example exampleName |
#
Actions#
Append to Append BlobAppend blocks to an existing append blob | key: appendToAppendBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
Input File Contents data / Required | Notes The contents to write to a blob. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step. | Example My File Contents |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Create Append BlobCreate an empty append blob object (use "Append to Append Blob" to add blocks) | key: createAppendBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Create ContainerCreate a container | key: createContainer
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Create Page BlobCreate a page blob with a specific size (must be a multiple of 512 bytes) | key: createPageBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
Input Page Blob Size string / Required | Notes Space can be reserved in Azure Blob Store in 512-byte chunks. This must be a multiple of 512 (e.g. 1024, 1536, 2048, etc.). | Example 4096 |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Delete BlobDelete a blob | key: deleteBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Delete ContainerDelete a container | key: deleteContainer
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Download BlobDownload a blob | key: downloadBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
#
Output Example Payload{ "data": { "type": "Buffer", "data": [ 69, 120, 97, 109, 112, 108, 101 ] }, "contentType": "application/octet"}
#
List BlobsGet a list of blobs in a container | key: listBlobs
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
Input Prefix string | Notes List only blobs prefixed with this string. For example, if you only want blobs in a directory called 'unprocessed', you can enter 'unprocessed/'. If this is left blank, all files in the selected bucket will be listed. | Example path/to/files/ |
#
Output Example Payload{ "data": [ { "name": "Example", "deleted": false, "snapshot": "", "properties": { "lastModified": "2020-01-01T00:00:00.000Z", "etag": "Example Tag" } } ]}
#
List ContainersGet a list of containers available in the account | key: listContainers
Input | Notes |
---|---|
Input Connection connection / Required | Notes |
#
Output Example Payload{ "data": [ { "name": "Example", "properties": { "lastModified": "2020-01-01T00:00:00.000Z", "etag": "Example Tag" } } ]}
#
Resize Page BlobResize an existing page blob (must be a multiple of 512 bytes) | key: resizePageBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
Input Page Blob Size string / Required | Notes Space can be reserved in Azure Blob Store in 512-byte chunks. This must be a multiple of 512 (e.g. 1024, 1536, 2048, etc.). | Example 4096 |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Upload Block BlobUpload file data to a block blob object | key: uploadBlockBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
Input File Contents data / Required | Notes The contents to write to a blob. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step. | Example My File Contents |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}
#
Upload to Page BlobUpload to an existing page blob (both data size and offset must be a multiple of 512) | key: uploadToPageBlob
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Blob Name string / Required | Notes A blob is a file that is saved in a 'container'. This represents the blob's key (file path). Include a leading /. | Example /path/to/file.txt |
Input Container Name string / Required | Notes Azure blob 'container' stores files. You can create a container within the Azure console. Container names contain only letters, numbers, and dashes. | Example my-azure-blob-container |
Input File Contents data / Required | Notes The contents to write to a blob. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step. | Example My File Contents |
Input Page Blob Offset string / Required | Notes You can begin to write to an Azure blob starting at a particular block. This value must be a multiple of 512 (e.g. 1024, 1536, 2048, etc.). | Example 2048 |
#
Output Example Payload{ "data": { "_response": { "parsedHeaders": {}, "status": 200, "headers": {}, "request": { "url": "www.prismatic.io", "method": "POST", "withCredentials": false, "timeout": 500, "requestId": "exampleID" } } }}