Inflearn brand logo image

인프런 커뮤니티 질문&답변

젓인님의 프로필 이미지
젓인

작성한 질문수

노코드 자동화 입문부터 실전까지: n8n 완전정복 (한국 최초 n8n 앰버서더 직강)

Google 최신뉴스들 실시간으로 Notion에 저장하기

n8n 워크플로우 구축 관련 문의 (ArXiv RSS 피드 논문 요약 및 알림 자동화)

작성

·

60

0

강사님, 안녕하세요. 강의를 통해 n8n의 기본 개념과 활용 가능성에 대해 잘 이해할 수 있었지만, 개인적인 자동화 워크플로우를 직접 구축하는 과정에서 몇 가지 조언을 얻고자 질문드립니다.

특히, ArXiv RSS 피드를 활용하여 제가 설정한 분야(예: cs.ai, cs.cv ) 및 키워드(예: 멀티모달 LLM, 비디오 VLM 등 )에 해당하는 논문들을 매일 아침 자동으로 요약하고, 그 내용을 메일 또는 슬랙으로 받아보는 워크플로우를 구현하고 싶습니다.

강의에서 제공된 워크플로우들은 완성된 형태로 구성되어 있어 전체적인 흐름을 이해하는 데는 큰 도움이 되었으나, 실제로 제가 원하는 기능을 처음부터 하나씩 구현해나가려니 노드 구성과 각 단계별 설정에 대한 감을 잡기 어려운 부분이 있습니다.

이러한 목표를 달성하기 위해, 다음과 같은 부분에 대해 강사님의 구체적인 조언을 얻고 싶습니다.

바쁘시겠지만, 위 질문들에 대해 조언을 해주시면 워크플로우 구축에 큰 도움이 될 것 같습니다. 감사합니다

답변 1

0

데이터팝콘님의 프로필 이미지
데이터팝콘
지식공유자

제가 논문쪽은 잘몰라서 대충 이런 느낌이실거 같은데, 한번 참고해봐주세요!

강의해서 이야기한 Trigger, Task, Target 이 구조만 맞추면 얼추 할 수 만들어보실 수 있을것 같아요.

아래는 급하게 만든거라 동작하진 않습니다. 구조화만 보시면 될거 같아여.

 

 

image.png

 

 

아래 내용을 복사한후 워크플로우에 붙여넣기 하시면 됩니다.

{
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "id": "3",
      "name": "Summarize Articles",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1,
      "position": [
        580,
        300
      ]
    },
    {
      "parameters": {
        "channel": "#research-summaries",
        "text": "Here are today's ArXiv paper summaries:\n\n{{$node['Summarize Articles'].json['summary']}}",
        "otherOptions": {},
        "attachments": []
      },
      "id": "4",
      "name": "Send to Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [
        956,
        200
      ]
    },
    {
      "parameters": {
        "fromEmail": "your_email@example.com",
        "toEmail": "your_email@example.com",
        "subject": "Daily ArXiv Paper Summaries",
        "text": "Here are today's ArXiv paper summaries:\n\n{{$node['Summarize Articles'].json['summary']}}",
        "options": {}
      },
      "id": "5",
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 1,
      "position": [
        956,
        400
      ]
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "feedUrl": "https://export.arxiv.org/rss/cs.AI"
      },
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "typeVersion": 1,
      "position": [
        140,
        300
      ],
      "id": "fa076ff6-698c-401b-8776-3b31f068f936",
      "name": "ArXiv RSS Trigger"
    },
    {
      "parameters": {
        "jsCode": "const keywords = ['멀티모달 LLM', '비디오 VLM'];\nreturn items.filter(item => {\n  const title = item.json.title.toLowerCase();\n  const summary = item.json.contentSnippet.toLowerCase();\n  return keywords.some(kw => title.includes(kw.toLowerCase()) || summary.includes(kw.toLowerCase()));\n});"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        360,
        300
      ],
      "id": "70626583-5ecf-4591-8d19-712f2e450a20",
      "name": "Filter Articles"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "typeVersion": 1,
      "position": [
        668,
        520
      ],
      "id": "70f89204-971b-4469-b9fc-49108f4b5a6d",
      "name": "Google Gemini Chat Model",
      "credentials": {
        "googlePalmApi": {
          "id": "JqXmXiviiykGaD8T",
          "name": "swspcompany"
        }
      }
    }
  ],
  "connections": {
    "Summarize Articles": {
      "main": [
        [
          {
            "node": "Send to Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ArXiv RSS Trigger": {
      "main": [
        [
          {
            "node": "Filter Articles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Articles": {
      "main": [
        [
          {
            "node": "Summarize Articles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Summarize Articles",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "meta": {
    "instanceId": "a8fb7fd31983317952de5fe842ded2643867d47ad03573d086b1bc8ab17aa03b"
  }
}
젓인님의 프로필 이미지
젓인

작성한 질문수

질문하기