Workflow: Githubtrigger Workflow
Integrations: githubTrigger, if, slack, stopAndError

{"nodes": [{"name": "Github Trigger", "type": "n8n-nodes-base.githubTrigger", "position": [500, 350], "parameters": {"owner": "n8n-io", "events": ["star"], "repository": "n8n"}, "credentials": {"githubApi": ""}, "typeVersion": 1, "id": "ffae8fb1-d8ab-4818-9a15-0ed876ef3f5a", "notes": "This githubTrigger node performs automated tasks as part of the workflow."}, {"name": "If Node", "type": "n8n-nodes-base.if", "position": [700, 350], "parameters": {"conditions": {"string": [{"value1": "={{$node[\"Github Trigger\"].data[\"body\"][\"action\"]}}", "value2": "created"}]}}, "typeVersion": 1, "id": "bd0d3437-ccd4-4105-bb57-e4f64d21b972", "notes": "This if node performs automated tasks as part of the workflow."}, {"name": "Slack - Add", "type": "n8n-nodes-base.slack", "position": [900, 250], "parameters": {"channel": "#general", "attachments": [{"text": "=The project has now: {{$node[\"Github Trigger\"].data[\"body\"][\"repository\"][\"stargazers_count\"]}} Stars", "color": "#88FF00", "title": "=Got new star from: {{$node[\"Github Trigger\"].data[\"body\"][\"sender\"][\"login\"]}}", "image_url": "{{ $env.BASE_URL }}", "title_link": "={{$node[\"Github Trigger\"].data[\"body\"][\"sender\"][\"html_url\"]}}"}], "otherOptions": {}}, "credentials": {"slackApi": ""}, "typeVersion": 1, "id": "604349ef-3145-47bb-a9cd-02232f598a56", "notes": "This slack node performs automated tasks as part of the workflow."}, {"name": "Slack - Remove", "type": "n8n-nodes-base.slack", "position": [900, 450], "parameters": {"channel": "#general", "attachments": [{"text": "=The project has now: {{$node[\"Github Trigger\"].data[\"body\"][\"repository\"][\"stargazers_count\"]}} Stars", "color": "#ff0000", "title": "=Star got removed by: {{$node[\"Github Trigger\"].data[\"body\"][\"sender\"][\"login\"]}}", "image_url": "{{ $env.BASE_URL }}", "title_link": "={{$node[\"Github Trigger\"].data[\"body\"][\"sender\"][\"html_url\"]}}"}], "otherOptions": {}}, "credentials": {"slackApi": ""}, "typeVersion": 1, "id": "2c5a6249-289e-4f7a-a492-42dccd1d45fa", "notes": "This slack node performs automated tasks as part of the workflow."}, {"id": "error-2fc296d9", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [1000, 400], "parameters": {"message": "Workflow execution error", "options": {}}}], "connections": {}, "name": "Githubtrigger Workflow", "description": "Automated workflow: Githubtrigger Workflow. This workflow processes data and performs automated tasks.", "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "meta": {"instanceId": "workflow-4cd7adae", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:45.111438", "updatedAt": "2025-09-29T07:07:45.111450", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "notes": "Excellent quality workflow: Githubtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}