Get Azure Storage Blob
  • 10 Apr 2023
  • 1 Minute to read
  • Dark
    Light

Get Azure Storage Blob

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationIntegration > Azure Storage

The Get Azure Storage Blob step retrieves the Blob data from an Azure Storage Blob. The file will be returned as a FileData type to Decisions.

Prerequisites 

This step requires the Azure module to be installed before it will be available in the toolbox. In addition, the step will require the connection string for an Azure Storage account that has access to the container.



Properties

Inputs

PropertyDescriptionData Type
Blob NameThe name of the file within the storage container.String
Connection StringThe connection string for an Azure Storage account. This can be located by navigating to the Storage Account within the Azure Portal, then selecting Shared access signature to create and display the connection string.
String
Container NameThe name of the container as it appears in Azure.String

Outputs

PropertyDescriptionData Type
Error


Error MessageThe string returned if there are any errors when creating the Azure Blob.String
Blob File Data


Blob File DataThe Blob file retrieved as FileData datatype.FileData

Example Inputs and Outputs

Blob NameConnection StringContainer NameOutput
ExampleFile.txtDefaultEndpointsProtocol=https;AccountName=[AccountName];AccountKey=[AccountKey]=;EndpointSuffix=core.windows.net
examplecontainerThe blob file returned as fileData
ExampleFile
DefaultEndpointsProtocol=https;AccountName=[AccountName];AccountKey=[AccountKey]=;EndpointSuffix=core.windows.net
examplecontainer
Error returned: "The specified blob does not exist"
Null ValueDefaultEndpointsProtocol=https;AccountName=[AccountName];AccountKey=[AccountKey]=;EndpointSuffix=core.windows.net
examplecontainer
Error returned: "The specified container does not exist"


Common Errors

The specified blob does not exist

The following error occurs if the Azure Blob input is missing the file extension as part of the name if the file has an extension. Ensure that the name for the file entered into this field matches a file that appears within the Azure Blob Container.


Related Information

Articles:
Azure Storage Module


Was this article helpful?