AutomationFlowsWeb Scraping › Serve Inspirational Quotes On-demand via Webhook Using Zenquotes API

Serve Inspirational Quotes On-demand via Webhook Using Zenquotes API

Byist00dent @ist00dent on n8n.io

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…

Webhook trigger★★★☆☆ complexity9 nodesHTTP Request
Web Scraping Trigger: Webhook Nodes: 9 Complexity: ★★★☆☆ Added:

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

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
{
  "id": "VQKwOBOL659w93wt",
  "name": "Serve Inspirational Quotes On-Demand via Webhook using ZenQuotes API",
  "tags": [
    {
      "id": "F1KjxL3SjfvVqZqo",
      "name": "training-n8n",
      "createdAt": "2025-04-29T10:40:13.332Z",
      "updatedAt": "2025-04-29T10:40:13.332Z"
    }
  ],
  "nodes": [
    {
      "id": "88e43bad-07dc-4742-b3c6-fe70059d209f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -240
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 200,
        "content": "## Beginner friendly workflow on how to work with API and format the data into your desire output"
      },
      "typeVersion": 1
    },
    {
      "id": "65d7b23d-b919-4dc3-b16e-d60565d5cda5",
      "name": "Get Random Quote from ZenQuotes",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        320,
        80
      ],
      "parameters": {
        "url": "https://zenquotes.io/api/random",
        "options": {},
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "count",
              "value": "5"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "c5ad35dc-62b6-488f-a501-d834e538dbf9",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        80
      ],
      "parameters": {
        "path": "c376e35b-80f3-4086-abec-d2c5a4501fb3",
        "options": {}
      },
      "typeVersion": 2
    },
    {
      "id": "3a5da469-919c-411e-a5e9-a95a2178b01a",
      "name": "Send response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        940,
        80
      ],
      "parameters": {
        "options": {},
        "respondWith": "json",
        "responseBody": "{\n  \"quote\": \"{{ $json.quotes }}\"\n}"
      },
      "typeVersion": 1.1
    },
    {
      "id": "cc390845-9e73-4761-92aa-5bbbff906e77",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        40
      ],
      "parameters": {
        "width": 260,
        "height": 180,
        "content": "### Receives incoming requests"
      },
      "typeVersion": 1
    },
    {
      "id": "4996be52-267c-4900-87c1-3d6654ef0938",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        40
      ],
      "parameters": {
        "color": 2,
        "width": 300,
        "height": 220,
        "content": "### Fetches random quotes"
      },
      "typeVersion": 1
    },
    {
      "id": "94532c78-d55e-4672-b984-385cd2e04b5c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        40
      ],
      "parameters": {
        "color": 3,
        "width": 260,
        "height": 200,
        "content": "### Formats into \u2018quote \u2013 author\u2019 strings"
      },
      "typeVersion": 1
    },
    {
      "id": "83a09872-7da8-47ed-8b3d-e81b52d75050",
      "name": "Format data",
      "type": "n8n-nodes-base.set",
      "position": [
        640,
        80
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "6b646b1c-914b-437e-ba5e-5a1fbfebbde9",
              "name": "quotes",
              "type": "string",
              "value": "=\"{{ $json.q }}\" - {{ $json.a }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "978227eb-2963-4dda-8341-fe75c2376506",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        40
      ],
      "parameters": {
        "width": 260,
        "height": 200,
        "content": "### Sends back JSON array"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "79051d11-19e3-4326-bf6e-0ac0f81ffc43",
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Get Random Quote from ZenQuotes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format data": {
      "main": [
        [
          {
            "node": "Send response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Random Quote from ZenQuotes": {
      "main": [
        [
          {
            "node": "Format data",
            "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 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…

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

More Web Scraping workflows → · Browse all categories →

Related workflows

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

Web Scraping

Community Node Disclaimer: This workflow uses KlickTipp community nodes.

Crypto, Custom, N8N Nodes Klicktipp +1
Web Scraping

Automatically sync Fizzy cards to Basecamp todos in real-time. When cards are created, assigned, completed, or reopened in Fizzy, the changes sync instantly to your Basecamp project. Card tags determi

HTTP Request, N8N Nodes Basecamp
Web Scraping

This workflow automates accounts payable: upload a PDF invoice, let Claude AI extract the key fields, and automatically create a vendor bill (incoming invoice) in Odoo 18.

HTTP Request
Web Scraping

This n8n workflow automates airline customer support by classifying travel-related questions, fetching relevant information, generating AI answers, and delivering structured responses to users. It ens

HTTP Request
Web Scraping

This n8n template lets you automatically pull market data for the cryptocurrencies from CoinGecko every hour, calculate custom volatility and market-health metrics, classify each coin’s price action i

HTTP Request