فيديو يوتيوب ← مقال + منشورات سوشيال

كل فيديو جديد يصبح مسودة مقال ومنشور LinkedIn ومنشور X — محفوظة في Notion للمراجعة.

متوسط توفّر ~8 ساعة شهريًا المحتوى والتواصل الاجتماعيبواسطة فريق Flowngn

تعمل مع n8n · Make · Zapier

كيف تعمل

المشغّل: RSS — فيديو جديد على قناتك
  1. اكتشف الفيديو الجديد من خلاصة قناتك.
  2. يكتب الذكاء الاصطناعي مقالًا ومنشور LinkedIn ومنشور X من العنوان والوصف.
  3. احفظ الكل في قاعدة المحتوى على Notion بحالة "للمراجعة".

المخطط

RNew videoRSS Feed TriggerWrite content packBasic LLM ChainClaude modelAnthropic Chat Mo…{ }Read content packCodeNSave drafts to Noti…Notion
مشغّل تطبيق كود ذكاء اصطناعي

الكود

كود JavaScript المستخدم في خطوات Code، وهو مضمَّن بالفعل في القالب بالأسفل.

Read content pack · عقدة Code
// Mode: Run Once for Each Item
// The AI was asked for JSON like {"blog": "...", "linkedin": "...", "x": "..."}.
const match = $json.text.match(/\{[\s\S]*\}/);
const pack = match ? JSON.parse(match[0]) : { blog: $json.text, linkedin: "", x: "" };
const video = $("New video").item.json;

return {
  json: {
    title: video.title,
    link: video.link,
    blog: pack.blog,
    linkedin: pack.linkedin,
    x: pack.x,
  },
};

ابنِها بأداتك

اختر أداتك — نفس الأتمتة، خطوة بخطوة.

انسخه والصقه مباشرة في مساحة عمل n8n (Ctrl+V)، أو حمّله واستخدم Import from File. بعد ذلك اربط حساباتك واستبدل كل قيمة تبدأ بـ YOUR_. خطوات الذكاء الاصطناعي تستخدم نموذج Claude، ويمكنك استبداله بـ OpenAI أو Gemini أو Ollama.

ملف Workflow JSON
عرض الكود (189 سطر)
{
  "name": "فيديو يوتيوب ← مقال + منشورات سوشيال (Flowngn)",
  "nodes": [
    {
      "parameters": {
        "content": "## فيديو يوتيوب ← مقال + منشورات سوشيال\nكل فيديو جديد يصبح مسودة مقال ومنشور LinkedIn ومنشور X — محفوظة في Notion للمراجعة.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
        "height": 260,
        "width": 340
      },
      "id": "4ef499cc-0161-45a2-a7c1-ca5257bbd61d",
      "name": "Setup notes",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -420,
        -60
      ]
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "feedUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=YOUR_CHANNEL_ID"
      },
      "id": "4ef499cc-0161-45a2-a7c1-ca5257bbd61d",
      "name": "New video",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=Turn this YouTube video into a content pack in the creator's voice.\n\nTitle: {{ $json.title }}\nLink: {{ $json.link }}\nDescription: {{ $json.contentSnippet || $json.content }}\n\nReply ONLY with JSON: {\"blog\": \"<600-word blog post in Markdown with headings, embedding the video link>\", \"linkedin\": \"<LinkedIn post under 1200 chars>\", \"x\": \"<X post under 270 chars with the link>\"}"
      },
      "id": "4ef499cc-0161-45a2-a7c1-ca5257bbd61d",
      "name": "Write content pack",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.5,
      "position": [
        300,
        0
      ]
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "claude-sonnet-5",
          "mode": "list"
        },
        "options": {}
      },
      "id": "4ef499cc-0161-45a2-a7c1-ca5257bbd61d",
      "name": "Claude model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "typeVersion": 1.3,
      "position": [
        300,
        220
      ]
    },
    {
      "parameters": {
        "jsCode": "// Mode: Run Once for Each Item\n// The AI was asked for JSON like {\"blog\": \"...\", \"linkedin\": \"...\", \"x\": \"...\"}.\nconst match = $json.text.match(/\\{[\\s\\S]*\\}/);\nconst pack = match ? JSON.parse(match[0]) : { blog: $json.text, linkedin: \"\", x: \"\" };\nconst video = $(\"New video\").item.json;\n\nreturn {\n  json: {\n    title: video.title,\n    link: video.link,\n    blog: pack.blog,\n    linkedin: pack.linkedin,\n    x: pack.x,\n  },\n};",
        "mode": "runOnceForEachItem"
      },
      "id": "4ef499cc-0161-45a2-a7c1-ca5257bbd61d",
      "name": "Read content pack",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        600,
        0
      ]
    },
    {
      "parameters": {
        "resource": "databasePage",
        "operation": "create",
        "databaseId": {
          "__rl": true,
          "value": "YOUR_CONTENT_DATABASE_ID",
          "mode": "id"
        },
        "title": "={{ $json.title }}",
        "propertiesUi": {
          "propertyValues": [
            {
              "key": "LinkedIn|rich_text",
              "textContent": "={{ $json.linkedin }}"
            },
            {
              "key": "X|rich_text",
              "textContent": "={{ $json.x }}"
            },
            {
              "key": "Video|url",
              "urlValue": "={{ $json.link }}"
            },
            {
              "key": "Status|select",
              "selectValue": "Needs review"
            }
          ]
        },
        "blockUi": {
          "blockValues": [
            {
              "type": "paragraph",
              "textContent": "={{ $json.blog }}"
            }
          ]
        },
        "options": {}
      },
      "id": "4ef499cc-0161-45a2-a7c1-ca5257bbd61d",
      "name": "Save drafts to Notion",
      "type": "n8n-nodes-base.notion",
      "typeVersion": 2.2,
      "position": [
        900,
        0
      ]
    }
  ],
  "connections": {
    "New video": {
      "main": [
        [
          {
            "node": "Write content pack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write content pack": {
      "main": [
        [
          {
            "node": "Read content pack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read content pack": {
      "main": [
        [
          {
            "node": "Save drafts to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude model": {
      "ai_languageModel": [
        [
          {
            "node": "Write content pack",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}

← افتحها في ساحة التجربة لتعديلها

نصائح

  • اكتب أوصافًا مفصلة للفيديوهات — أو أضف خدمة تفريغ نصي — لمنشورات أفضل بكثير.

أتمتات مشابهة