پیش‌نمایش گردش‌کار۳ گره · دستی

از بوم n8n به‌صورت دستی شروع کن.

شروع کار

JSON را دریافت و گزینهٔ Import from File را در منوی بوم n8n انتخاب کن. گره‌های Code را بررسی کن و محرک دستی را با ورودی ساختگی داخل نمونه اجرا کن.

راهنمای ورود گردش‌کار به n8n

سازگاری و بازبینی

برای محرک دستی و گرهٔ JavaScript Code در n8n طراحی شده است. به دسترسی سرویس نیاز ندارد و چیزی ارسال نمی‌کند. ورود و اجرای کامل در محیط n8n هنوز به بررسی نیاز دارد.

فایل‌های منبع

محتوای اصلی را بررسی کن و هر فایل را جداگانه دریافت کن.

دریافت فایل

{
  "name": "Support Ticket Classification (Betavan demo)",
  "active": false,
  "nodes": [
    {
      "id": "002981bd-18af-556c-8993-c0fa126947ff",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "360a9289-ca3d-55fe-85c2-dfd427457955",
      "name": "Sample Input",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        240,
        0
      ],
      "parameters": {
        "jsCode": "return [{ json: {\"ticketId\": \"DEMO-T21\", \"message\": \"I need a copy of my invoice.\"} }];"
      }
    },
    {
      "id": "23f05467-d41f-5414-8ebf-7119546c4b4d",
      "name": "Transform",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        480,
        0
      ],
      "parameters": {
        "jsCode": "const d = $input.first().json;\nreturn [{ json: {ticketId: d.ticketId, queue: d.message.toLowerCase().includes('invoice') ? 'billing' : 'general', needsReview: true} }];"
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Sample Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sample Input": {
      "main": [
        [
          {
            "node": "Transform",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}