N
n8n Store
Workflow Market
Workflowforn8n_Template

Workflowforn8n_Template

by weblineindia0 views

Description

Categories

🤖 AI & Machine Learning

Nodes Used

n8n-nodes-base.setn8n-nodes-base.setn8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.formTrigger@apify/n8n-nodes-apify.apify@n8n/n8n-nodes-langchain.lmChatOpenAi@n8n/n8n-nodes-langchain.chainSummarization
PriceGratuit
Views0
Last Updated11/28/2025
workflow.json
{
  "id": "88OE2dFM5fYLAbvn",
  "meta": {
    "instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
    "templateCredsSetupCompleted": true
  },
  "name": "Workflowforn8n_Template",
  "tags": [],
  "nodes": [
    {
      "id": "e28c7bca-4a0c-4a4e-ae7a-2512d79a5a58",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        -20
      ],
      "webhookId": "d15dffd9-358e-4101-84d2-a5cf13273423",
      "parameters": {
        "options": {},
        "formTitle": "Youtube Summary",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Youtube URL",
              "placeholder": "Enter youtube url",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Give youtube url and get summary"
      },
      "typeVersion": 2.2
    },
    {
      "id": "74693568-c18d-4abc-8e8d-6a588b2dc362",
      "name": "Apify",
      "type": "@apify/n8n-nodes-apify.apify",
      "position": [
        400,
        -20
      ],
      "parameters": {
        "memory": {},
        "actorId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "",
          "cachedResultName": "Youtube Transcripts"
        },
        "timeout": {},
        "operation": "Run actor",
        "customBody": "={{ $json.youtube.toJsonString() }}",
        "waitForFinish": {}
      },
      "credentials": {
        "apifyApi": {
          "id": "",
          "name": "Apify account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "74f34bf5-5871-41d8-aa78-3fcb138e13c7",
      "name": "Summarization Chain",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        840,
        -20
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2.1
    },
    {
      "id": "cf0c986b-e08c-4d24-ac33-4f7c79aa8376",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        940,
        200
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "234223e9-3e32-4ba4-8b14-482c031328f2",
      "name": "Payload",
      "type": "n8n-nodes-base.set",
      "position": [
        180,
        -20
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={\"youtube\":{\n  \"urls\": [\n    \"{{ $json['Youtube URL'] }}\"\n  ],\n  \"maxRetries\": 8,\n  \"proxyOptions\": {\n    \"useApifyProxy\": true,\n    \"apifyProxyGroups\": [\n      \"BUYPROXIES94952\"\n    ]\n  },\n  \"outputFormat\": \"captions\",\n  \"channelNameBoolean\": true,\n  \"channelIDBoolean\": true,\n  \"dateTextBoolean\": false,\n  \"relativeDateTextBoolean\": false,\n  \"datePublishedBoolean\": true,\n  \"viewCountBoolean\": false,\n  \"likesBoolean\": false,\n  \"commentsBoolean\": false,\n  \"keywordsBoolean\": false,\n  \"thumbnailBoolean\": false,\n  \"descriptionBoolean\": false\n}\n}\n "
      },
      "typeVersion": 3.4
    },
    {
      "id": "d0b521f0-bf9f-4258-8711-56c346210151",
      "name": "Caption",
      "type": "n8n-nodes-base.set",
      "position": [
        620,
        -20
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={\n\"captions\": {{ $json.captions }}\n}\n"
      },
      "typeVersion": 3.4
    },
    {
      "id": "0ea73055-e1db-4eb3-9f42-7388c9f7ec37",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -120
      ],
      "parameters": {
        "width": 1360,
        "height": 440,
        "content": "## Summarize Youtube Video using OpenAI and APify"
      },
      "typeVersion": 1
    },
    {
      "id": "b0d4c309-dd74-404b-b54a-39c89937a6dc",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        360
      ],
      "parameters": {
        "color": 7,
        "width": 1360,
        "content": "## Summary\nUser submits a YouTube URL via a form → the URL is formatted into a payload → Apify actor fetches the video transcript → captions are extracted → OpenAI GPT-4o-mini generates the summary."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c8d39824-58e0-4f78-8583-d572936b9a04",
  "connections": {
    "Apify": {
      "main": [
        [
          {
            "node": "Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Caption": {
      "main": [
        [
          {
            "node": "Summarization Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Payload": {
      "main": [
        [
          {
            "node": "Apify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Summarization Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarization Chain": {
      "main": [
        []
      ]
    }
  }
}

相关工作流