AutomationFlowsAI & RAG › Programmatically Retrieve Embeddable Getty Images

Programmatically Retrieve Embeddable Getty Images

ByLudwig @ludwig on n8n.io

This workflow empowers marketers and content creators to seamlessly include Getty Images in their posts, provided they adhere to Getty Images' guidelines: Enter a search phrase and select criteria for Getty Images' editorial collection. Retrieve the latest images that match your…

Event trigger★★★★☆ complexity19 nodesHTTP RequestStop And Error
AI & RAG Trigger: Event Nodes: 19 Complexity: ★★★★☆ Added:

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

This workflow follows the HTTP Request → Stopanderror recipe pattern — see all workflows that pair these two integrations.

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
{
  "nodes": [
    {
      "id": "f4ed726d-21cd-48b3-a4ec-17b57238be44",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        404
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5bf1311a-1180-46ae-9a9e-3e1b20cac4e5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a98fd7b8-96dd-42b4-92e0-cf3b2b04bdd0",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        658,
        402
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "af5d60ee-f8cb-4efa-8bac-bc6fdab15fe8",
      "name": "Parse results page for first image",
      "type": "n8n-nodes-base.html",
      "position": [
        140,
        620
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "4365311f-2c04-4cbf-926b-9bd8a4e6dcab",
      "name": "Continue if a result exists",
      "type": "n8n-nodes-base.if",
      "position": [
        340,
        620
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "fdbd15ac-2e38-40ff-9e1e-678e79874b49",
      "name": "Extract the Getty image_id from url",
      "type": "n8n-nodes-base.set",
      "notes": "getty_image_id",
      "position": [
        700,
        720
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "9173f29a-6986-45e4-b4b7-1e8fd9d99e31",
      "name": "Get photo details",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        700,
        480
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3544930a-c623-421b-8815-455d418f8d60",
      "name": "GET img src",
      "type": "n8n-nodes-base.html",
      "position": [
        900,
        480
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "18067de2-1ee1-4c0e-8fc4-8bd430c4d5bb",
      "name": "Get Embeddable iframeSnippet",
      "type": "n8n-nodes-base.set",
      "position": [
        1120,
        720
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "59e887a1-ba83-4ae3-a0af-95d0aa844b18",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "eb1bf559-435f-4ed2-af70-813e779ff6c0",
      "name": "Request Getty Images Embed code",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "https://embed.gettyimages.com/preview/",
      "position": [
        900,
        720
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 4.2
    },
    {
      "id": "f9f02bab-6f9a-4dd1-be90-c1e6c1dde662",
      "name": "Raise error when no results",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        520,
        800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8519d771-d78b-4a90-91da-ab5ef3d71720",
      "name": "Replace with CMS node",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1320,
        720
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cfa22c39-ad39-4324-8fe6-f24bdb78824f",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "38050f94-c884-4bcb-b55a-ce12cb9628c2",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        658,
        673
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dff414b9-3945-406d-a247-76fa4d90e327",
      "name": "Getty Images Editorial Search",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -60,
        620
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 4.2
    },
    {
      "id": "df05b448-4901-4713-99fb-2923970f8703",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -460,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "94c6fc16-a97d-4e1e-932c-2c5009a9e474",
      "name": "Replaceable input",
      "type": "n8n-nodes-base.set",
      "position": [
        -260,
        620
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2e146f9e-cb67-457d-844e-e958cff8d8ae",
      "name": "Preview image (view binary)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1120,
        480
      ],
      "parameters": {},
      "typeVersion": 4.2
    }
  ],
  "connections": {
    "GET img src": {
      "main": [
        [
          {
            "node": "Preview image (view binary)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get photo details": {
      "main": [
        [
          {
            "node": "GET img src",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Replaceable input": {
      "main": [
        [
          {
            "node": "Getty Images Editorial Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Continue if a result exists": {
      "main": [
        [
          {
            "node": "Extract the Getty image_id from url",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get photo details",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Raise error when no results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Embeddable iframeSnippet": {
      "main": [
        [
          {
            "node": "Replace with CMS node",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Getty Images Editorial Search": {
      "main": [
        [
          {
            "node": "Parse results page for first image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Getty Images Embed code": {
      "main": [
        [
          {
            "node": "Get Embeddable iframeSnippet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "Replaceable input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse results page for first image": {
      "main": [
        [
          {
            "node": "Continue if a result exists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract the Getty image_id from url": {
      "main": [
        [
          {
            "node": "Request Getty Images Embed code",
            "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 workflow empowers marketers and content creators to seamlessly include Getty Images in their posts, provided they adhere to Getty Images' guidelines: Enter a search phrase and select criteria for Getty Images' editorial collection. Retrieve the latest images that match your…

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

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

The AI-Powered Cold Call Machine is a fully automated workflow designed to generate qualified leads from LinkedIn, evaluate them using AI-based scoring, identify key decision-makers, and generate pers

HTTP Request, Google Sheets, OpenAI +1
AI & RAG

This workflow helps you repurpose your YouTube videos across multiple social media platforms with zero manual effort. It’s designed for creators, businesses, and marketers who want to maximize reach w

HTTP Request, RSS Feed Read, Discord +4
AI & RAG

This workflow is designed for SEO professionals, digital agencies, content creators, and WordPress site owners who want to improve their search engine rankings automatically. It’s also perfect for cur

OpenAI, Google Sheets, XML +3
AI & RAG

[](https://drive.google.com/file/d/1Cl0KwgRgcuBPVdGgL-nqAcheyvfVXttD/view) Click on the image to see the Example output in google drive

HTTP Request, Stop And Error, OpenAI +3
AI & RAG

Automatically create and publish ready-to-post social media news updates — all powered by AI. This workflow turns any RSS feed into professional, branded posts, complete with visuals and captions.

HTTP Request, Stop And Error, Rss Feed Read Trigger +2