Skip to main content

Generate and store AI images with DALL-E and Azure Blob Storage

Workflow preview

Workflow preview
100%
Generate and store AI images with DALL-E and Azure Blob Storage preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Beginner’s Tutorial: Manage Azure Storage Account Container & Blob with n8n [![Watch the video](https://wisestackai.s3.ap southeast 1.amazonaws.com/Modern+Top+10+Shocking+Moments+Youtube+Thumbnail....

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.openai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.azurestorage

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Trung Tran.

Original n8n.io source

1.1 Workflow description

Title
Generate and store AI images with DALL-E and Azure Blob Storage
Workflow name
Generate and store AI images with DALL-E and Azure Blob Storage

Beginner’s Tutorial: Manage Azure Storage Account Container & Blob with n8n

> This beginner-friendly n8n workflow shows you how to generate AI images using OpenAI, store them in Azure Blob Storage, and manage blob containers, all with zero code.

👤 Who’s it for

This workflow is perfect for:

  • Beginners learning Azure + OpenAI integration
  • No-code developers experimenting with image generation
  • Cloud learners who want hands-on Blob Storage use cases
  • Anyone who wants to automate storing AI-generated content in the cloud

⚙️ How it works / What it does

  1. 🖱️ Trigger the workflow manually using the Execute Workflow node.
  2. ✏️ Use the Edit Fields node to input:
    • containerName (e.g., demo-images)
    • imageIdea (e.g., "a robot holding a coffee cup")
  3. 📦 Create a new Azure Blob container (Create container).
  4. 🤖 Use an OpenAI-powered Prompt Generation Agent to craft the perfect image prompt.
  5. 🎨 Generate an image using OpenAI’s DALL·E model.
  6. ☁️ Upload the generated image to Azure Blob Storage (Create Blob).
  7. 📂 List blobs in the container (Get many blobs).
  8. 🧹 Delete any blob as needed (Delete Blob).
  9. (Optional) 🗑️ Remove the entire container (Delete container).

🔧 How to set up

  1. 🧠 Set up OpenAI

    • Create an OpenAI account and get your API key.
    • In n8n, go to Credentials → OpenAI and paste your key.
  2. 🪣 Set up Azure Blob Storage

    • Log in to your Azure Portal.
    • Create a Storage Account (e.g., mystorageaccount).
    • Go to Access Keys tab and copy:
      • Storage Account Name
      • Key1
    • In n8n, create a new Azure Blob Storage Credential using:
      • Account Name = your storage account name
      • Access Key = key1 value

    > 📝 This demo uses Access Key authentication. You can also configure Shared Access Signatures (SAS) or OAuth in production setups.

  3. Run the Workflow

    • Enter your image idea and container name.
    • Click “Execute Workflow” to test it.

📋 Requirements

Requirement Description
Azure Storage Account With container-level read/write access
OpenAI API Key For image and prompt generation
n8n Version v1.0+ recommended
Image Credits OpenAI charges tokens for DALL·E image creation

🛠️ How to customize the workflow

🧠 Adjust Prompt Generation

Update the Prompt Agent to include:

  • Specific style (3D, anime, cyberpunk)
  • Brand elements
  • Multiple language options

📁 Organize by Date/User

Modify the containerName to auto-include:

  • Date (e.g., images-2025-08-20)
  • Username or session ID

📤 Send Image Output

  • Add Slack, Telegram, or Email nodes to deliver the image
  • Create public links using Azure’s blob permissions

🔁 Cleanup Logic

  • Auto-delete blobs after X days
  • Add versioning or backup logic

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - Generate an image

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 3 - Prompt Generation Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 4 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 5 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Create container

Type / Role
n8n-nodes-base.azureStorage - azureStorage
Config choices
Version 1

Block 15 - Get many container

Type / Role
n8n-nodes-base.azureStorage - azureStorage
Config choices
Version 1

Block 16 - Delete container

Type / Role
n8n-nodes-base.azureStorage - azureStorage
Config choices
Version 1

Block 17 - Delete Blob

Type / Role
n8n-nodes-base.azureStorage - azureStorage
Config choices
Version 1

Block 18 - Create Blob

Type / Role
n8n-nodes-base.azureStorage - azureStorage
Config choices
Version 1

Block 19 - Get many blobs

Type / Role
n8n-nodes-base.azureStorage - azureStorage
Config choices
Version 1

Block 20 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate and store AI images with DALL-E and Azure Blob Storage
Complexity advanced
Nodes 21
Categories Content Creation, Multimodal AI
Author Trung Tran
Published 20 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7648/7648.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate and store AI images with DALL-E and Azure Blob Storage do?

Beginner’s Tutorial: Manage Azure Storage Account Container & Blob with n8n [![Watch the video](https://wisestackai.s3.ap southeast 1.amazonaws.com/Modern+Top+10+Shocking+Moments+Youtube+Thumbnail....

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.