8
n8n 한국어amn8n.com

20. Gemini와 랜덤 단어 API를 기반으로 한 Telegram 영어 어휘 로봇

중급

이것은Miscellaneous, Multimodal AI분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Set, Telegram, Aggregate, HttpRequest, ScheduleTrigger 등의 노드를 사용하며. 사용Gemini및随机单词API为Telegram생성英语词汇봇

사전 요구사항
  • Telegram Bot Token
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "783d2046f405cc6ecb20ef185376ed1023323a3da628b9d8156b1fb75c75e037",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "4e12712b-5541-41e4-9cf5-181aed2682ed",
      "name": "스케줄 트리거",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 3
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "8a025bc9-489d-4448-944d-652bfc2baf77",
      "name": "HTTP 요청",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        208,
        0
      ],
      "parameters": {
        "url": "https://random-word-api.vercel.app/api?words=3",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "fb88b57f-7c18-431e-8d4b-429253803433",
      "name": "집계",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        624,
        0
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "fieldToAggregate": "word"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e7b00fe8-0a71-4e00-af8f-703887170dde",
      "name": "필드 편집",
      "type": "n8n-nodes-base.set",
      "position": [
        416,
        0
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={\n  \"word\": \"{{ $json }}\"\n}\n"
      },
      "typeVersion": 3.4
    },
    {
      "id": "eae51ae4-cfd4-4d5a-b522-1c55bcce4863",
      "name": "모델에 메시지",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        832,
        0
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/gemini-1.5-flash",
          "cachedResultName": "models/gemini-1.5-flash"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=You are a vocabulary-summarizing AI. Please write a vocabulary digest message using the provided English words, including: the English word, the Vietnamese meaning, and one example sentence that contains that English word.\nToday's vocabulary list:\n{{ $json.word }}"
            }
          ]
        }
      },
      "credentials": {
        "googlePalmApi": {
          "id": "Atcc45Iqep6u15qs",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "97be971a-7304-4f6d-9b68-f2c1c8b90363",
      "name": "텍스트 메시지 전송",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1184,
        0
      ],
      "webhookId": "947f3fe3-d410-41f5-8340-247dbfeee897",
      "parameters": {
        "text": "={{ $json.content.parts[0].text }}",
        "chatId": "xxxxx",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "Pq1cc0nSnbtjpiPv",
          "name": "learn_english_bot"
        }
      },
      "typeVersion": 1.2
    }
  ],
  "pinData": {},
  "connections": {
    "fb88b57f-7c18-431e-8d4b-429253803433": {
      "main": [
        [
          {
            "node": "eae51ae4-cfd4-4d5a-b522-1c55bcce4863",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e7b00fe8-0a71-4e00-af8f-703887170dde": {
      "main": [
        [
          {
            "node": "fb88b57f-7c18-431e-8d4b-429253803433",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8a025bc9-489d-4448-944d-652bfc2baf77": {
      "main": [
        [
          {
            "node": "e7b00fe8-0a71-4e00-af8f-703887170dde",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eae51ae4-cfd4-4d5a-b522-1c55bcce4863": {
      "main": [
        [
          {
            "node": "97be971a-7304-4f6d-9b68-f2c1c8b90363",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4e12712b-5541-41e4-9cf5-181aed2682ed": {
      "main": [
        [
          {
            "node": "8a025bc9-489d-4448-944d-652bfc2baf77",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 기타, 멀티모달 AI

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수6
카테고리2
노드 유형6
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Cong Nguyen

Cong Nguyen

@cong-nguyen

I’m a developer specialized in building web and mobile applications with AI integration and intelligent automation. With a solid background in data science, I help businesses build smarter digital solutions using cutting-edge technologies.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34