workflows/02-ingest-cointelegraph.json Repository StreszCzarka---Krypto-AI-news-serwis Original path workflows/02-ingest-cointelegraph.jsonRole CONFIG Size 24461 bytes Lines 756 SHA-256 74df29db07d23f0713c75accd681337b9078f16f0d5347ab76f289f217714b0bDisplayed range 501–756 Previous file/page · Project index · Next file/page
1424,
288
],
"id": "89ba714a-a6ff-4e9c-a073-3ddc888346dc",
"name": "Code in JavaScript2"
},
{
"parameters": {
"jsCode": "// n8n Code node (JavaScript)\n\n// Pobieramy tytuł i datę powstania z poprzedniego węzła (np. node, który wstawił wiersz do DB)\nconst tytul = $input.first().json.row.tytul;\nconst data_powstania = $input.first().json.row.data_powstania;\n\n// Pobieramy treść z innego węzła (Code in JavaScript)\nconst tresc = $('Code in JavaScript').first().json.text;\n\n// Zwracamy jako wynik do dalszego workflow\nreturn [\n {\n json: {\n tytul,\n data_powstania,\n tresc,\n }\n }\n];\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1440,
768
],
"id": "76f0b8f8-baf6-4c01-8a30-a0565ab4e767",
"name": "Code in JavaScript3"
}
],
"connections": {
"Edit Fields": {
"main": [
[
{
"node": "Archiwum",
"type": "main",
"index": 0
}
]
]
},
"pobierator artykułu": {
"main": [
[
{
"node": "wycinator tekstu",
"type": "main",
"index": 0
}
]
]
},
"Mistral Cloud Chat Model": {
"ai_languageModel": [
[
{
"node": "Streszczarka",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Streszczarka": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"wycinator tekstu": {
"main": [
[
{
"node": "Streszczarka",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"If": {
"main": [
[],
[
{
"node": "Parser linku",
"type": "main",
"index": 0
}
]
]
},
"Parser linku": {
"main": [
[
{
"node": "pobierator artykułu",
"type": "main",
"index": 0
}
]
]
},
"Mistral Cloud Chat Model1": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Code in JavaScript",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript": {
"main": [
[
{
"node": "Archiwum zapis",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Code in JavaScript1",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript1": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Archiwum": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Archiwum zapis": {
"main": [
[
{
"node": "If1",
"type": "main",
"index": 0
}
]
]
},
"If1": {
"main": [
[
{
"node": "Code in JavaScript2",
"type": "main",
"index": 0
}
],
[
{
"node": "Code in JavaScript3",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript2": {
"main": [
[
{
"node": "Informacja",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript3": {
"main": [
[
{
"node": "Szum",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"tags": []
}