{
  "name": "Sync Zendesk tickets with subsequent comments to Jira issues",
  "nodes": [
    {
      "id": "b374f136-0050-40ea-b889-03c1e20a161e",
      "name": "IF",
      "type": "n8n-nodes-base.if",
      "position": [
        1000,
        300
      ]
    },
    {
      "id": "52e85300-9a2f-45e9-973e-0fda49a50bf1",
      "name": "Create issue",
      "type": "n8n-nodes-base.jira",
      "position": [
        1180,
        400
      ]
    },
    {
      "id": "85c93002-95d3-434d-b9e9-10ef714432b1",
      "name": "Update ticket",
      "type": "n8n-nodes-base.zendesk",
      "position": [
        1360,
        400
      ]
    },
    {
      "id": "3aa0dff6-f4a5-47c1-9843-271b78bfbf36",
      "name": "Get ticket",
      "type": "n8n-nodes-base.zendesk",
      "position": [
        640,
        300
      ]
    },
    {
      "id": "efd1f838-226f-4869-83f8-086d31f8a9bc",
      "name": "Determine",
      "type": "n8n-nodes-base.function",
      "position": [
        820,
        300
      ]
    },
    {
      "id": "41a1c04b-561b-41e3-be6e-fc953319abc1",
      "name": "Create comment to existing issue",
      "type": "n8n-nodes-base.jira",
      "position": [
        1180,
        200
      ]
    },
    {
      "id": "33e0121e-703d-4c60-b257-a89a99db771a",
      "name": "On new Zendesk ticket",
      "type": "n8n-nodes-base.webhook",
      "position": [
        460,
        300
      ]
    }
  ],
  "connections": {
    "IF": {
      "main": [
        [
          {
            "node": "Create comment to existing issue",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create issue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Determine": {
      "main": [
        [
          {
            "node": "IF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get ticket": {
      "main": [
        [
          {
            "node": "Determine",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create issue": {
      "main": [
        [
          {
            "node": "Update ticket",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On new Zendesk ticket": {
      "main": [
        [
          {
            "node": "Get ticket",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}