Templates / Track Japanese law amendments with the e-Gov Law API, Claude and Google Sheets

Track Japanese law amendments with the e-Gov Law API, Claude and Google Sheets

Ready for 3.0

by 久保田 卓磨 ✓ · 1 views · created 2026-10-13 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 25 nodes and runs on a schedule (every day at 08:00) (plus 2 other triggers). Along the way it connects Google Sheets, Anthropic and Slack.

How it runs

Trigger: On a schedule (every day at 08:00) (plus 2 other triggers).

  1. Config (Edit Fields (Set)): sets 4 fields: watched_laws, output_language, max_articles…
  2. Demo mode (Edit Fields (Set)): sets 1 field: demo
  3. Spreadsheet ID (Edit Fields (Set)): sets 1 field: spreadsheet_id
  4. Read Watch tab (Google Sheets): read (sheet)
  5. Add the Watch and Changes tabs (HTTP Request): calls an HTTP API (POST)
  6. Split laws (Code): runs custom JavaScript code
  7. Write the header rows (HTTP Request): calls an HTTP API (POST)
  8. Get revisions (HTTP Request): calls an HTTP API (GET)
  9. Decide (Code): runs custom JavaScript code
  10. Two versions to compare? (If): checks a condition and branches into true / false

…plus 12 more steps. See the full node list below.

Services it uses

Google SheetsAnthropicSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview This workflow checks selected Japanese laws daily via the e-Gov Law API, compares the latest revision to the last watched revision, uses Anthropic Claude to explain article-level changes, logs results to Google Sheets, and posts a per-law…

Excerpt from 久保田 卓磨's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.