{
  "name": "GitHub Issue \u2192 Trello Card",
  "nodes": [
    {
      "parameters": {
        "owner": "your-org",
        "repository": "your-repo",
        "events": [
          "issues"
        ]
      },
      "id": "github",
      "name": "GitHub Trigger",
      "type": "n8n-nodes-base.githubTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "const issue = $input.first().json;\nreturn {\n  name: issue.title,\n  description: `${issue.body}\\n\\n---\\nCreated by: ${issue.user?.login}\\nGitHub: ${issue.html_url}`,\n  listId: issue.labels?.[0]?.name === 'bug' ? 'bug-list-id' : 'feature-list-id'\n};"
      },
      "id": "format",
      "name": "Format Card",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "operation": "create",
        "boardId": "",
        "listId": "={{ $json.listId }}",
        "name": "={{ $json.name }}",
        "description": "={{ $json.description }}"
      },
      "id": "trello",
      "name": "Trello Card",
      "type": "n8n-nodes-base.trello",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    }
  ],
  "connections": {
    "GitHub Trigger": {
      "main": [
        [
          {
            "node": "Format Card",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Card": {
      "main": [
        [
          {
            "node": "Trello Card",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}