Gemini를 사용하여 WordPress에서 AI로운 주간 이메일 소식 생성
중급
이것은Social Media, Multimodal AI분야의자동화 워크플로우로, 8개의 노드를 포함합니다.주로 If, Code, EmailSend, Wordpress, Agent 등의 노드를 사용하며. Gemini를 사용하여 WordPress에서 AI로운 주간 이메일 소식지 생성
사전 요구사항
- •Google Gemini API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "88ced829-6881-4846-93b1-b2f7d1779841",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
768,
80
],
"parameters": {
"width": 380,
"height": 460,
"content": "## Weekly Email Newsletter Generator\n\n**What it does:**\n- Fetches your latest WordPress posts every Friday\n- AI creates engaging newsletter content\n- Sends formatted emails to your subscriber list\n- Tracks which posts were included to avoid duplicates\n\n**Setup Required:**\n1. Configure WordPress credentials to fetch posts\n2. Set up SMTP email credentials (Gmail, SendGrid, Mailgun, etc.)\n3. Replace email addresses in Send Newsletter node with your subscriber list\n4. Set up Google Gemini API credentials for AI\n\n**Customization:**\n- Change schedule (currently Friday 10 AM)\n- Adjust number of posts to include\n- Modify email template and styling\n- Add custom intro/outro messages\n\n**Need Help?**\nFor n8n coaching or one-on-one consultation:\nmailto:david@daexai.com"
},
"typeVersion": 1
},
{
"id": "c6dd067a-b2b4-4fc4-b14d-d300aa789437",
"name": "매주 금요일 오전 10시",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
976,
192
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "0 10 * * 5"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "396b5f52-a71c-4235-9409-25850114eda3",
"name": "최신 게시물 가져오기",
"type": "n8n-nodes-base.wordpress",
"position": [
1168,
192
],
"parameters": {
"options": {},
"operation": "getAll"
},
"typeVersion": 1
},
{
"id": "08ae5166-ef2d-47db-9138-6de7a1621d95",
"name": "게시물 존재 확인",
"type": "n8n-nodes-base.if",
"position": [
1376,
192
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "c0a1b2c3-d4e5-f6g7-h8i9-j0k1l2m3n4o5",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{$json.length}}",
"rightValue": 0
}
]
}
},
"typeVersion": 2
},
{
"id": "97d30b53-49ab-4e86-910e-a23550a9cb4e",
"name": "AI 뉴스레터 생성기",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1568,
192
],
"parameters": {
"options": {
"systemMessage": "You are an email newsletter writer. Create an engaging weekly newsletter based on the provided blog posts. Include: 1) Catchy subject line, 2) Personal greeting, 3) Brief intro about this week's content, 4) Formatted summaries of each post with compelling descriptions, 5) Call-to-action to read full posts, 6) Friendly sign-off. Keep it conversational and engaging. Format in HTML for email."
}
},
"typeVersion": 2.2
},
{
"id": "aa3ee18d-2858-456b-a3de-c3ec6888d87f",
"name": "뉴스레터 콘텐츠 파싱",
"type": "n8n-nodes-base.code",
"position": [
1952,
192
],
"parameters": {
"jsCode": "const items = $input.all();\n\nreturn items.map(item => {\n // Remove markdown code blocks and parse JSON\n let aiOutput = item.json.output;\n \n // Remove ```json and ``` markers if present\n aiOutput = aiOutput.replace(/```json\\s*/, '').replace(/```\\s*$/, '');\n \n // Try to parse as JSON, fallback to plain text\n let parsedOutput;\n try {\n parsedOutput = JSON.parse(aiOutput.trim());\n } catch (e) {\n // If not JSON, treat as plain text\n parsedOutput = {\n subject: \"Weekly Newsletter - \" + new Date().toLocaleDateString(),\n content: aiOutput\n };\n }\n \n return {\n json: {\n subject: parsedOutput.subject || \"Weekly Newsletter - \" + new Date().toLocaleDateString(),\n content: parsedOutput.content || aiOutput,\n date: new Date().toISOString()\n }\n };\n});"
},
"typeVersion": 2
},
{
"id": "759e35de-6eaa-4b3e-b1a1-94d9d029a4d3",
"name": "뉴스레터 발송",
"type": "n8n-nodes-base.emailSend",
"position": [
2144,
192
],
"webhookId": "0dd49cd6-d161-4597-adbb-1abedc6f0248",
"parameters": {
"html": "={{$json.content}}",
"options": {},
"subject": "={{$json.subject}}",
"toEmail": "=subscribers@yourlist.com,subscriber2@email.com,subscriber3@email.com",
"fromEmail": "newsletter@yoursite.com",
"emailFormat": "html"
},
"credentials": {
"smtp": {
"id": "0xVva6dyyi5SuxBe",
"name": "SMTP account"
}
},
"typeVersion": 2
},
{
"id": "48dc6212-0580-40f5-94ba-5f6dc3f207d8",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1472,
384
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "wNw45YZvXXpeocJ2",
"name": "TST API"
}
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"08ae5166-ef2d-47db-9138-6de7a1621d95": {
"main": [
[
{
"node": "97d30b53-49ab-4e86-910e-a23550a9cb4e",
"type": "main",
"index": 0
}
]
]
},
"396b5f52-a71c-4235-9409-25850114eda3": {
"main": [
[
{
"node": "08ae5166-ef2d-47db-9138-6de7a1621d95",
"type": "main",
"index": 0
}
]
]
},
"c6dd067a-b2b4-4fc4-b14d-d300aa789437": {
"main": [
[
{
"node": "396b5f52-a71c-4235-9409-25850114eda3",
"type": "main",
"index": 0
}
]
]
},
"97d30b53-49ab-4e86-910e-a23550a9cb4e": {
"main": [
[
{
"node": "aa3ee18d-2858-456b-a3de-c3ec6888d87f",
"type": "main",
"index": 0
}
]
]
},
"48dc6212-0580-40f5-94ba-5f6dc3f207d8": {
"ai_languageModel": [
[
{
"node": "97d30b53-49ab-4e86-910e-a23550a9cb4e",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"aa3ee18d-2858-456b-a3de-c3ec6888d87f": {
"main": [
[
{
"node": "759e35de-6eaa-4b3e-b1a1-94d9d029a4d3",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 소셜 미디어, 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Gemini AI 및 Blotato를 사용한 WordPress 기사 소셜 미디어 자동 게시
Gemini AI 및 Blotato를 사용하여 WordPress 기사를 소셜 미디어에 자동 게시
If
Code
Split Out
+
If
Code
Split Out
11 노드David Olusola
소셜 미디어
Gemini AI를 사용하여 GitHub 인기 저장소를 자동으로 주간 튜토리얼로 생성 및 WordPress에 게시
GitHub 인기 저장소를 자동으로 주간 튜토리얼로 생성하여 WordPress에 게시 (Gemini AI 사용)
Code
Split Out
Email Send
+
Code
Split Out
Email Send
9 노드David Olusola
콘텐츠 제작
NewsAPI 및 Google Gemini를 사용한 기술 뉴스 블로그 기사 자동 생성 및 WordPress에 게시
NewsAPI 및 Google Gemini를 사용하여 기술 뉴스 블로그 게시물 자동 생성 및 WordPress에 게시
Code
Wordpress
Http Request
+
Code
Wordpress
Http Request
9 노드David Olusola
콘텐츠 제작
Arunava의 다중 에이전트 지능형 Reddit 자동화
AI 브랜드 언급 및 Baserow 추적으로 Reddit 게시물 자동 댓글 작성
If
Set
Code
+
If
Set
Code
35 노드Arunava
소셜 미디어
RSS에서 LinkedIn 자동 게시기
RSS + Gemini AI + Templated.io로 LinkedIn 회사 페이지 자동 큐레이션 및 게시
If
Code
Linked In
+
If
Code
Linked In
19 노드Shrishti S Nagar
소셜 미디어
오래된 WordPress 글 자동 아카이빙至초안 상태
오래된 WordPress 게시물 초안 상태로 자동 아카이빙
If
Email Send
Wordpress
+
If
Email Send
Wordpress
7 노드David Olusola
파일 관리
워크플로우 정보
난이도
중급
노드 수8
카테고리2
노드 유형8
저자
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에서 보기 →
이 워크플로우 공유