The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "GitHub Push \u2192 Discord + Weaviate",
"nodes": [
{
"name": "GitHub Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
240,
300
],
"parameters": {
"path": "github-push",
"httpMethod": "POST",
"responseMode": "onReceived"
}
},
{
"name": "Filter Repos",
"type": "n8n-nodes-base.code",
"position": [
460,
300
],
"parameters": {
"jsCode": "const repo = items[0].json.body?.repository?.name || '';\nconst watched = ['shanebrain-agents','mega-crew','shanebrain_mcp','pico-nerve-endings','mega-crew-stories'];\nif (!watched.includes(repo)) return [];\nconst pusher = items[0].json.body?.pusher?.name || 'unknown';\nconst commits = items[0].json.body?.commits || [];\nconst branch = (items[0].json.body?.ref || '').replace('refs/heads/','');\nreturn [{ json: { repo, pusher, branch, commit_count: commits.length, message: commits[0]?.message || '', url: items[0].json.body?.compare || '' } }];"
}
},
{
"name": "Discord Notify",
"type": "n8n-nodes-base.httpRequest",
"position": [
680,
220
],
"parameters": {
"method": "POST",
"url": "={{ $env.DISCORD_WEBHOOK_URL }}",
"sendBody": true,
"bodyContentType": "json",
"jsonBody": "={\n \"content\": null,\n \"embeds\": [{\n \"title\": \"\ud83d\udd27 Push to `{{ $json.repo }}`\",\n \"description\": \"**{{ $json.commit_count }}** commit(s) on `{{ $json.branch }}`\\n\\n> {{ $json.message }}\",\n \"color\": 7340237,\n \"fields\": [\n { \"name\": \"Pusher\", \"value\": \"{{ $json.pusher }}\", \"inline\": true },\n { \"name\": \"Repo\", \"value\": \"[{{ $json.repo }}](https://github.com/thebardchat/{{ $json.repo }})\", \"inline\": true }\n ],\n \"url\": \"{{ $json.url }}\",\n \"footer\": { \"text\": \"ShaneBrain Ecosystem \u00b7 N8N\" }\n }]\n}"
}
},
{
"name": "Log to ShaneBrain MCP",
"type": "n8n-nodes-base.httpRequest",
"position": [
680,
400
],
"parameters": {
"method": "POST",
"url": "http://localhost:8100/mcp",
"sendBody": true,
"bodyContentType": "json",
"jsonBody": "={\n \"tool\": \"shanebrain_add_knowledge\",\n \"arguments\": {\n \"content\": \"GitHub push to {{ $json.repo }} ({{ $json.branch }}): {{ $json.commit_count }} commit(s) \u2014 {{ $json.message }}\",\n \"source\": \"github-webhook\",\n \"tags\": [\"github\", \"{{ $json.repo }}\", \"push\"]\n }\n}"
}
}
],
"connections": {
"GitHub Webhook": {
"main": [
[
{
"node": "Filter Repos"
}
]
]
},
"Filter Repos": {
"main": [
[
{
"node": "Discord Notify"
},
{
"node": "Log to ShaneBrain MCP"
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
GitHub Push → Discord + Weaviate. Uses httpRequest. Webhook trigger; 4 nodes.
Source: https://github.com/thebardchat/N8N/blob/main/workflows/github_push_notify.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow exposes a webhook-based FAQ endpoint that embeds incoming questions with OpenAI, retrieves relevant knowledge base chunks from Supabase pgvector, and asks Anthropic Claude to answer stri
Agente IA con ChromaDB + Ollama + API Empresa. Uses httpRequest, functionItem. Webhook trigger; 8 nodes.
Customer Embedding RAG Chat (Webhook-based). Uses httpRequest, postgres. Webhook trigger; 8 nodes.
Chatbot-Query-Qdrant. Uses httpRequest, postgres. Webhook trigger; 7 nodes.
Kreativ: RAG Ingestion Pipeline. Uses httpRequest, postgres. Webhook trigger; 5 nodes.