Ready-made recipe · ai
Github → OpenAI → GitHub
A new GitHub issue is classified by OpenAI (bug, question, feature...) and the result is left as a comment on the issue.
Steps
- When when a new github issue is opened — Github node only reads
- Then classify it with openai — OpenAI node can be undone
- Then add a comment on the issue — GitHub node can’t be undone
Fields to fill (6)
The file has every node wired up. These are the blanks only you can fill (your form, your sheet, your words).
| Node | What to do |
|---|---|
| Github | fill owner (Repository Owner) |
| Github | fill repository (Repository Name) |
| OpenAI | fill modelId (Model) |
| GitHub | fill owner (Repository Owner) |
| GitHub | fill repository (Repository Name) |
| GitHub | fill body (what it should say) — the AI step's output: run that node once in n8n and pick its output field |
Accounts to connect (3)
In n8n, pick or add a credential on each node — one of the types below.
- Github:
githubApiorgithubOAuth2ApiorgithubAppApi - OpenAI:
openAiApi - GitHub:
githubApiorgithubOAuth2ApiorgithubAppApi
- Run it on Apify — type your own sentence, get the workflow back in seconds. Open Bridgecore on Apify (pay per use, $0.02–$0.05; nothing charged on errors).
- Ask your AI — add the MCP server
https://mcp.usebridgecore.com/to Claude, Cursor or any MCP client, then just say what should happen. Tools:do,find_recipe,plan_automation,make_n8n_workflow. Free to plan. - Ask me first — add “and ask me first” to any step (“… and post it on X and ask me first”) and the workflow sends you an Approve / Decline message (Slack, Telegram or Gmail) before that step runs. Nothing is sent, posted, deleted or paid until you tap Approve; no answer in a day = declined.
Get the n8n file
Download github-issue-classify-comment.json
- Open a new, empty workflow in n8n.
- Open the workflow menu (⋯) and choose Import from File — or copy the JSON below and paste it onto the canvas (Ctrl/Cmd+V).
- Connect the accounts, fill the fields above, run one test, then turn the workflow on.
Or copy the JSON
{
"name": "A new GitHub issue is classified by OpenAI (bug",
"nodes": [
{
"id": "n1",
"name": "Github Trigger",
"type": "n8n-nodes-base.githubTrigger",
"typeVersion": 1,
"parameters": {
"events": [
"issues"
],
"owner": {
"__rl": true,
"mode": "list",
"value": ""
},
"repository": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"position": [
240,
300
],
"notes": "step: when a new github issue is opened · reversibility: read-only"
},
{
"id": "n2",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"typeVersion": 2.3,
"parameters": {
"resource": "text",
"operation": "response",
"responses": {
"values": [
{
"type": "text",
"role": "user",
"content": "=Classify it:\n\n{{ JSON.stringify($json) }}"
}
]
},
"modelId": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"position": [
460,
300
],
"notes": "step: classify it with openai · reversibility: reversible"
},
{
"id": "n3",
"name": "GitHub",
"type": "n8n-nodes-base.github",
"typeVersion": 1.1,
"parameters": {
"resource": "issue",
"operation": "createComment",
"owner": {
"__rl": true,
"mode": "list",
"value": ""
},
"repository": {
"__rl": true,
"mode": "list",
"value": ""
},
"issueNumber": 0,
"body": ""
},
"position": [
680,
300
],
"notes": "step: add a comment on the issue · reversibility: irreversible"
}
],
"connections": {
"Github Trigger": {
"main": [
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"main": [
[
{
"node": "GitHub",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"active": false
}