Actions7
- Container Actions
- Blob Actions
Overview
This node allows interaction with Azure Blob Storage, specifically managing containers and blobs within an Azure Storage account. The "Delete Container" operation deletes a specified container from the Azure Blob Storage account.
Common scenarios where this node is useful include:
- Automating cleanup of storage by deleting unused or temporary containers.
- Managing lifecycle of data storage in Azure Blob Storage programmatically.
- Integrating container deletion into larger workflows that manage cloud storage resources.
For example, you might use this node to delete a container after archiving its contents elsewhere, or as part of a scheduled job to remove containers no longer needed.
Properties
Name | Meaning |
---|---|
Container Name | The name of the container to delete. This must be an existing container in your Azure Blob Storage account. |
Output
The output is a JSON array containing the results of the delete operation for each input item processed. Each element corresponds to the response from the Azure SDK's container deletion method. Typically, this will include metadata about the deletion operation such as HTTP status or confirmation of success.
No binary data is output by this operation.
Dependencies
- Requires an Azure Storage API credential configured in n8n that provides a valid connection string to access the Azure Blob Storage account.
- Uses the official
@azure/storage-blob
Node.js SDK internally to perform operations. - No additional environment variables are required beyond the configured credentials.
Troubleshooting
- Container Not Found: If the specified container does not exist, the Azure SDK will throw an error. Ensure the container name is correct and exists in your storage account.
- Authentication Errors: If the connection string credential is missing, invalid, or lacks permissions, authentication errors will occur. Verify the API key or connection string is correctly set up in n8n credentials.
- Permission Issues: Deleting a container requires appropriate permissions on the Azure Storage account. Confirm that the API key has delete rights.
- Empty Container Name: Since the container name is required, leaving it empty will cause validation errors before execution.