Zufällige Hundebilder über Webhook abrufen
Dies ist ein Other-Bereich Automatisierungsworkflow mit 6 Nodes. Hauptsächlich werden Webhook, HttpRequest, RespondToWebhook und andere Nodes verwendet. Zufällige Hundebilder über die Dog CEO API Webhook abrufen
- •HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Verwendete Nodes (6)
Kategorie
{
"id": "nRx93htY4oXoKnTw",
"meta": {
"instanceId": "1777696fb9fddfee653e70940936c2b1e28ba1f1bde53b7182fbd6eb01988706"
},
"name": "Random Dog Image via Webhook",
"tags": [],
"nodes": [
{
"id": "a50f8603-069f-432a-8616-7dfb65be8ff6",
"name": "Hinweis für 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": "Hinweis für Hundebild abrufen",
"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": "Hinweis für Webhook Antwort",
"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": "Zufälliges Hundebild abrufen",
"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": "Webhook auslösen",
"type": "n8n-nodes-base.webhook",
"position": [
800,
640
],
"webhookId": "fc960ca2-4564-44e7-b74d-fe9c94be242d-unique-id",
"parameters": {
"path": "get-dog-image",
"options": {},
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "3a739102-4c56-4125-949c-a54775073a64",
"name": "Mit Bild-URL antworten",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1500,
640
],
"parameters": {
"options": {},
"respondWith": "allIncomingItems"
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "cbc2c313-a506-40d9-b17c-60309e502770",
"connections": {
"76cf0099-b4e9-4446-a355-9fa85b72365d": {
"main": [
[
{
"node": "ab0bce0f-9d7e-4add-a113-33cf6631e906",
"type": "main",
"index": 0
}
]
]
},
"ab0bce0f-9d7e-4add-a113-33cf6631e906": {
"main": [
[
{
"node": "3a739102-4c56-4125-949c-a54775073a64",
"type": "main",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Sonstiges
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
ist00dent
@ist00dentI’m a dedicated automation engineer passionate about no-code and low-code solutions. I design and implement robust n8n workflows—integrating APIs, databases, and messaging—to eliminate manual tasks and accelerate delivery. Leveraging Python and C#, I build scalable, adaptable automations that empower teams to focus on high-value work.
Diesen Workflow teilen