{
  "name": "Transform voice memos into daily journals & tasks with OMI.ME & Gemini AI",
  "nodes": [
    {
      "id": "97ef51c3-4852-4f3f-89a5-626e7f9f54db",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -80,
        1376
      ]
    },
    {
      "id": "39f24614-e1d1-4810-b45d-e78751f260eb",
      "name": "Do Nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        368,
        1488
      ]
    },
    {
      "id": "a325acc5-eb1c-432e-bfac-8dc39045d9fb",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -80,
        512
      ]
    },
    {
      "id": "1cf29a24-eba2-433c-ae35-8a4608e29fab",
      "name": "Google Drive2",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        144,
        512
      ]
    },
    {
      "id": "86807def-0281-4c08-9f64-b2e7e9cce261",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        368,
        512
      ]
    },
    {
      "id": "81845ca4-e5c7-4f8e-befc-6b97eabac064",
      "name": "Replace Me",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1616,
        576
      ]
    },
    {
      "id": "156cb10a-fdfc-4ccf-ba59-c0d8d65c86a1",
      "name": "Google Drive3",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        592,
        512
      ]
    },
    {
      "id": "e81c5562-ea91-43dc-ba4a-ccb80e92f622",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        800,
        512
      ]
    },
    {
      "id": "a7611e18-8f1f-4d27-a204-d212b08a7ae9",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1408,
        512
      ]
    },
    {
      "id": "f76c66b7-ea32-4cbd-9c71-503262d0afd4",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        800,
        208
      ]
    },
    {
      "id": "c41efe9e-db30-4ac0-964d-5f441f0890e0",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1024,
        112
      ]
    },
    {
      "id": "5a491bc8-d35f-470c-997d-3870be422798",
      "name": "Convert to File2",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1616,
        208
      ]
    },
    {
      "id": "83fc29dc-0a80-46da-8ea5-2418ef5cffee",
      "name": "Edit Fields4",
      "type": "n8n-nodes-base.set",
      "position": [
        1408,
        208
      ]
    },
    {
      "id": "b6935b7e-ff18-4cdb-8174-c3360097757a",
      "name": "Edit Fields5",
      "type": "n8n-nodes-base.set",
      "position": [
        1104,
        512
      ]
    },
    {
      "id": "bf3be7ec-423e-4c42-8bb6-4f507eb334d0",
      "name": "Sort",
      "type": "n8n-nodes-base.sort",
      "position": [
        592,
        208
      ]
    },
    {
      "id": "562ddbef-d1a5-4a44-8109-62e9a8e599ad",
      "name": "Google Drive5",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2064,
        112
      ]
    },
    {
      "id": "90675981-7e11-4ad2-b8cd-09a3c61e8d7f",
      "name": "Google Drive6",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2288,
        112
      ]
    },
    {
      "id": "979f11d5-c2f1-43a7-a795-daffe5df2f96",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1120,
        320
      ]
    },
    {
      "id": "15d59686-6b85-4225-be66-0f7c7ff15cf5",
      "name": "Check for Tasks",
      "type": "n8n-nodes-base.if",
      "position": [
        592,
        1488
      ]
    },
    {
      "id": "56379c1d-c403-4ce8-b693-c00b40f3e9fd",
      "name": "extract tasks",
      "type": "n8n-nodes-base.set",
      "position": [
        800,
        1488
      ]
    },
    {
      "id": "9eb6c292-3257-48f8-9457-aad51f57415a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        944
      ],
      "parameters": {
        "width": 1780,
        "height": 720,
        "content": "## Capture Memories to Google Drive and Google Tasks\nThis extracts memories for daily journal and long term storage, as well as actions to Google tasks. Swap out the google tasks node for any todo lis"
      }
    },
    {
      "id": "262b9016-6fd1-49fe-90d4-b0a7f1f3627c",
      "name": "Check if app ran on memory",
      "type": "n8n-nodes-base.if",
      "position": [
        144,
        1376
      ]
    },
    {
      "id": "ecc91ac7-ee1f-446f-8f40-4a3957a1d5d6",
      "name": "Fix Transcript and extract relevant values",
      "type": "n8n-nodes-base.set",
      "position": [
        368,
        1280
      ]
    },
    {
      "id": "3cc8c1ec-18eb-4476-81f7-eea992e5fca9",
      "name": "Upload Daily Summary to GDrive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1024,
        1088
      ]
    },
    {
      "id": "64bbdd80-1f06-4498-91f0-f68150ccef12",
      "name": "Build Markdown Transcription",
      "type": "n8n-nodes-base.set",
      "position": [
        592,
        1184
      ]
    },
    {
      "id": "92109792-a1b6-4abd-ba3b-539396eb2524",
      "name": "Convert Transcription to MD file",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        800,
        1184
      ]
    },
    {
      "id": "21fcf0f9-3131-4388-9443-0b7a0f200c68",
      "name": "Upload Transcription to Gdrive for Long Term",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1024,
        1280
      ]
    },
    {
      "id": "8c6d3263-da74-4978-be31-d6b3e31f7291",
      "name": "Split Out tasks",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1024,
        1488
      ]
    },
    {
      "id": "20bb24be-b16e-4ed3-92d3-ce5f5febeaa4",
      "name": "Create Google Tasks",
      "type": "n8n-nodes-base.googleTasks",
      "position": [
        1248,
        1488
      ]
    },
    {
      "id": "19b85531-9bd7-4054-9c6f-a23da25ede44",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -80
      ],
      "parameters": {
        "width": 2740,
        "height": 980,
        "content": "## Daily Journal\nThis workflow captures daily memory summaries from the OMI AI pendant and turns them into structured journal entries and actionable tasks. Memories are stored in Google Drive as Markd"
      }
    },
    {
      "id": "ac35d688-bcb9-4cb2-8671-1d95ec146ecd",
      "name": "Google Drive4",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1840,
        208
      ]
    }
  ],
  "connections": {
    "Sort": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Replace Me",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Check if app ran on memory",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent1": {
      "main": [
        [
          {
            "node": "Edit Fields4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Replace Me": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields4": {
      "main": [
        [
          {
            "node": "Convert to File2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields5": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive2": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive3": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive4": {
      "main": [
        [
          {
            "node": "Google Drive5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive5": {
      "main": [
        [
          {
            "node": "Google Drive6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "extract tasks": {
      "main": [
        [
          {
            "node": "Split Out tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for Tasks": {
      "main": [
        [
          {
            "node": "extract tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Sort",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Google Drive3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out tasks": {
      "main": [
        [
          {
            "node": "Create Google Tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File2": {
      "main": [
        [
          {
            "node": "Google Drive4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Google Drive2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Edit Fields5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Check if app ran on memory": {
      "main": [
        [
          {
            "node": "Fix Transcript and extract relevant values",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Do Nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Markdown Transcription": {
      "main": [
        [
          {
            "node": "Convert Transcription to MD file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Transcription to MD file": {
      "main": [
        [
          {
            "node": "Upload Transcription to Gdrive for Long Term",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload Daily Summary to GDrive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fix Transcript and extract relevant values": {
      "main": [
        [
          {
            "node": "Build Markdown Transcription",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check for Tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}