Englischer Vokabel-Chatbot für Telegram basierend auf Gemini und zufälligem Wort-API
Dies ist ein Miscellaneous, Multimodal AI-Bereich Automatisierungsworkflow mit 6 Nodes. Hauptsächlich werden Set, Telegram, Aggregate, HttpRequest, ScheduleTrigger und andere Nodes verwendet. Englischer Vokabel-Bot für Telegram mit Gemini und zufälligem Wörter-API erstellen
- •Telegram Bot Token
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Verwendete Nodes (6)
Kategorie
{
"meta": {
"instanceId": "783d2046f405cc6ecb20ef185376ed1023323a3da628b9d8156b1fb75c75e037",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "4e12712b-5541-41e4-9cf5-181aed2682ed",
"name": "Zeitplan-Auslöser",
"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 Request",
"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": "Aggregieren",
"type": "n8n-nodes-base.aggregate",
"position": [
624,
0
],
"parameters": {
"options": {},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "word"
}
]
}
},
"typeVersion": 1
},
{
"id": "e7b00fe8-0a71-4e00-af8f-703887170dde",
"name": "Felder bearbeiten",
"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": "Nachricht an ein Modell",
"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": "Textnachricht senden",
"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
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Verschiedenes, Multimodales KI
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Cong Nguyen
@cong-nguyenI’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.
Diesen Workflow teilen