Post nightly travel news to X with Google News, OpenAI, and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on a schedule (cron 0 30 17 * * *). Along the way it connects Google Sheets, OpenAI and X (Formerly Twitter).
How it runs
Trigger: On a schedule (cron 0 30 17 * * *).
- 投稿済み一覧を取得(夜) (Google Sheets): uses Google Sheets
- Google News RSS取得(旅行) (RSS Read): reads an RSS feed
- 直近12hフィルタ+スコアリング (Code): runs custom JavaScript code
- 新着のみフィルタ(Sheets基準・夜) (Code): runs custom JavaScript code
- 上位2件に絞る(夜) (Code): runs custom JavaScript code
- OpenAI: uses OpenAI
- 投稿文組み立て(夜) (Code): runs custom JavaScript code
- X(Twitter)に投稿(夜) (X (Formerly Twitter)): uses X (Formerly Twitter)
- 投稿済みとしてSheetsに追記(夜) (Google Sheets): append
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other X (Twitter) + OpenAI templates (67) · Other X (Twitter) + Google Sheets templates (50)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - RSS Read
n8n-nodes-base.rssFeedRead - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - X (Formerly Twitter)
n8n-nodes-base.twitter
From the author
Quick overview This workflow runs daily at 17:30 (JST) to pull travel-related headlines from Google News RSS, filters and scores recent articles, generates consumer-friendly X (Twitter) post text with OpenAI, posts the top items to X, and logs posted articles…