8
n8n 한국어amn8n.com

Stripe 인보이스 발행 자동화

중급

이것은자동화 워크플로우로, 14개의 노드를 포함합니다.주로 If, Gmail, Stripe, ClickUp, HttpRequest 등의 노드를 사용하며. ClickUp 및 Gmail 알림을 사용한 Stripe 인보이스 워크플로우 자동화

사전 요구사항
  • Google 계정 및 Gmail API 인증 정보
  • Stripe API Key
  • 대상 API의 인증 정보가 필요할 수 있음

카테고리

-
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "YAlJiB1cYsqCxewZ",
  "meta": {
    "instanceId": "0e1a2b562269befd5dcfc1ff793b9a0d0e907951eac498e2c390de0401708083"
  },
  "name": "Automated Stripe Invoicing",
  "tags": [],
  "nodes": [
    {
      "id": "661eebe4-d77c-4a2e-a138-08c869acaa4e",
      "name": "ClickUp 트리거",
      "type": "n8n-nodes-base.clickUpTrigger",
      "position": [
        160,
        208
      ],
      "webhookId": "5c522447-7a95-4254-b6b0-64391172a78d",
      "parameters": {
        "team": "90151078626",
        "events": [
          "taskStatusUpdated"
        ],
        "filters": {
          "listId": "901510285394"
        },
        "authentication": "oAuth2"
      },
      "typeVersion": 1
    },
    {
      "id": "3613ad72-0147-4808-94a5-73ff6eb52fce",
      "name": "상태 = 송장 발송",
      "type": "n8n-nodes-base.if",
      "position": [
        528,
        208
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "77c57b59-0fa4-4937-9580-aafc1ca5e11a",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.history_items[0].after.status }}",
              "rightValue": "send invoice"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "5a3d85b3-5cda-4dde-90ec-5246c6996e8d",
      "name": "송장 생성",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1264,
        192
      ],
      "parameters": {
        "url": "https://api.stripe.com/v1/invoices",
        "method": "POST",
        "options": {},
        "sendQuery": true,
        "authentication": "predefinedCredentialType",
        "queryParameters": {
          "parameters": [
            {
              "name": "collection_method",
              "value": "send_invoice"
            },
            {
              "name": "customer",
              "value": "={{ $json.id }}"
            },
            {
              "name": "description",
              "value": "Thanks for working with SaviFlow!"
            },
            {
              "name": "due_date",
              "value": "={{ $today.toSeconds() +604800 }}"
            },
            {
              "name": "footer",
              "value": "This is the very cool footer"
            }
          ]
        },
        "nodeCredentialType": "stripeApi"
      },
      "typeVersion": 4.2
    },
    {
      "id": "4f7ab760-d0ea-4bf6-958c-d3dae124616c",
      "name": "고객 생성",
      "type": "n8n-nodes-base.stripe",
      "position": [
        1024,
        192
      ],
      "parameters": {
        "name": "={{ $json.name }}",
        "resource": "customer",
        "operation": "create",
        "additionalFields": {
          "email": "={{ $json.creator.email }}"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e186f44a-1b2a-4d6c-a969-aa914e656936",
      "name": "항목 송장 생성",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1488,
        192
      ],
      "parameters": {
        "url": "https://api.stripe.com/v1/invoiceitems",
        "method": "POST",
        "options": {},
        "sendQuery": true,
        "authentication": "predefinedCredentialType",
        "queryParameters": {
          "parameters": [
            {
              "name": "customer",
              "value": "={{ $('Create Customer').last().json.id }}"
            },
            {
              "name": "amount",
              "value": "={{ $('ClickUp').last().json.custom_fields[1].value *100 }}"
            },
            {
              "name": "description",
              "value": "Thanks for building the coolest automation with SaviFlow"
            },
            {
              "name": "currency",
              "value": "={{ $json.currency }}"
            },
            {
              "name": "invoice",
              "value": "={{ $json.id }}"
            }
          ]
        },
        "nodeCredentialType": "stripeApi"
      },
      "typeVersion": 4.2
    },
    {
      "id": "6188d291-3075-4e73-85f3-7cb095d765f2",
      "name": "송장 발송",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1712,
        192
      ],
      "parameters": {
        "url": "=https://api.stripe.com/v1/invoices/{{ $('Create Invoice').item.json.id }}/send",
        "method": "POST",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "stripeApi"
      },
      "typeVersion": 4.2
    },
    {
      "id": "9b1b3f6e-1365-407a-aed9-51c320d9482a",
      "name": "본인/팀에게 이메일 전송",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1968,
        192
      ],
      "webhookId": "17055906-48f4-453b-8dfd-b150050f01cd",
      "parameters": {
        "sendTo": "={{ $('ClickUp').item.json.custom_fields[0].value }}",
        "message": "=Hi Seb, \n\nCongrats! You have sent a new invoice to {{ $('ClickUp').item.json.name }}\n\nView the task: https://app.clickup.com/t/{{ $('ClickUp Trigger').item.json.task_id }}",
        "options": {
          "appendAttribution": false
        },
        "subject": "Yay! New invoice has been sent",
        "emailType": "text"
      },
      "typeVersion": 2.1
    },
    {
      "id": "71709554-e89e-46db-a457-7b600eea585b",
      "name": "스티키 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 5,
        "width": 460,
        "height": 380,
        "content": "### Watches ClickUp For Updated Status\n\n🚨 Would recommend for this flow to put your Stripe account in \"Test Mode\" when running for the first time 🚨 \n\nJust so you don't risk messing up any of your details on the live account. Would be worth making sure it works by first testing on \"Test Mode\" within Stripe"
      },
      "typeVersion": 1
    },
    {
      "id": "86234a6c-ecf1-490d-9f23-e6d218b81538",
      "name": "스티키 노트1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        80
      ],
      "parameters": {
        "width": 680,
        "height": 300,
        "content": "## Invoice creation and Sending the invoice"
      },
      "typeVersion": 1
    },
    {
      "id": "e718ec9f-4901-406d-95c7-a59c9fd8b96e",
      "name": "스티키 노트2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1888,
        80
      ],
      "parameters": {
        "width": 260,
        "height": 300,
        "content": "### Notify's you or your team that a new invoice has been sent"
      },
      "typeVersion": 1
    },
    {
      "id": "1da341b2-bf43-4474-9210-5f251c3a19eb",
      "name": "스티키 노트3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        80
      ],
      "parameters": {
        "width": 180,
        "height": 300,
        "content": "Creates a new customer in your Stripe Account"
      },
      "typeVersion": 1
    },
    {
      "id": "53aac334-3d04-4f5e-bbe0-c43f8b967933",
      "name": "스티키 노트4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        80
      ],
      "parameters": {
        "height": 300,
        "content": "#### Gets the task that was updated and gets all of that tasks info to be processed in the invoice"
      },
      "typeVersion": 1
    },
    {
      "id": "427f5d4f-eeb7-4525-b5ba-4daa0c44a34b",
      "name": "ClickUp",
      "type": "n8n-nodes-base.clickUp",
      "position": [
        784,
        192
      ],
      "parameters": {
        "id": "={{ $('ClickUp Trigger').item.json.task_id }}",
        "operation": "get",
        "authentication": "oAuth2"
      },
      "typeVersion": 1
    },
    {
      "id": "b28e4195-bf48-4a42-b61e-9166e322e70d",
      "name": "스티키 노트5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -448
      ],
      "parameters": {
        "color": 6,
        "width": 560,
        "height": 368,
        "content": "# Find my Socials: \n\n## YouTube: https://www.youtube.com/@SebGardners\n\n## LinkedIn: https://www.linkedin.com/in/seb-gardner-5b439a260/\n\n# Enjoy!"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "be82212f-4dd5-4301-87e0-781fdac5ea19",
  "connections": {
    "427f5d4f-eeb7-4525-b5ba-4daa0c44a34b": {
      "main": [
        [
          {
            "node": "4f7ab760-d0ea-4bf6-958c-d3dae124616c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6188d291-3075-4e73-85f3-7cb095d765f2": {
      "main": [
        [
          {
            "node": "9b1b3f6e-1365-407a-aed9-51c320d9482a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5a3d85b3-5cda-4dde-90ec-5246c6996e8d": {
      "main": [
        [
          {
            "node": "e186f44a-1b2a-4d6c-a969-aa914e656936",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "661eebe4-d77c-4a2e-a138-08c869acaa4e": {
      "main": [
        [
          {
            "node": "3613ad72-0147-4808-94a5-73ff6eb52fce",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4f7ab760-d0ea-4bf6-958c-d3dae124616c": {
      "main": [
        [
          {
            "node": "5a3d85b3-5cda-4dde-90ec-5246c6996e8d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e186f44a-1b2a-4d6c-a969-aa914e656936": {
      "main": [
        [
          {
            "node": "6188d291-3075-4e73-85f3-7cb095d765f2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3613ad72-0147-4808-94a5-73ff6eb52fce": {
      "main": [
        [
          {
            "node": "427f5d4f-eeb7-4525-b5ba-4daa0c44a34b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급

유료인가요?

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

워크플로우 정보
난이도
중급
노드 수14
카테고리-
노드 유형7
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Seb

Seb

@seb

Hi there 👋 I have been building automations for 2.5 years now, and also build automations B2B. Here to share some cool templates!

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34