Gemini AIでGitHubの人気リポジトリから週次のチュートリアルを自動生成し、WordPressに投稿
中級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、9個のノードを含みます。主にCode, SplitOut, EmailSend, Wordpress, HttpRequestなどのノードを使用。 Gemini AI を使って GitHub 人気リポジトリから週次チュートリアルを自動生成し WordPress に投稿
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
},
"nodes": [
{
"id": "a821ae55-bb91-4a7b-9962-2cbe3c83ead9",
"name": "付箋ノート",
"type": "n8n-nodes-base.stickyNote",
"position": [
-128,
-208
],
"parameters": {
"width": 380,
"height": 440,
"content": "## Weekly Tutorial Generator\n\n**What it does:**\n\n**Author: David Olusola**\n- Scans GitHub for trending repos every Monday\n- Creates comprehensive tutorials based on hot projects\n- Generates step-by-step guides with code examples\n- Saves as drafts + emails you notifications\n\n**Setup Required:**\n1. Configure WordPress credentials\n2. Set up email credentials for notifications\n3. Optionally add GitHub token for higher API limits\n\n**Perfect for:**\n- Developer blogs\n- Programming education sites\n- Staying current with trending technologies\n- Building tutorial content library"
},
"typeVersion": 1,
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Tutorial Generator",
"type": "ai_languageModel",
"index": 0
}
]
]
}
},
{
"id": "8c8478b1-b8dd-486e-890b-06fc4653832b",
"name": "毎週月曜10時",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
16,
80
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "0 10 * * 1"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "0fa5dbc6-78a8-4bf7-858a-b1789f2933ff",
"name": "トレンドリポジトリ取得",
"type": "n8n-nodes-base.httpRequest",
"position": [
240,
80
],
"parameters": {
"url": "https://api.github.com/search/repositories",
"options": {}
},
"typeVersion": 4.1
},
{
"id": "24c45e82-449d-42c7-a9b3-23a3771890ca",
"name": "AIチュートリアル生成器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
688,
80
],
"parameters": {
"options": {
"systemMessage": "You are a technical tutorial writer. Based on the provided GitHub repository information, create a comprehensive tutorial that teaches developers how to build something similar or use this technology. Include: 1) Introduction and overview, 2) Prerequisites, 3) Step-by-step implementation guide with code examples, 4) Best practices, 5) Common pitfalls to avoid, 6) Next steps and resources. Make it beginner-friendly but technically accurate. Format with proper markdown including code blocks."
}
},
"typeVersion": 2.2
},
{
"id": "428f39bc-ee5a-4a98-b15d-cb432eb67261",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
768,
304
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "wNw45YZvXXpeocJ2",
"name": "TST API"
}
},
"typeVersion": 1
},
{
"id": "f7e650f7-ec34-4aa3-b534-8232dff02270",
"name": "チュートリアル投稿作成",
"type": "n8n-nodes-base.wordpress",
"position": [
1264,
80
],
"parameters": {
"title": "=Tutorial: Building with {{$json.name}} - {{$json.language}} Guide",
"additionalFields": {
"tags": [
"tutorial",
"{{$json.language}}",
"development",
"guide",
"{{$json.name}}"
],
"status": "draft",
"content": "",
"categories": [
"Tutorials",
"Programming",
"{{$json.language}}"
]
}
},
"typeVersion": 1
},
{
"id": "3b9f51a2-c4c0-49f5-b12c-161ec09754f7",
"name": "管理者通知",
"type": "n8n-nodes-base.emailSend",
"position": [
1488,
80
],
"webhookId": "721daf9a-7dd8-4cbb-a480-19c08487d65a",
"parameters": {
"options": {},
"subject": "=New Tutorial Draft Created: {{$json.name}}"
},
"credentials": {
"smtp": {
"id": "0xVva6dyyi5SuxBe",
"name": "SMTP account"
}
},
"typeVersion": 2
},
{
"id": "b7eb9512-221d-4347-83cb-ed37e9342672",
"name": "リポジトリアイテム分割",
"type": "n8n-nodes-base.splitOut",
"position": [
464,
80
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "5c38943d-e55a-490e-90e5-be4154243db3",
"name": "AIチュートリアル出力の解析",
"type": "n8n-nodes-base.code",
"position": [
1040,
80
],
"parameters": {
"jsCode": "const items = $input.all();\n\nreturn items.map(item => {\n // Parse the AI tutorial output\n let aiOutput = item.json.output;\n \n // Remove markdown code blocks if present\n aiOutput = aiOutput.replace(/```json\\s*/, '').replace(/```\\s*$/, '');\n \n // Try to parse as JSON, fallback to using the content directly\n let parsedOutput;\n try {\n parsedOutput = JSON.parse(aiOutput.trim());\n } catch (e) {\n // If not JSON, treat as plain markdown content\n parsedOutput = {\n title: `Tutorial: Building with ${item.json.name} - ${item.json.language} Guide`,\n content: aiOutput\n };\n }\n \n return {\n json: {\n title: parsedOutput.title || `Tutorial: Building with ${item.json.name} - ${item.json.language} Guide`,\n content: parsedOutput.content || aiOutput,\n repoName: item.json.name,\n language: item.json.language,\n description: item.json.description,\n url: item.json.html_url,\n stars: item.json.stargazers_count\n }\n };\n});"
},
"typeVersion": 2
}
],
"pinData": {},
"connections": {
"0fa5dbc6-78a8-4bf7-858a-b1789f2933ff": {
"main": [
[
{
"node": "b7eb9512-221d-4347-83cb-ed37e9342672",
"type": "main",
"index": 0
}
]
]
},
"8c8478b1-b8dd-486e-890b-06fc4653832b": {
"main": [
[
{
"node": "0fa5dbc6-78a8-4bf7-858a-b1789f2933ff",
"type": "main",
"index": 0
}
]
]
},
"f7e650f7-ec34-4aa3-b534-8232dff02270": {
"main": [
[
{
"node": "3b9f51a2-c4c0-49f5-b12c-161ec09754f7",
"type": "main",
"index": 0
}
]
]
},
"24c45e82-449d-42c7-a9b3-23a3771890ca": {
"main": [
[
{
"node": "5c38943d-e55a-490e-90e5-be4154243db3",
"type": "main",
"index": 0
}
]
]
},
"b7eb9512-221d-4347-83cb-ed37e9342672": {
"main": [
[
{
"node": "24c45e82-449d-42c7-a9b3-23a3771890ca",
"type": "main",
"index": 0
}
]
]
},
"428f39bc-ee5a-4a98-b15d-cb432eb67261": {
"ai_languageModel": [
[
{
"node": "24c45e82-449d-42c7-a9b3-23a3771890ca",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"5c38943d-e55a-490e-90e5-be4154243db3": {
"main": [
[
{
"node": "f7e650f7-ec34-4aa3-b534-8232dff02270",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
NewsAPIとGoogle Geminiを使用してテクノロジーニュースブログ記事を自動生成し、WordPressに公開
NewsAPIとGoogle Geminiを使用して自動のにテクノロジーニュースブログ記事を生成し、WordPressに投稿
Code
Wordpress
Http Request
+
Code
Wordpress
Http Request
9 ノードDavid Olusola
コンテンツ作成
Gemini AI と Blotato を使って WordPress 記事を自動のにソーシャルメディアに投稿する
Gemini AI と Blotato を使って WordPress 記事を自動のにソーシャルメディアに投稿する
If
Code
Split Out
+
If
Code
Split Out
11 ノードDavid Olusola
ソーシャルメディア
Geminiを使ってWordPressからAI駆動型の週次メールニュースを生成
Geminiを使ってWordPressからAI駆動の週次メールニュースレターへ生成する
If
Code
Email Send
+
If
Code
Email Send
8 ノードDavid Olusola
ソーシャルメディア
コンテンツジェネレーター v3
AI驱动ブログ自動化:使用GPT-4生成并公開SEO記事至WordPressとTwitter
If
Set
Code
+
If
Set
Code
144 ノードJay Emp0
コンテンツ作成
キーワードからGPT-5とfal.ai画像を使ってWordPressまで自動SEOブログ生成のプロセス
GPT-5とfal.ai画像を使用したキーワードからWordPressへのSEOブログ自動化プロセス
Set
Code
Wait
+
Set
Code
Wait
96 ノードPaul
コンテンツ作成
WordPressブログの自動化プロフェッショナル版(先端研究)v2.1マーケットプラグイン
GPT-4o、Perplexity AI、そして多言語対応を使ったSEO最適化ブログ作成の自動化
If
Set
Xml
+
If
Set
Xml
125 ノードDaniel Ng
コンテンツ作成
ワークフロー情報
難易度
中級
ノード数9
カテゴリー2
ノードタイプ9
作成者
David Olusola
@dae221I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com
外部リンク
n8n.ioで表示 →
このワークフローを共有