Библиотека / Мониторинг, эксплуатация и инциденты
Мониторинг, эксплуатация и инциденты
Отслеживание поправок к японским законам с e-Gov API, Claude, Google Sheets и Slack
Ежедневно проверяет отслеживаемые законы через e-Gov Law API. Когда появляется новая редакция, сравнивает статьи, просит Claude объяснить изменения, проверяет цитаты в коде и записывает результаты в Google Sheets и Slack.
Что делает
## Law amendment watch (Japan, e-Gov Law API) Every day the workflow checks the laws on your list. When a new version exists, code compares the old and the new text article by article, Claude explains each changed article in plain words, and code checks the explanation (the quotes must be in the old or new text, the numbers must be in the article). The result goes to Google Sheets and Slack. No API key is needed for the law data. ### How it works 1. The Watch tab remembers the newest version of each law. The first run only records it ("now watching"). 2. A new version: both texts are fetched, and code lists added, removed and changed articles with the changed words (before → after). 3. Claude explains up to 10 articles. An explanation that fails a check is marked Needs review; the code diff is always shown. 4. Slack gets one message per law. Not legal advice: read the articles. ### Setup 1. Blank Google Sheet: paste its ID in Spreadsheet ID, run Run once (adds the Watch and Changes tabs), then select the sheet in the Google Sheets nodes. 2. Credentials: Google Sheets, Anthropic, Slack (pick a channel). 3. In Config, list law IDs (the code in the URL laws.e-gov.go.jp/law/...). Run Demo to see the latest amendment of each law, then publish. ### Customization Set the explanation language, the number of articles and the text length in Config.
Шаги
- Every day
- Demo: show the latest amendment
- Demo mode
- Config
- Read Watch tab
- Split laws
- Get revisions
- Decide
- Two versions to compare?
- Get old text
- Get new text
- Diff articles
- AI: Explain the changes
- Check explanation
Всего шагов: 25.
Похожие автоматизации
Автоматизация эл. почтыChase UK late invoice payments with Data Tables, GOV.UK and SMTP emailШагов: 21Мониторинг, эксплуатация и инцидентыWrite multilingual weather articles with Open-Meteo, Claude, and OpenAIШагов: 57Мониторинг, эксплуатация и инцидентыОтслеживание новостей Reuters по ключевым словам с ClaudeШагов: 9Мониторинг, эксплуатация и инцидентыУчёт расхода токенов и затрат ИИ-агентов в SheetsШагов: 13