{ "name": "robeing-daily-headlines-actual-runtime", "nodes": [ { "parameters": { "rule": { "cronExpression": "10 9 * * 1-5" } }, "id": "sched-headlines-001", "name": "09:10 Trigger", "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1, "position": [220, 240] }, { "parameters": { "jsCode": "return [{ json: { step: 'scheduled_jobs.daily_headlines', cron: '10 9 * * mon-fri', channel_id: 'C09C98KK2TT' } }];" }, "id": "sched-headlines-002", "name": "DB Job Config", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [470, 240] }, { "parameters": { "jsCode": "return [{ json: { step: 'app.scheduler.jobs.daily_headlines._run_headlines_with_logging(channel_id)', channel_id: $json.channel_id } }];" }, "id": "sched-headlines-003", "name": "daily_headlines Wrapper", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [720, 240] }, { "parameters": { "jsCode": "return [{ json: { step: 'run_headlines_workflow(channel_id)', state_store: '/code/state/headlines_graph.sqlite', nodes: ['fetch_naver', 'fetch_sea', 'extract_terms', 'format', 'send'], channel_id: $json.channel_id } }];" }, "id": "sched-headlines-004", "name": "LangGraph Workflow", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [970, 240] }, { "parameters": { "jsCode": "return [{ json: { step: 'skill-news POST /api/news/naver/startup-headlines', format: 'slack' } }];" }, "id": "sched-headlines-005", "name": "Naver Headlines API", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [1220, 160] }, { "parameters": { "jsCode": "return [{ json: { step: 'skill-news POST /api/news/sea/headlines', format: 'json' } }];" }, "id": "sched-headlines-006", "name": "SEA Headlines API", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [1220, 320] }, { "parameters": { "jsCode": "return [{ json: { step: 'rb8001 headlines_workflow.format_node', summary: ['네이버 Slack 텍스트 수신', '동남아 소식 섹션 삽입', '키워드 요약 미삽입', '클로징 후 명언, 마지막 빈줄 2줄'] } }];" }, "id": "sched-headlines-007", "name": "Format Briefing Text", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [1470, 240] }, { "parameters": { "jsCode": "return [{ json: { step: 'rb8001 headlines_workflow.send_node -> Slack chat_postMessage', channel_id: 'C09C98KK2TT' } }];" }, "id": "sched-headlines-008", "name": "Slack Delivery", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [1720, 240] } ], "connections": { "09:10 Trigger": { "main": [ [ { "node": "DB Job Config", "type": "main", "index": 0 } ] ] }, "DB Job Config": { "main": [ [ { "node": "daily_headlines Wrapper", "type": "main", "index": 0 } ] ] }, "daily_headlines Wrapper": { "main": [ [ { "node": "LangGraph Workflow", "type": "main", "index": 0 } ] ] }, "LangGraph Workflow": { "main": [ [ { "node": "Naver Headlines API", "type": "main", "index": 0 }, { "node": "SEA Headlines API", "type": "main", "index": 0 } ] ] }, "Naver Headlines API": { "main": [ [ { "node": "Format Briefing Text", "type": "main", "index": 0 } ] ] }, "SEA Headlines API": { "main": [ [ { "node": "Format Briefing Text", "type": "main", "index": 0 } ] ] }, "Format Briefing Text": { "main": [ [ { "node": "Slack Delivery", "type": "main", "index": 0 } ] ] } }, "pinData": {}, "meta": { "templateCredsSetupCompleted": true, "instanceId": "robeing-scheduler" } }