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 D

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 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! --- π Data Structure When you trigger the webhook, you can send an empty POST request body. The workflow will return a JSON response similar to this (the message URL will vary): --- βοΈ Setup Instructions - Import Workflow: In your n8n editor, click "Import from JSON" and paste the provided workflow JSON. - Configure Webhook Path: - Double-click the Trigger Webhook node. - In the 'Path' field, set a unique and descriptive path (e.g., /get-dog-image). - Activate Workflow: Save and activate the workflow. --- π Tips - Download the Image: Instead of just returning the URL, you can download the image and then process it. Insert another HTTP Request node after Fetch Random Dog Image to download the image binary. - Set the HTTP Request node's 'Response Format' to 'Binary'. - Use the expression ={{ $json.message }} for the URL. - Save to Cloud Storage: After downloading the image (as described above), you can save it to various cloud storage services: - Google Drive: Add a Google Drive node. Connect it to the output of the image download node. Configure it to upload the binary data to a specific folder. - Amazon S3: Add an AWS S3 node. Configure it to upload the binary data, specifying your bucket and desired filename. - Dropbox: Use the Dropbox node to upload the image file. - Send as a Message: Share the dog image directly in a chat or email: - Slack/Discord/Telegram: Use the respective integration node to send the image URL or the downloaded image as an attachment. - Email: Attach the downloaded image to an email using an Email or Gmail node. - Display on a Web Page: If you're embedding this into a web application, you can simply use the returned URL in an
Download the workflow JSON file after purchase.
Open n8n β click the menu β Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.