{
  "name": "presentation_creator",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "presentation-builder",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "id": "debe8dde-85cd-4bf1-8148-fe22903064f8",
      "name": "Presentation Builder"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=# Generate the text for a classy presentation using this call transcript and call summary for a call sent by Acme Corm to one of their prospects:\n\n### Call Transcript:\n\n{{ $json['call transcript'] }}\n\n\n### Call Summary:\n\n{{ $json['call summary'] }}",
        "batching": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.7,
      "position": [
        224,
        0
      ],
      "id": "a81e0b9e-199d-4974-bf2e-1b0846d589f1",
      "name": "generate text"
    },
    {
      "parameters": {
        "authentication": "serviceAccount",
        "operation": "copy",
        "fileId": {
          "__rl": true,
          "value": "1eAFTA_QnuWdP0-yUsKDoSlOnqe4s4K2sD21C46L3qJQ",
          "mode": "list",
          "cachedResultName": "presentation",
          "cachedResultUrl": "https://docs.google.com/presentation/d/1eAFTA_QnuWdP0-yUsKDoSlOnqe4s4K2sD21C46L3qJQ/edit?usp=drivesdk"
        },
        "name": "File Name",
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        592,
        0
      ],
      "id": "ecc08ced-95a0-4113-baa4-2d9e63688790",
      "name": "Duplicate template",
      "credentials": {
        "googleApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "authentication": "serviceAccount",
        "operation": "replaceText",
        "presentationId": "={{ $json.id }}",
        "textUi": {
          "textValues": [
            {
              "text": "={{ text to replace }}",
              "replaceText": "={{ $('generate text').item.json.text }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSlides",
      "typeVersion": 2,
      "position": [
        800,
        0
      ],
      "id": "5dec6456-5524-4da8-9e88-e53697e94114",
      "name": "Google Slides - Replace text",
      "credentials": {
        "googleApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-5",
          "mode": "list",
          "cachedResultName": "gpt-5"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        224,
        192
      ],
      "id": "e0d7391b-9835-4909-9b04-870de021c79f",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Presentation Builder": {
      "main": [
        [
          {
            "node": "generate text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "generate text": {
      "main": [
        [
          {
            "node": "Duplicate template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Duplicate template": {
      "main": [
        [
          {
            "node": "Google Slides - Replace text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "generate text",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ec66dcd5-0130-4476-824b-bf4926621d9c",
  "id": "jRHDo8cp7QTbvH5H",
  "tags": [
    {
      "createdAt": "2025-06-08T14:41:22.944Z",
      "updatedAt": "2025-06-08T14:41:22.944Z",
      "id": "nK13yz0RxwNTem32",
      "name": "Lead Magnet"
    }
  ]
}