FM
FlowMarket
General Automation Intermediate ⚡ 9 n8n Nodes

Serve inspirational quotes on demand via webhook using ZenQuotes

This n8n template lets you instantly serve batches of inspirational quotes via a webhook using the free ZenQuotes API. It’s perfect for developers, content c...

🔌 Nodes & Integrations Used (1)

HTTP Request

📖 Implementation & Setup Guide

This n8n template lets you instantly serve batches of inspirational quotes via a webhook using the free ZenQuotes API. It’s perfect for developers, content creators, community managers, or educators who want to add dynamic, uplifting content to websites, chatbots, or internal tools—without writing custom backend code.

---

🔧 How it works - A Webhook node listens for incoming HTTP requests on your chosen path. - Get Random Quote from ZenQuotes sends an HTTP Request to https://zenquotes.io/api/random?count=5 and retrieves five random quotes. - Format data uses a Set node to combine each quote (q) and author (a) into a single string: "“quote” – author". - Send response returns a JSON array of objects { quote, author } back to the caller.

---

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

  • Developers building motivational Slack or Discord bots.
  • Website owners adding on-demand quote widgets.
  • Educators or trainers sharing daily inspiration via webhooks.
  • Anyone learning webhook handling and API integration in n8n.

---

🗂️ Response Structure Your webhook response will be a JSON array, for example:

```json [ { "quote": "Life is what happens when you're busy making other plans.", "author": "John Lennon" }, { "quote": "Be yourself; everyone else is already taken.", "author": "Oscar Wilde" } ] ```

---

⚙️ Setup Instructions - Import the workflow JSON into your n8n instance. - In the Webhook node, set your desired path (e.g., /inspire). - (Optional) Change the count parameter in the HTTP Request node to fetch more or fewer quotes. - Activate the workflow. - Test by sending an HTTP GET or POST to https://<your-n8n-domain>/webhook/<path>.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Serve_inspirational_quotes_on_demand_via_webhook_using_ZenQuotes.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation →