journal
← All logs

Day 2

Webhooks and APIs

What I Learned

  • HTTP webhooks push events to a URL you control; APIs are pull-based unless streaming.
  • Verify signatures (e.g. HMAC) when consuming third-party webhooks.
  • Idempotency keys help avoid duplicate side effects on retries.

What I Built

  • Extended the Day 1 flow with an HTTP Request node hitting a JSON placeholder API.
  • Stored responses in a simple Google Sheet via a manual export (no OAuth yet).

Problems I Faced

Occasional 429 Too Many Requests when testing too fast against the free API.

Solution / Fix

Added a Wait node (2s) and reduced loop iterations during development.

GitHub Repository

Tomorrow Plan

Experiment with authenticated APIs and environment variables in n8n.