Serve Inspirational Quotes On-Demand via Webhook using ZenQuotes API โ n8n ์ํฌํ๋ก
๊ฐ์
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?coun
์ฌ์ฉ๋ ๋ ธ๋
์ํฌํ๋ก ๋ฏธ๋ฆฌ๋ณด๊ธฐ
์๋ ์๋ฆฌ
- 1
ํธ๋ฆฌ๊ฑฐ
์ํฌํ๋ก๋ webhook ํธ๋ฆฌ๊ฑฐ๋ก ์์ํฉ๋๋ค.
- 2
์ฒ๋ฆฌ
๋ฐ์ดํฐ๊ฐ 4๊ฐ์ ๋ ธ๋๋ฅผ ํตํด ํ๋ฆ ๋๋ค, connecting httprequest, respondtowebhook, set.
- 3
์ถ๋ ฅ
์ํฌํ๋ก๊ฐ ์๋ํ๋ฅผ ์๋ฃํ๊ณ ๊ตฌ์ฑ๋ ๋์์ ๊ฒฐ๊ณผ๋ฅผ ์ ๋ฌํฉ๋๋ค.
๋ ธ๋ ์ธ๋ถ ์ ๋ณด (4)
HTTP Request
httpRequest
์ด ์ํฌํ๋ก ๊ฐ์ ธ์ค๋ ๋ฐฉ๋ฒ
- 1์ค๋ฅธ์ชฝ์ JSON ๋ค์ด๋ก๋ ๋ฒํผ์ ํด๋ฆญํ์ฌ ์ํฌํ๋ก ํ์ผ์ ์ ์ฅํฉ๋๋ค.
- 2n8n ์ธ์คํด์ค๋ฅผ ์ด๊ณ ์ํฌํ๋ก โ ์๋ก ๋ง๋ค๊ธฐ โ ํ์ผ์์ ๊ฐ์ ธ์ค๊ธฐ๋ก ์ด๋ํฉ๋๋ค.
- 3๋ค์ด๋ก๋๋
serve-inspirational-quotes-on-demand-via-webhook-using-zenquotes-apiํ์ผ์ ์ ํํ๊ณ ๊ฐ์ ธ์ค๊ธฐ๋ฅผ ํด๋ฆญํฉ๋๋ค. - 4๊ฐ ์๋น์ค ๋ ธ๋์ ๋ํ ์๊ฒฉ ์ฆ๋ช ๏ผAPI ํค, OAuth ๋ฑ๏ผ์ ์ค์ ํฉ๋๋ค.
- 5์ํฌํ๋ก ํ ์คํธ๋ฅผ ํด๋ฆญํ์ฌ ๋ชจ๋ ๊ฒ์ด ์๋ํ๋์ง ํ์ธํ ํ ํ์ฑํํฉ๋๋ค.
๋๋ n8n โ JSON์์ ๊ฐ์ ธ์ค๊ธฐ์ ์ง์ ๋ถ์ฌ๋ฃ๊ธฐ:
ํตํฉ
์ด ์ํฌํ๋ก ๊ฐ์ ธ์ค๊ธฐ
ํ ๋ฒ์ ํด๋ฆญ์ผ๋ก ๋ค์ด๋ก๋ ๋ฐ ๊ฐ์ ธ์ค๊ธฐ
JSON ๋ค์ด๋ก๋n8n.io์์ ๋ณด๊ธฐ์ ์์
ist00dent
@ist00dent
ํ๊ทธ
n8n์ ์ฒ์ ์ฌ์ฉํ์๋์?
n8n์ ๋ฌด๋ฃ ์คํ์์ค ์ํฌํ๋ก ์๋ํ ๋๊ตฌ์ ๋๋ค. ์์ฒด ํธ์คํ ํ๊ฑฐ๋ ํด๋ผ์ฐ๋ ๋ฒ์ ์ ์ฌ์ฉํ์ธ์.
n8n ๋ฌด๋ฃ๋ก ์์ํ๊ธฐ โ