{
  "name": "Add new products to Stripe when product added to Pipedrive",
  "nodes": [
    {
      "id": "e95fc182-b13e-4eab-852b-66ea821c4129",
      "name": "On product created",
      "type": "n8n-nodes-base.pipedriveTrigger",
      "position": [
        440,
        500
      ]
    },
    {
      "id": "a64af9df-3084-4376-ace9-50f0f21bbf35",
      "name": "Set item to only current product data",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        680,
        500
      ]
    },
    {
      "id": "79b265a9-4021-4a1a-9b4a-4f3aeace9fe5",
      "name": "Create product in Stripe",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        900,
        660
      ]
    },
    {
      "id": "69e40a2b-1680-42f9-add9-cbef9bc0f63f",
      "name": "Add created product Id to data",
      "type": "n8n-nodes-base.merge",
      "position": [
        1320,
        520
      ]
    },
    {
      "id": "bc7428ba-829f-4a9b-af61-ea11c102d1d3",
      "name": "Keep only productId of created product",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        660
      ]
    },
    {
      "id": "8571acfb-8ee9-410d-a5ca-9b173d034202",
      "name": "Create price records in Stripe",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1760,
        520
      ]
    },
    {
      "id": "f849ae73-aa7d-49b2-81a9-7470278d30a3",
      "name": "Split prices to seperate items",
      "type": "n8n-nodes-base.itemLists",
      "position": [
        1540,
        520
      ]
    }
  ],
  "connections": {
    "On product created": {
      "main": [
        [
          {
            "node": "Set item to only current product data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create product in Stripe": {
      "main": [
        [
          {
            "node": "Keep only productId of created product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add created product Id to data": {
      "main": [
        [
          {
            "node": "Split prices to seperate items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split prices to seperate items": {
      "main": [
        [
          {
            "node": "Create price records in Stripe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set item to only current product data": {
      "main": [
        [
          {
            "node": "Create product in Stripe",
            "type": "main",
            "index": 0
          },
          {
            "node": "Add created product Id to data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Keep only productId of created product": {
      "main": [
        [
          {
            "node": "Add created product Id to data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}