{
  "name": "Voice-to-text AI assistant with Voicenotes, Claude Sonnet & email delivery",
  "nodes": [
    {
      "id": "7fdda682-e8ee-44c6-bf06-ec541a24c65b",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -448,
        -48
      ]
    },
    {
      "id": "0b0463bf-f743-4144-9437-899dc2107e41",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -48,
        -48
      ]
    },
    {
      "id": "4a13883f-e859-48d6-9388-ae89906186d9",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -144,
        208
      ]
    },
    {
      "id": "4a5008e9-b7e2-4252-b459-8b1f50d50ca7",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -224,
        -48
      ]
    },
    {
      "id": "39eecfc9-c96d-4a53-884e-e0465ec7650a",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        784,
        -224
      ]
    },
    {
      "id": "cf163b6e-fc37-4e60-98ed-8dbc8ad44797",
      "name": "Save Prompt",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        992,
        -224
      ]
    },
    {
      "id": "052d2a20-72a9-4de4-9d12-e581d051d0ba",
      "name": "Save Output",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1200,
        -208
      ]
    },
    {
      "id": "ce569030-9299-4312-86e5-38950ed6cf53",
      "name": "Markdown",
      "type": "n8n-nodes-base.markdown",
      "position": [
        800,
        80
      ]
    },
    {
      "id": "de5e068a-bdb0-44c7-9301-3939efd1557b",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        1008,
        80
      ]
    },
    {
      "id": "d16cba15-86aa-4ddc-97db-0bf9e032aa81",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1232,
        80
      ]
    },
    {
      "id": "f5be241c-bc90-4cf1-a874-5952a8e4c810",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "New note with 'prompts' tag is delivered by Voicenotes by webhook"
      }
    },
    {
      "id": "03bccc9f-ccee-4029-8f43-617c45183054",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        -288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "Set the fields to remove CF headers (etc)"
      }
    },
    {
      "id": "a540419d-1cc7-45fc-b70e-6915b722ab24",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -304
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "Prompt is run into AI agent"
      }
    },
    {
      "id": "ed322385-fb1d-4496-a8a9-00014e489dc4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        -368
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "Chain 1: the note is saved to NocoDB"
      }
    },
    {
      "id": "fc3439d2-bd02-4ec1-9b91-6e236438231a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        256
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "Chain 2: the note is converted into HTML and then injected into an email template"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Output": {
      "main": [
        []
      ]
    },
    "Save Prompt": {
      "main": [
        [
          {
            "node": "Save Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Save Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}