Files
n8n/backups/2025-12-27/pars_tg.json
2025-12-27 21:49:23 +00:00

1 line
3.0 KiB
JSON

{"updatedAt":"2025-12-03T21:09:54.768Z","createdAt":"2025-12-03T20:47:48.689Z","id":"WNwF7L3mikoSfdwv","name":"pars_tg","active":false,"isArchived":false,"nodes":[{"parameters":{"options":{}},"type":"@n8n/n8n-nodes-langchain.chatTrigger","typeVersion":1.4,"position":[-480,-80],"id":"ece42184-9786-4fdd-8532-6ed6d3b412e3","name":"When chat message received","webhookId":"67c19089-9e45-4e3d-96db-390962f84509"},{"parameters":{"options":{"systemMessage":"=You are a smart agent\n\nToday's date is - {{ $now }}\n\nYour primary tool for generating responses is \"open and close tg\".\n\nAlways answer only based on these tools. [ ]\n\nAlways after the user's question, send a message using the tool - \"telegram tool\" stating that you have started the process and a response will be provided soon.\n\n1 Tool - \"open and close tg\"\nUse it when you need to parse data from the specified channel for any date in order to answer.\n\nChannel ID for parsing - -1001138673901\n\nBe sure to send the channel ID to this tool and formulate a prompt that can solve the user's request. Send the prompt along with the channel ID."}},"type":"@n8n/n8n-nodes-langchain.agent","typeVersion":3,"position":[-112,-96],"id":"1fe1c47f-2a4a-4a39-9e1f-0cfc14c9de04","name":"AI Agent"},{"parameters":{"contextWindowLength":500},"type":"@n8n/n8n-nodes-langchain.memoryBufferWindow","typeVersion":1.3,"position":[-64,192],"id":"2a19bd8b-97a3-4066-8a4c-2bef14ac3bbb","name":"Simple Memory"},{"parameters":{"options":{}},"type":"@n8n/n8n-nodes-langchain.lmChatOpenRouter","typeVersion":1,"position":[-272,128],"id":"0a7bf2fa-c60a-497e-8b0b-94c670048417","name":"OpenRouter Chat Model","credentials":{"openRouterApi":{"id":"zF58stjgF5xdkTLm","name":"OpenRouter account"}}},{"parameters":{"description":"you should go in this tool if you need data on telegram chanell (closed and opened)","workflowId":{"__rl":true,"value":"Hx3uO2aSTDEtCIWj","mode":"list","cachedResultUrl":"/workflow/Hx3uO2aSTDEtCIWj","cachedResultName":"pars_tg2"},"workflowInputs":{"mappingMode":"defineBelow","value":{},"matchingColumns":[],"schema":[],"attemptToConvertTypes":false,"convertFieldsToString":false}},"type":"@n8n/n8n-nodes-langchain.toolWorkflow","typeVersion":2.2,"position":[208,192],"id":"11a57857-034a-44ab-8ff8-92d1d256b552","name":"open and close tg"}],"connections":{"When chat message received":{"main":[[{"node":"AI Agent","type":"main","index":0}]]},"Simple Memory":{"ai_memory":[[{"node":"AI Agent","type":"ai_memory","index":0}]]},"OpenRouter Chat Model":{"ai_languageModel":[[{"node":"AI Agent","type":"ai_languageModel","index":0}]]},"open and close tg":{"ai_tool":[[{"node":"AI Agent","type":"ai_tool","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"2d12300a-0eaa-4165-8807-c3c40472b97b","activeVersionId":null,"triggerCount":0,"shared":[{"updatedAt":"2025-12-03T20:47:48.689Z","createdAt":"2025-12-03T20:47:48.689Z","role":"workflow:owner","workflowId":"WNwF7L3mikoSfdwv","projectId":"sYuiFAb87pAir6jV"}],"activeVersion":null,"tags":[]}