MS_TRENDS
중급
이것은Market Research분야의자동화 워크플로우로, 10개의 노드를 포함합니다.주로 Xml, Code, Telegram, HttpRequest, TelegramTrigger 등의 노드를 사용하며. Telegram 로봇을 통해 특정 국가의 Google 트렌드 보고서 가져오기
사전 요구사항
- •Telegram Bot Token
- •대상 API의 인증 정보가 필요할 수 있음
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "9DnO7e6sTnzOsBor",
"meta": {
"instanceId": "c92a0c76586da37fb3ac600956b62e842bfa4bd5f52acc7feb4e8a6e75ca1381",
"templateCredsSetupCompleted": true
},
"name": "MS_TRENDS",
"tags": [],
"nodes": [
{
"id": "b6c68332-9cd6-4b64-b3a4-57c37e665a2f",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
260,
0
],
"parameters": {
"url": "https://trends.google.com/trending/rss",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "geo",
"value": "={{ $json.message.text }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "930f0f7d-94bb-48a7-80f4-3948ff830131",
"name": "XML",
"type": "n8n-nodes-base.xml",
"position": [
620,
0
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "88867504-b113-495a-ada0-6d7696482af5",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
980,
0
],
"parameters": {
"jsCode": "// 1. Safely access the array of trend items from the input data.\nconst trends = $json.rss?.channel?.item || [];\n\n// If there are no trends, return a friendly message.\nif (trends.length === 0) {\n return [{\n json: {\n text: \"Could not fetch Google Trends data at this time.\"\n }\n }];\n}\n\n// 2. Create a dynamic header for the report in Arabic.\nconst today = new Date().toLocaleDateString('ar-EG', {\n day: 'numeric',\n month: 'long',\n year: 'numeric'\n});\nconst header = `🔥 *Trends report for $('Telegram Trigger').first().json.message.text *\\n_${today}_\\n\\n`;\n\n\n// 3. Process the top 5 trend items to create formatted blocks.\nconst trendBlocks = trends\n .slice(0, 5) // We only want the top 5 trends\n .map((trend, index) => {\n // Get the main details for the trend.\n const rank = index + 1;\n const title = trend.title;\n const traffic = trend['ht:approx_traffic'] || 'Not available';\n\n // Get the top 2 related news articles for this trend.\n const newsItems = (trend['ht:news_item'] || [])\n .slice(0, 2) // We only want the top 2 news items\n .map(news => {\n const newsTitle = news['ht:news_item_title'];\n const newsUrl = news['ht:news_item_url'];\n const newsSource = news['ht:news_item_source'];\n // Format as: \"• [Article Title](url) - _Source_\"\n return `• [${newsTitle}](${newsUrl}) - _${newsSource}_`;\n })\n .join('\\n');\n\n // Combine everything into a single block, optimized for RTL.\n // We put the Arabic title first to help with rendering.\n return `*${title}* (${rank})\\n📈 *Searches:* ${traffic}\\n🗞️ *Related:*\\n${newsItems}`;\n })\n .join('\\n\\n---\\n\\n'); // Join all trend blocks with a separator.\n\n\n// 4. Combine the header and the trend blocks into the final report.\nconst finalReport = header + trendBlocks;\n\n// 5. Wrap the output in the format that n8n expects.\nreturn [{\n json: {\n text: finalReport,\n parse_mode: 'Markdown'\n }\n}];"
},
"typeVersion": 2
},
{
"id": "c8c768d6-f98b-433c-813e-132d650c4f38",
"name": "텍스트 메시지 전송",
"type": "n8n-nodes-base.telegram",
"position": [
1340,
0
],
"webhookId": "eb03235e-b383-40e8-885e-a57f35bb30e2",
"parameters": {
"text": "={{ $json.text }}",
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"additionalFields": {
"parse_mode": "HTML",
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "OymlVCuTPYhVa2B9",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "1de3838b-87e9-47b2-879f-7e7bcfb1b76d",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-80,
0
],
"webhookId": "6ac6fdc4-a1bc-4346-bfb1-680036eab304",
"parameters": {
"updates": [
"message"
],
"additionalFields": {
"chatIds": "={{ $env.chat_id }}"
}
},
"credentials": {
"telegramApi": {
"id": "OymlVCuTPYhVa2B9",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "3ed6b167-1d03-43f4-88f3-2a7bff19716e",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
-100
],
"parameters": {
"color": 6,
"width": 260,
"height": 280,
"content": "## Fetch trends \nGets trends for provided country code"
},
"typeVersion": 1
},
{
"id": "c08ee391-6aa5-4daf-83e3-6167ad87e6c3",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
540,
-100
],
"parameters": {
"color": 3,
"width": 260,
"height": 280,
"content": "## Convert to json"
},
"typeVersion": 1
},
{
"id": "8f675ed7-2a06-497b-87ea-6e2e9755914d",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
900,
-100
],
"parameters": {
"color": 7,
"width": 260,
"height": 280,
"content": "## Prepare report"
},
"typeVersion": 1
},
{
"id": "74c4d562-f0dc-4c0a-8a08-1b6d22372f51",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1260,
-100
],
"parameters": {
"color": 5,
"width": 260,
"height": 280,
"content": "## Send report"
},
"typeVersion": 1
},
{
"id": "9419f0f0-ed18-4d48-bc8a-cea1a3efff1b",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-100,
-160
],
"parameters": {
"width": 260,
"height": 120,
"content": "## Send country code\nEG | US | SA | ..."
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "22911120-2f7e-4017-b43d-94636740d997",
"connections": {
"930f0f7d-94bb-48a7-80f4-3948ff830131": {
"main": [
[
{
"node": "88867504-b113-495a-ada0-6d7696482af5",
"type": "main",
"index": 0
}
]
]
},
"88867504-b113-495a-ada0-6d7696482af5": {
"main": [
[
{
"node": "c8c768d6-f98b-433c-813e-132d650c4f38",
"type": "main",
"index": 0
}
]
]
},
"b6c68332-9cd6-4b64-b3a4-57c37e665a2f": {
"main": [
[
{
"node": "930f0f7d-94bb-48a7-80f4-3948ff830131",
"type": "main",
"index": 0
}
]
]
},
"1de3838b-87e9-47b2-879f-7e7bcfb1b76d": {
"main": [
[
{
"node": "b6c68332-9cd6-4b64-b3a4-57c37e665a2f",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 시장 조사
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
MS_금价 추적
다중 통화 변환을 지원하는 Telegram 골드 가격 자동 추적기 📈
Set
Code
Merge
+
Set
Code
Merge
12 노드M Sayed
암호화폐 거래
항공편 분석 복사본
Chart.js, QuickChart API, Telegram 로봇을 사용하여 항공 데이터를 시각화
If
Code
Switch
+
If
Code
Switch
24 노드DataMinex
시장 조사
Gemini 2.5-pro와 Telegram을 사용한 랜딩 페이지 변환 최적화기
Gemini 2.5-pro와 Telegram을 사용한 랜딩 페이지 전환 최적화 도구
Code
Telegram
Form Trigger
+
Code
Telegram
Form Trigger
15 노드Mert Dalkır
시장 조사
演示 이메일 공유
AI, Telegram 로봇 및 웹 크롤링을 사용하여 개인화된 이메일 외부 연락 생성
If
Set
Xml
+
If
Set
Xml
58 노드Michael A Putra
리드 육성
YouTube 댓글 감정 및 키워드 추출기
Gemini AI를 사용하여 YouTube 댓글 감성 및 키워드 분석 및 Telegram으로 보고
Set
Code
Telegram
+
Set
Code
Telegram
20 노드Budi SJ
시장 조사
아마존 가격 자동 추적 및 Telegram 알림
Google Gemini를 사용하여 Amazon 가격 자동 추적 및 Telegram 알림 전송
If
Set
Code
+
If
Set
Code
22 노드Issam AGGOUR
시장 조사