{
  "nodes": [
    {
      "id": "b0666d55-56b6-44e0-b37d-b220ddd40cd1",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        96,
        80
      ],
      "parameters": {
        "path": "note-submitter",
        "options": {},
        "httpMethod": "POST",
        "authentication": "headerAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "b99f3211-301c-439f-b881-004856f73343",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        -48
      ],
      "parameters": {
        "width": 1300,
        "height": 320,
        "content": "## Capture Meetings to Obsidian - submitMeetingNote\n[iOS Shortcut.](https://www.icloud.com/shortcuts/f97a1f2ad52648e5998caf321a482890) This workflow receives structured note content from the iOS Shortcut, converts it into a `.md` file, and uploads it to Google Drive. It's perfect for capturing meeting notes on the go and syncing them with Obsidian if your vault is backed by Google Drive. The workflow avoids using the Obsidian API by leveraging file-based sync, but it can be adapted for API-based vaults as well."
      },
      "typeVersion": 1
    },
    {
      "id": "543533da-0d60-424c-a7a7-db0a03eadb68",
      "name": "Build Markdown Transcription",
      "type": "n8n-nodes-base.set",
      "position": [
        416,
        80
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "966f5f56-a9f2-40ba-b3ce-316f8bf13eed",
              "name": "text",
              "type": "string",
              "value": "={{ $json.body.text }}"
            },
            {
              "id": "0cd8b777-e890-4c7e-bc91-414c20ee0b94",
              "name": "filename",
              "type": "string",
              "value": "={{ $json.body.filename }}"
            },
            {
              "id": "eef0649d-b533-422e-874a-e0b92c8cc7da",
              "name": "title",
              "type": "string",
              "value": "={{ $json.body.title }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "1530c006-7029-4d19-b69f-d75232149c1c",
      "name": "Convert Transcription to MD file",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        688,
        80
      ],
      "parameters": {
        "options": {
          "encoding": "utf8",
          "fileName": "={{ $('Build Markdown Transcription').item.json.filename }}"
        },
        "operation": "toText",
        "sourceProperty": "text"
      },
      "typeVersion": 1.1
    },
    {
      "id": "54ae6a77-c980-411a-bc7e-a808907d7003",
      "name": "Upload Transcription to Gdrive for Long Term",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1008,
        80
      ],
      "parameters": {
        "name": "={{ $('Build Markdown Transcription').item.json.filename }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "1Q6rLsmVziOg49838lNKjCUPbxZ8HxGsz",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1Q6rLsmVziOg49838lNKjCUPbxZ8HxGsz",
          "cachedResultName": "Meetings"
        }
      },
      "typeVersion": 3
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Build Markdown Transcription",
            "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
          }
        ]
      ]
    }
  }
}