workflows.fit
Back to n8n workflows
n8n templateFreeBy ist00dent

Fetch random dog images from Dog CEO API via webhook

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 web...

DevelopmentCore NodesUtilitySticky NoteHttp RequestWebhookRespond To Webhook
Loading interactive preview...

Template notes

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.

---

🔧 How it works - Trigger Webhook: This node acts as the entry point for the workflow. It listens for any incoming POST request. No specific data is required in the webhook body, as the workflow fetches a random image. - Fetch Random Dog Image: This node makes an HTTP GET request to https://dog.ceo/api/breeds/image/random. The API responds with a JSON object containing the URL of a random dog image. - Respond with Image URL: This node sends the URL of the random dog image back to the service that initiated the webhook.

---

👤 Who is it for? This workflow is ideal for:

- Developers: Quickly integrate random dog images into web applications, bots, or prototypes. - Content Creators: Get fresh, random dog photos for social media, blogs, or presentations. - Learning n8n: A straightforward example of using a webhook to trigger an API call and return data.

Anyone who loves dogs!

---