{"product_id":"e-gov-law-api-watch-workflow-claude-google-sheets-slack","title":"e-Gov Law API Watch Workflow: Claude + Google Sheets + Slack","description":"\u003ch3\u003eWatch Japanese e-Gov Law changes automatically—daily, explained by Claude, logged to Google Sheets, and summarized in Slack\u003c\/h3\u003e\n\u003cp\u003eIf you manage compliance or legal monitoring, this \u003cstrong\u003ee-Gov Law API Watch n8n workflow\u003c\/strong\u003e keeps you informed: it checks selected Japanese laws every day, detects new revisions, generates an article-level diff, and uses \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e to produce clear before\/after explanations—then records everything in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e and posts per-law summaries to \u003cstrong\u003eSlack\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a schedule (or manually in demo mode):\u003c\/strong\u003e executes daily to compare law revisions; in demo mode, it can compare the two newest revisions.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a watch list from Google Sheets:\u003c\/strong\u003e reads the watch state from the spreadsheet’s \u003cstrong\u003e“Watch”\u003c\/strong\u003e tab and constructs a per-law list using the configured law IDs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches revision history via e-Gov Law API:\u003c\/strong\u003e determines whether to baseline (first run), compare revisions (new change), or flag an \u003cstrong\u003einvalid law ID\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eComputes an article-by-article diff:\u003c\/strong\u003e for each changed law, it fetches old and new texts and computes an article-level diff (including supplementary provisions).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExplains changes with Claude:\u003c\/strong\u003e sends changed excerpts to Claude to generate a \u003cstrong\u003eJSON explanation\u003c\/strong\u003e including verbatim before\/after quotes, then validates the output against the diff.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs and notifies:\u003c\/strong\u003e writes detailed rows to the \u003cstrong\u003e“Changes”\u003c\/strong\u003e tab, posts \u003cstrong\u003eone Slack summary message per law\u003c\/strong\u003e, and updates the \u003cstrong\u003e“Watch”\u003c\/strong\u003e tab with the latest revision for next run comparisons.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCompliance teams tracking updates to specific Japanese laws.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators needing automated legal change monitoring with audit-friendly logs.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers building an \u003cstrong\u003ee-Gov Law API\u003c\/strong\u003e workflow with Slack notifications and spreadsheet reporting.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/Nodes:\u003c\/strong\u003e HTTP Request (e-Gov Law API), Google Sheets, Slack\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow logic:\u003c\/strong\u003e if, set, code, sticky note\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequired setup:\u003c\/strong\u003e create the spreadsheet, then run the “set up the sheet” branch to generate the \u003cstrong\u003eWatch\u003c\/strong\u003e and \u003cstrong\u003eChanges\u003c\/strong\u003e tabs and headers.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46217906290867,"sku":"N8N-20856","price":44.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/gKKMnGdxg1FPbpttp5Cl7_zj6kEv4h.png?v=1791882367","url":"https:\/\/buyflowscripts.com\/products\/e-gov-law-api-watch-workflow-claude-google-sheets-slack","provider":"N8N Commerce","version":"1.0","type":"link"}