Skip to main content

Get any image: standard fetch with BrightData Web Unblocker failover

Workflow preview

Workflow preview
100%
Get any image: standard fetch with BrightData Web Unblocker failover preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow is your ultimate solution for reliable image retrieval from any web source , including those heavily protected. It operates with a smart, cost effective strategy: it first attempts to...

Best for

  • Engineering automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Get any image: standard fetch with BrightData Web Unblocker failover
Workflow name
Get any image: standard fetch with BrightData Web Unblocker failover

This workflow is your ultimate solution for reliable image retrieval from any web source, including those heavily protected.

It operates with a smart, cost-effective strategy: it first attempts to fetch the image using a Classic Image Getter node (a standard, free HTTP request). In approximately 80% of cases, this method will be sufficient.

However, for the remaining instances where you encounter IP blocking, CAPTCHAs, rate limiting, or other advanced anti-bot measures, the workflow seamlessly switches to a robust BrightData Web Unblocker service as a fallback. It leverages BrightData’s Image Unblocker to retrieve these blocked images.

This template is indispensable for anyone needing consistent and complete access to web images, ensuring you get the data you need without unnecessary overhead.


Why Use This Image Scrapper Workflow?

  • Maximum Success Rate: Retrieves images even from the most challenging or protected websites.
  • Cost-Optimized Strategy: Prioritizes free, standard HTTP requests, only incurring costs when advanced unblocking is truly necessary.
  • Automated Resilience: Intelligently handles failed direct attempts by automatically engaging the BrightData failover via the "Unlock Image" node.
  • Versatile Image Scraping: Perfect for market research, content aggregation, or data enrichment that demands reliable image access.

How It Works

  1. When clicking ‘Execute workflow’: The workflow is initiated manually, allowing for easy testing and integration into larger processes.
  2. image: A Set node defines the target image URL. This can be easily configured to accept dynamic URLs from preceding nodes.
  3. Classic Image Getter: This HTTP Request node performs a direct image download. It's the primary, free, and efficient method for readily accessible images.
  4. Unlock Image (BrightData Web Unblocker): Configured as an error handler and failover, this HTTP Request node activates only if the "Classic Image Getter" encounters an error. It then routes the image URL through BrightData's Web Unblocker, designed to bypass advanced protective measures and successfully retrieve the image data.

🔑 Prerequisites

To enable the advanced capabilities of this workflow, specifically the BrightData Web Unblocker functionality, you will need a BrightData account and a correctly configured Web Unblocker zone.

Setting Up Your BrightData Web Unblocker:

  1. BrightData Account: Ensure you have an active account with BrightData. If you don't, you can sign up on their website.
  2. Create a Web Unblocker Zone:
    • Log in to your BrightData dashboard.
    • Navigate to the "Proxy & Scraping Infrastructure" section, then "Zones."
    • Click "Add new zone."
    • Select "Web Unblocker" as the product type.
    • Give your zone a clear name (e.g., n8n-image-unlocker).
    • Confirm the creation of the zone.
  3. Retrieve API Key:
    • Once your Web Unblocker zone is active, go to its settings.
    • Locate your API Key (often referred to as "password" for proxy access) within the "Access Parameters" or "Credentials" section.
  4. Configure in n8n:
    • In the Unlock Image HTTP Request node within this workflow, update the Authorization header. Replace "Bearer yourkey" with "Bearer YOUR_BRIGHTDATA_API_KEY".
    • Important: For production workflows, it's highly recommended to use n8n credentials to store your BrightData API key securely, rather than hardcoding it directly in the node. This template uses a placeholder for demonstration purposes.
    • Crucially, ensure that the zone parameter in the Unlock Image node matches the exact Zone ID you created in your BrightData account. You will need to replace the placeholder web_unlocker with your actual BrightData zone ID.

Phil | Inforeole | Linkedin

🇫🇷 Contactez nous pour automatiser vos processus

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 - When clicking ‘Execute workflow’

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

Block 2 - image

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

Block 3 - Classic Image Getter

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Unlock Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Sticky Note

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

3. Summary Table

Workflow Get any image: standard fetch with BrightData Web Unblocker failover
Complexity intermediate
Nodes 5
Categories Engineering
Author phil
Published 12 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5905/5905.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 Get any image: standard fetch with BrightData Web Unblocker failover do?

This workflow is your ultimate solution for reliable image retrieval from any web source , including those heavily protected. It operates with a smart, cost effective strategy: it first attempts to...

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 Engineering use case.