Files
n8n/backups/2025-12-27/assist.json
2025-12-27 21:50:13 +00:00

1 line
12 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"updatedAt":"2025-12-03T08:30:08.133Z","createdAt":"2025-11-29T20:12:24.570Z","id":"59fKEtwJ3Bj0wfyl","name":"assist","active":false,"isArchived":false,"nodes":[{"parameters":{"operation":"getAll","calendar":{"__rl":true,"value":"=lamerrrrok@gmail.com","mode":"id"},"limit":500,"options":{"timeMin":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('After', ``, 'string') }}","timeMax":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Before', ``, 'string') }}","fields":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Fields', ``, 'string') }}"}},"id":"75ab6a9b-2421-4279-9ed7-218981319e77","name":"Google Calendar","type":"n8n-nodes-base.googleCalendarTool","position":[3904,96],"typeVersion":1.1,"credentials":{"googleCalendarOAuth2Api":{"id":"pelU7b447VS9d9Cc","name":"Google Calendar account"}}},{"parameters":{"sessionIdType":"customKey","sessionKey":"={{ $('Listen for incoming events').first().json.message.from.id }}"},"id":"87068f41-26d6-479a-b049-87d6b04419bf","name":"Window Buffer Memory","type":"@n8n/n8n-nodes-langchain.memoryBufferWindow","position":[2688,96],"typeVersion":1.2},{"parameters":{"operation":"getAll","limit":20,"filters":{"labelIds":["INBOX"],"readStatus":"unread","receivedAfter":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Received_After', ``, 'string') }}","receivedBefore":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Received_Before', ``, 'string') }}"}},"id":"6a7124df-4122-461d-bfc0-4f2439073122","name":"Get Email","type":"n8n-nodes-base.gmailTool","position":[3472,96],"webhookId":"a4ae7b5d-7686-4bee-a753-848932860b4e","typeVersion":2.1,"credentials":{"gmailOAuth2":{"id":"mMAw1rTaQW76ponL","name":"Gmail account"}}},{"parameters":{"updates":["message"],"additionalFields":{}},"id":"3d0d55ec-3518-414b-8f25-f94befadae75","name":"Listen for incoming events","type":"n8n-nodes-base.telegramTrigger","position":[1552,-272],"webhookId":"322dce18-f93e-4f86-b9b1-3305519b7834","typeVersion":1,"credentials":{"telegramApi":{"id":"L9KHcMiteyKROF5r","name":"Telegram main n8n"}}},{"parameters":{"chatId":"={{ $('Listen for incoming events').first().json.message.from.id }}","text":"={{ $json.output }}","additionalFields":{"appendAttribution":false,"parse_mode":"Markdown"}},"id":"88a69a7b-b5be-4a1a-8a07-5103777ef4a8","name":"Telegram","type":"n8n-nodes-base.telegram","position":[3360,-288],"webhookId":"2c133a40-af48-4106-bc1a-be6047840a89","typeVersion":1.1,"credentials":{"telegramApi":{"id":"L9KHcMiteyKROF5r","name":"Telegram main n8n"}},"onError":"continueErrorOutput"},{"parameters":{"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"a0bf9719-4272-46f6-ab3b-eda6f7b44fd8","operator":{"type":"string","operation":"empty","singleValue":true},"leftValue":"={{ $json.message.text }}","rightValue":""}]},"options":{}},"id":"6e79dc16-0010-4195-887b-eae299e2471b","name":"If","type":"n8n-nodes-base.if","position":[2000,-272],"typeVersion":2.2},{"parameters":{"fields":{"values":[{"name":"text","stringValue":"={{ $json?.message?.text || \"\" }}"}]},"options":{}},"id":"619eb872-6718-468a-9468-0df700a4a71f","name":"Voice or Text","type":"n8n-nodes-base.set","position":[1776,-272],"typeVersion":3.2},{"parameters":{"resource":"file","fileId":"={{ $('Listen for incoming events').item.json.message.voice.file_id }}","additionalFields":{}},"id":"bae594e9-028e-4732-907b-c79b1d5c2174","name":"Get Voice File","type":"n8n-nodes-base.telegram","position":[2224,-352],"webhookId":"ef3f120e-c212-45ff-99b5-b6a5a82598d8","typeVersion":1.1,"credentials":{"telegramApi":{"id":"L9KHcMiteyKROF5r","name":"Telegram main n8n"}}},{"parameters":{"content":"## Process Telegram Request\n","height":279,"width":624,"color":7},"id":"d6d9c72e-9de8-48b3-88a9-ceda2783d192","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[1744,-384],"typeVersion":1},{"parameters":{"content":"\n\n\n\n\n\n\n\n\n\n\n\n1. [In OpenRouter](https://openrouter.ai/settings/keys) click **“Create API key”** and copy it.\n\n2. Open the ```OpenRouter``` node:\n * **Select Credential → Create New**\n * Paste into **API Key** and **Save**\n","height":316,"width":294,"color":3},"id":"c8169b5d-eaef-4bb1-94fd-ea6b09dc210a","cid":"Ikx1Y2FzIFBleXJpbiI","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","creator":"Lucas Peyrin","position":[2256,48],"typeVersion":1,"notes":"© 2025 Lucas Peyrin"},{"parameters":{"options":{}},"id":"6fae16b5-a94d-4708-a4f2-9efd72b548d4","name":"OpenRouter","type":"@n8n/n8n-nodes-langchain.lmChatOpenRouter","position":[2352,80],"typeVersion":1,"credentials":{"openRouterApi":{"id":"zF58stjgF5xdkTLm","name":"OpenRouter account"}}},{"parameters":{"content":"\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node helps your agent remember the last few messages to stay on topic.","height":260,"width":308,"color":7},"id":"93f8d1c1-8a0f-4973-b449-523e8ff038eb","cid":"Ikx1Y2FzIFBleXJpbiI","name":"Sticky Note15","type":"n8n-nodes-base.stickyNote","creator":"Lucas Peyrin","position":[2576,48],"typeVersion":1,"notes":"© 2025 Lucas Peyrin"},{"parameters":{"content":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node allows your agent create and get tasks from Google Tasks\n","height":260,"width":484,"color":7},"id":"b4b96b38-6a0e-4a4c-85f6-02f447e29560","cid":"Ikx1Y2FzIFBleXJpbiI","name":"Sticky Note16","type":"n8n-nodes-base.stickyNote","creator":"Lucas Peyrin","position":[2912,48],"typeVersion":1,"notes":"© 2025 Lucas Peyrin"},{"parameters":{"content":"\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node allows your agent access your gmail\n","height":260,"width":308,"color":7},"id":"000b3c4f-ae2f-403c-bd23-38aff73b8cbf","cid":"Ikx1Y2FzIFBleXJpbiI","name":"Sticky Note18","type":"n8n-nodes-base.stickyNote","creator":"Lucas Peyrin","position":[3424,48],"typeVersion":1,"notes":"© 2025 Lucas Peyrin"},{"parameters":{"content":"\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node allows your agent access your Google calendar\n","height":260,"width":404,"color":7},"id":"14e56d35-c325-4e0e-b851-38f1c72bfcb4","cid":"Ikx1Y2FzIFBleXJpbiI","name":"Sticky Note19","type":"n8n-nodes-base.stickyNote","creator":"Lucas Peyrin","position":[3760,48],"typeVersion":1,"notes":"© 2025 Lucas Peyrin"},{"parameters":{"content":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nUses OpenAI to convert voice to text.\n[In OpenAI](https://platform.openai.com/api-keys) click **“Create new secret key”** and copy it.","height":276,"width":324,"color":7},"id":"162cb1a0-c143-43fe-889c-07352270ecea","cid":"Ikx1Y2FzIFBleXJpbiI","name":"Sticky Note20","type":"n8n-nodes-base.stickyNote","creator":"Lucas Peyrin","position":[2432,-384],"typeVersion":1,"notes":"© 2025 Lucas Peyrin"},{"parameters":{"content":"Caylee, your peronal AI Assistant:\n1. Get email\n2. Check calendar\n3. Get and create to-do tasks \n\nEdit the **System Message** to adjust your agents thinking, behavior, and replies.\n\n\n\n\n\n\n\n\n\n\n","height":380,"width":396,"color":7},"id":"ede7c045-6ee8-4554-98d4-11e5b1e5bfa5","cid":"Ikx1Y2FzIFBleXJpbiI","name":"Sticky Note13","type":"n8n-nodes-base.stickyNote","creator":"Lucas Peyrin","position":[2816,-480],"typeVersion":1,"notes":"© 2025 Lucas Peyrin"},{"parameters":{"content":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSend message back to Telegram\n","height":288,"width":304,"color":7},"id":"baa455b1-dd6b-4892-b890-e8bbc459ea8a","name":"Sticky Note4","type":"n8n-nodes-base.stickyNote","position":[3264,-384],"typeVersion":1},{"parameters":{"task":"MTY1MjU2Mzk4NDU3MzA3MDY4Nzg6MDow","title":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}","additionalFields":{}},"id":"6aec4732-41d3-4360-a93c-9ffb503b2634","name":"Create a task in Google Tasks","type":"n8n-nodes-base.googleTasksTool","position":[3008,112],"typeVersion":1,"credentials":{"googleTasksOAuth2Api":{"id":"PXDMVlSFIBDkKxzf","name":"Google Tasks account"}}},{"parameters":{"operation":"getAll","task":"MTY1MjU2Mzk4NDU3MzA3MDY4Nzg6MDow","additionalFields":{}},"id":"6c6b0dd2-68fa-44c3-8de2-431bd4c05f12","name":"Get many tasks in Google Tasks","type":"n8n-nodes-base.googleTasksTool","position":[3200,112],"typeVersion":1,"credentials":{"googleTasksOAuth2Api":{"id":"PXDMVlSFIBDkKxzf","name":"Google Tasks account"}}},{"parameters":{"resource":"audio","operation":"transcribe","options":{}},"id":"ad674785-332f-44cd-8946-65ccb60465ff","name":"Transcribe a recording","type":"@n8n/n8n-nodes-langchain.openAi","position":[2544,-352],"typeVersion":1.8,"credentials":{"openAiApi":{"id":"PvUURuR361IXH0ve","name":"OpenAi account"}}},{"parameters":{"sendTo":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('To', ``, 'string') }}","subject":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}","message":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', `Please format this nicely in html`, 'string') }}","options":{"appendAttribution":false}},"id":"a995374e-fa30-42c7-b5f2-4f9ec8fed3e2","name":"Send Email","type":"n8n-nodes-base.gmailTool","position":[3616,96],"webhookId":"a4ae7b5d-7686-4bee-a753-848932860b4e","typeVersion":2.1,"credentials":{"gmailOAuth2":{"id":"mMAw1rTaQW76ponL","name":"Gmail account"}}},{"parameters":{"promptType":"define","text":"={{ $json.text }}","options":{"systemMessage":"=You are a helpful personal assistant called Jackie. \n\nToday's date is {{ $today.format('yyyy-MM-dd') }}.\n\nGuidelines:\n- When summarizing emails, include Sender, Message date, subject, and brief summary of email.\n- if the user did not specify a date in the request assume they are asking for today\n- When answering questions about calendar events, filter out events that don't apply to the question. For example, the question is about events for today, only reply with events for today. Don't mention future events if it's more than 1 week away\n- When creating calendar entry, the attendee email is optional"}},"id":"ef4d845b-f2c6-46fd-b57d-d242c7eac78b","name":"Jackie, AI Assistant 👩🏻‍🏫","type":"@n8n/n8n-nodes-langchain.agent","position":[2896,-288],"typeVersion":1.6}],"connections":{"If":{"main":[[{"node":"Get Voice File","type":"main","index":0}],[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"main","index":0}]]},"Get Email":{"ai_tool":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"ai_tool","index":0}]]},"OpenRouter":{"ai_languageModel":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"ai_languageModel","index":0}]]},"Send Email":{"ai_tool":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"ai_tool","index":0}]]},"Voice or Text":{"main":[[{"node":"If","type":"main","index":0}]]},"Get Voice File":{"main":[[{"node":"Transcribe a recording","type":"main","index":0}]]},"Google Calendar":{"ai_tool":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"ai_tool","index":0}]]},"Window Buffer Memory":{"ai_memory":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"ai_memory","index":0}]]},"Transcribe a recording":{"main":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"main","index":0}]]},"Listen for incoming events":{"main":[[{"node":"Voice or Text","type":"main","index":0}]]},"Create a task in Google Tasks":{"ai_tool":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"ai_tool","index":0}]]},"Get many tasks in Google Tasks":{"ai_tool":[[{"node":"Jackie, AI Assistant 👩🏻‍🏫","type":"ai_tool","index":0}]]},"Jackie, AI Assistant 👩🏻‍🏫":{"main":[[{"node":"Telegram","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"staticData":null,"meta":{"templateCredsSetupCompleted":true},"pinData":{},"versionId":"3506732a-3feb-4f5a-ad04-e4c49c8ba1b0","activeVersionId":null,"triggerCount":1,"shared":[{"updatedAt":"2025-11-29T20:12:24.570Z","createdAt":"2025-11-29T20:12:24.570Z","role":"workflow:owner","workflowId":"59fKEtwJ3Bj0wfyl","projectId":"sYuiFAb87pAir6jV"}],"activeVersion":null,"tags":[]}