{
  "name": "Convert Fathom meeting transcripts to formatted Google Docs with AI summaries",
  "nodes": [
    {
      "id": "a362776f-d572-4983-9dc6-a161ddd30392",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        96,
        16
      ]
    },
    {
      "id": "73dc3249-bc5d-4676-95e8-bcd4b2fea8e9",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        272,
        16
      ]
    },
    {
      "id": "a4e520d6-c9bd-4060-94b4-e61f7ef38b19",
      "name": "Format Key Parts",
      "type": "n8n-nodes-base.code",
      "position": [
        -368,
        -96
      ]
    },
    {
      "id": "a0653858-8a8c-4cc2-a5e1-c67a0a6d192d",
      "name": "Set Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        432,
        -112
      ]
    },
    {
      "id": "431be23c-a097-4cea-a77d-ee9e9a574ab5",
      "name": "Create as HTML",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        -112
      ]
    },
    {
      "id": "236d20f7-0deb-48bd-b255-b7d72595958a",
      "name": "Convert to Google Doc",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1120,
        -112
      ]
    },
    {
      "id": "4c05b6b7-76ee-4747-8f5c-1fc8f679407b",
      "name": "Upload File as HTML",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        912,
        -112
      ]
    },
    {
      "id": "0387aca5-1023-4606-9983-5e32801bf771",
      "name": "Delete HTML File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1344,
        16
      ]
    },
    {
      "id": "744b6d13-5fb4-4da2-8087-1d20a44bf548",
      "name": "AI Meeting Analysis",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        96,
        -144
      ]
    },
    {
      "id": "dc09aed6-a43b-470a-9463-72699cf38d4b",
      "name": "Transcript Present?",
      "type": "n8n-nodes-base.if",
      "position": [
        -176,
        -96
      ]
    },
    {
      "id": "a7e3e5c0-64be-462c-a86c-2325e783f693",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -272
      ],
      "parameters": {
        "width": 640,
        "height": 464,
        "content": "## Capture Meeting and Validate\nGet all Fathom meeting data, extract + format relevant contents, and validate there's transcript data before triggering the Gemini API request."
      }
    },
    {
      "id": "ac4a64c4-6475-4b1e-a0bb-548a253350a0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        -272
      ],
      "parameters": {
        "width": 576,
        "height": 464,
        "content": "## Perform Meeting Analysis (AI)\nConduct full analysis of the meeting transcript and associated data, and create the meeting notes (summary, actions, etc.)."
      }
    },
    {
      "id": "9a58821a-8ff7-46cd-81e9-4407b69f04d3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        624,
        -272
      ],
      "parameters": {
        "width": 944,
        "height": 464,
        "content": "## Convert to HTML Output and Upload to Google Drive\nGet all the meeting data + the newly generated meeting notes (from Gemini), create in HTML format (with correct MIME type for HTML rendering), crea"
      }
    },
    {
      "id": "bc8793a2-268d-4379-81de-057fe26b0ce7",
      "name": "Improve Page Layout",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1344,
        -160
      ]
    },
    {
      "id": "76eeb8a0-d87a-442c-8cc9-924b7ee28b59",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1472,
        -736
      ],
      "parameters": {
        "width": 816,
        "height": 1168,
        "content": "# **Fathom Meeting Summary & Actions AI Agent**\n  *Transcript → Analysis → Formatted Doc, automatically*\n\nThis workflow automatically converts Fathom meeting transcripts into beautifully formatted Goo"
      }
    },
    {
      "id": "ca149d7b-3a90-4882-bc9d-2dbddf83872c",
      "name": "Get Fathom Meeting",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -560,
        -96
      ]
    },
    {
      "id": "705471d5-b542-49f6-9342-660884907ea4",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        224,
        -496
      ],
      "parameters": {
        "width": 640,
        "height": 192,
        "content": "  ## **Quick Troubleshooting**\n  * **\"Transcript Present?\" fails**: Fathom must send `transcript_merged` with 3+ conversation turns (i.e. only send to Gemini for analysis if there's a genuine transcri"
      }
    },
    {
      "id": "7fd24ad7-f811-42ee-9ca9-fb8490cdf8eb",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -640
      ],
      "parameters": {
        "width": 816,
        "height": 336,
        "content": "## Sample File and Storage Output\n- [Google Doc meeting notes - sample](https://docs.google.com/document/d/1tCC90dIpgb8NtuOJ_jSTCPn4MxORB-XcvwdeljYzC9w/edit?usp=drive_link)\n- Google Drive sample folde"
      }
    }
  ],
  "connections": {
    "Set Fields": {
      "main": [
        [
          {
            "node": "Create as HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create as HTML": {
      "main": [
        [
          {
            "node": "Upload File as HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Key Parts": {
      "main": [
        [
          {
            "node": "Transcript Present?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Fathom Meeting": {
      "main": [
        [
          {
            "node": "Format Key Parts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Meeting Analysis": {
      "main": [
        [
          {
            "node": "Set Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcript Present?": {
      "main": [
        [
          {
            "node": "AI Meeting Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload File as HTML": {
      "main": [
        [
          {
            "node": "Convert to Google Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to Google Doc": {
      "main": [
        [
          {
            "node": "Delete HTML File",
            "type": "main",
            "index": 0
          },
          {
            "node": "Improve Page Layout",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Meeting Analysis",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Meeting Analysis",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}