Quick Overview
This workflow runs daily, fetches the latest n8n GitHub releases, and uses Anthropic Claude to decide which ones are newsworthy and turn them into Japanese WordPress draft posts. It tracks processed and skipped releases in Google Sheets and optionally sends a LINE broadcast with an edit link.
How it works
- Runs every day at 8:00 (Asia/Tokyo) and loads the blog configuration values used for writing and linking.
- Reads previously processed release tag names from Google Sheets and fetches the 10 most recent releases from the n8n GitHub repository.
- Filters out already-processed, non-version tags, drafts, and releases without a “Features” section, then keeps the three newest candidates.
- Sends each candidate’s extracted feature notes to Anthropic Claude to judge whether it is worth writing about and parses Claude’s JSON decision.
- If the release is not worth an article, appends it to Google Sheets as skipped with the reason so it is not rechecked.
- If the release is worth an article, asks Anthropic Claude to generate a Japanese HTML blog draft, creates a WordPress draft post in the configured category, and logs the post ID to Google Sheets.
- Optionally sends a LINE broadcast message containing the new draft title and a direct WordPress admin edit link.
Setup
- Add credentials for GitHub, Google Sheets (OAuth2), WordPress, and an Anthropic API key (HTTP Header Auth) used by both Claude HTTP requests.
- Create and configure a Google Sheets document (or update the document ID/sheet) to store processed and skipped releases with columns like tag_name, title, post_id, and postedAt.
- Update the GitHub releases API URL if you want to curate releases from a different repository.
- Open “Config (edit me)” and set your blog name, persona, WordPress site URL, and the target WordPress category ID.
- (Optional) Add a LINE Messaging API channel access token (HTTP Header Auth) and ensure broadcasting is enabled, or remove the LINE step if you do not need notifications.