AutomationFlowsWeb Scraping › Fetch Random Dog Images From Dog Ceo API via Webhook

Fetch Random Dog Images From Dog Ceo API via Webhook

Byist00dent @ist00dent on n8n.io

This n8n template allows you to instantly fetch a random dog image from the Dog CEO API by simply sending a webhook request. It's a fun and simple way to integrate random dog photos into your projects, whether for websites, applications, or playful automations. Trigger Webhook:…

Webhook trigger★★☆☆☆ complexity6 nodesHTTP Request
Web Scraping Trigger: Webhook Nodes: 6 Complexity: ★★☆☆☆ Added:

This workflow corresponds to n8n.io template #4598 — we link there as the canonical source.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "nRx93htY4oXoKnTw",
  "name": "Random Dog Image via Webhook",
  "tags": [],
  "nodes": [
    {
      "id": "a50f8603-069f-432a-8616-7dfb65be8ff6",
      "name": "Note for Webhook Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        460
      ],
      "parameters": {
        "height": 320,
        "content": "This node listens for incoming POST requests. It acts as the trigger for the workflow. No specific data is needed in the webhook body for this workflow, as it fetches a random image."
      },
      "typeVersion": 1
    },
    {
      "id": "8c233238-3a56-40ac-bb24-a185c88edfb3",
      "name": "Note for Fetch Dog Image",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        460
      ],
      "parameters": {
        "color": 2,
        "width": 280,
        "height": 340,
        "content": "This node makes an HTTP GET request to the Dog CEO API (dog.ceo/api/breeds/image/random) to fetch a random dog image URL. The API typically returns a JSON object with a 'message' property containing the image URL."
      },
      "typeVersion": 1
    },
    {
      "id": "dc972e35-6c41-4507-a533-3d0c4f627182",
      "name": "Note for Webhook Response",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        460
      ],
      "parameters": {
        "color": 3,
        "width": 360,
        "height": 340,
        "content": "This node sends the response from the Dog CEO API (the image URL) back to the original caller of the webhook. You can insert other nodes before this to download the image, save it to cloud storage, or send it as part of a message."
      },
      "typeVersion": 1
    },
    {
      "id": "ab0bce0f-9d7e-4add-a113-33cf6631e906",
      "name": "Fetch Random Dog Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1140,
        640
      ],
      "parameters": {
        "url": "=https://dog.ceo/api/breeds/image/random",
        "method": "=GET",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "76cf0099-b4e9-4446-a355-9fa85b72365d",
      "name": "Trigger Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        800,
        640
      ],
      "parameters": {
        "path": "get-dog-image",
        "options": {},
        "responseMode": "responseNode"
      },
      "typeVersion": 2
    },
    {
      "id": "3a739102-4c56-4125-949c-a54775073a64",
      "name": "Respond with Image URL",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1500,
        640
      ],
      "parameters": {
        "options": {},
        "respondWith": "allIncomingItems"
      },
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "cbc2c313-a506-40d9-b17c-60309e502770",
  "connections": {
    "Trigger Webhook": {
      "main": [
        [
          {
            "node": "Fetch Random Dog Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Random Dog Image": {
      "main": [
        [
          {
            "node": "Respond with Image URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This n8n template allows you to instantly fetch a random dog image from the Dog CEO API by simply sending a webhook request. It's a fun and simple way to integrate random dog photos into your projects, whether for websites, applications, or playful automations. Trigger Webhook:…

Source: https://n8n.io/workflows/4598/ — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

This template is designed for developers, businesses, and service providers who need to programmatically check Calendly availability. It's perfect for: Web developers building custom booking interface

HTTP Request
Web Scraping

Never lose a prospect to a missed call again. This workflow sends an automatic "sorry we missed you" SMS within seconds, follows up 2 hours later if there's no reply, and enrolls unresponsive contacts

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request