8
n8n 한국어amn8n.com

배포 후 n8n API를 사용하여 태그가 지정된 워크플로우 자동 시작

초급

이것은Engineering분야의자동화 워크플로우로, 5개의 노드를 포함합니다.주로 If, N8n, ManualTrigger 등의 노드를 사용하며. 배포 후 n8n API를 사용하여 태그가 지정된 워크플로 자동 시작

사전 요구사항
  • 특별한 사전 요구사항 없이 가져와 바로 사용 가능합니다

사용된 노드 (5)

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "nodes": [
    {
      "id": "142277c6-73a5-4b99-9e94-72655bbe0ea8",
      "name": "n8n",
      "type": "n8n-nodes-base.n8n",
      "position": [
        -420,
        -120
      ],
      "parameters": {
        "filters": {},
        "requestOptions": {}
      },
      "credentials": {
        "n8nApi": {
          "id": "4v19HuBPwx43oswi",
          "name": "n8n account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6adf03cb-4194-4616-99d0-6495a660c283",
      "name": "TAG? Auto start",
      "type": "n8n-nodes-base.if",
      "position": [
        -180,
        -120
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "03241d00-9ec1-4215-8036-2d219a7874cb",
              "operator": {
                "type": "array",
                "operation": "contains",
                "rightType": "any"
              },
              "leftValue": "={{ $json.tags.map((obj) => obj.name) }}",
              "rightValue": "Auto start"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "8bd4868a-6dec-48b9-8593-36badf42d7ff",
      "name": "n8n1",
      "type": "n8n-nodes-base.n8n",
      "position": [
        100,
        -120
      ],
      "parameters": {
        "operation": "activate",
        "workflowId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "requestOptions": {}
      },
      "credentials": {
        "n8nApi": {
          "id": "4v19HuBPwx43oswi",
          "name": "n8n account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c2b7a716-ab5f-4e49-b340-eab6721c52e4",
      "name": "클릭 시 ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -640,
        -120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0090a343-73fd-4c53-b80b-27dd2789a849",
      "name": "메모4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -680,
        -580
      ],
      "parameters": {
        "color": 5,
        "width": 620,
        "height": 420,
        "content": "# Auto Starter\n\nOn importing workflows these will not be auto started, even if the old version was running. To fix this we created this workflow that can be run after n8n starts. It fits in our auto deploy pipeline and modified n8n container that will import workflows, start n8n and start the tagged workflows.\n\n- Start this workflow after n8n starts.\n- It will get all workflows in the running n8n instance.\n- If the files have a tag **'Auto start'** the workflow will be started.\n\n\n**Configuration**\n- You need a a **n8n api key** configured."
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "142277c6-73a5-4b99-9e94-72655bbe0ea8": {
      "main": [
        [
          {
            "node": "6adf03cb-4194-4616-99d0-6495a660c283",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6adf03cb-4194-4616-99d0-6495a660c283": {
      "main": [
        [
          {
            "node": "8bd4868a-6dec-48b9-8593-36badf42d7ff",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "142277c6-73a5-4b99-9e94-72655bbe0ea8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

초급 - 엔지니어링

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
초급
노드 수5
카테고리1
노드 유형4
난이도 설명

n8n 초보자를 위한 1-5개 노드의 간단한 워크플로우

저자
Klaasjan te Voortwis

Klaasjan te Voortwis

@voortwis

Hosting to Backend to Frontend engineer, creating software that works for People, listening to the workforce and management.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34