{"id":20991346,"url":"https://github.com/adityachandak287/netlify-slack-webhook","last_synced_at":"2026-05-18T15:09:36.012Z","repository":{"id":47463321,"uuid":"333535426","full_name":"adityachandak287/netlify-slack-webhook","owner":"adityachandak287","description":"Get around Netlify and Slack premium integrations by getting netlify build notifications sent to your slack channels using webhooks.","archived":false,"fork":false,"pushed_at":"2021-01-28T10:56:12.000Z","size":103,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T08:13:18.106Z","etag":null,"topics":["lambda","netlify","serverless","slack","webhooks"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adityachandak287.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-27T19:22:33.000Z","updated_at":"2022-07-20T21:31:01.000Z","dependencies_parsed_at":"2022-09-05T23:40:09.802Z","dependency_job_id":null,"html_url":"https://github.com/adityachandak287/netlify-slack-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityachandak287%2Fnetlify-slack-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityachandak287%2Fnetlify-slack-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityachandak287%2Fnetlify-slack-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityachandak287%2Fnetlify-slack-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adityachandak287","download_url":"https://codeload.github.com/adityachandak287/netlify-slack-webhook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243401515,"owners_count":20285060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lambda","netlify","serverless","slack","webhooks"],"created_at":"2024-11-19T06:38:27.711Z","updated_at":"2026-05-18T15:09:30.990Z","avatar_url":"https://github.com/adityachandak287.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netlify Slack Webhook\n\u003cimg src=\"https://img.shields.io/badge/Node.js-v12-339933?style=flat\u0026logo=node.js\" alt=\"Serverless badge\" /\u003e \u003cimg src=\"https://img.shields.io/badge/serverless-2.17.0-FD5750?style=flat\u0026logo=serverless\" alt=\"Serverless badge\" /\u003e \u003cimg src=\"https://img.shields.io/badge/AWS-Lambda-orange?style=flat\u0026logo=amazon-aws\" alt=\"AWS Lambda badge\" /\u003e \u003cimg src=\"https://img.shields.io/badge/Netlify--00C7B7?style=flat\u0026logo=netlify\" alt=\"Netlify badge\" /\u003e \u003cimg src=\"https://img.shields.io/badge/Slack--4A154B?style=flat\u0026logo=slack\" alt=\"Slack badge\" /\u003e\n\n\nGet around Netlify and Slack premium integrations by getting netlify build notifications sent to your slack channels using webhooks.\n\n## `What is this?`\n\nThis project helps you get build notifications from netlify into your slack channel. The architecure looks something like this:\n\n\u003cimg src=\"media/architecture-diagram.png\" /\u003e\n\n## `Instructions`\n\nWant to use this project? Follow these steps:\n\n### `Step 1`: **Setup Slack App to accept incoming webhooks**\n\nGo to https://api.slack.com/apps\n\nCreate a new App. Enter name and choose workspace.\n\nUnder `Add features and functionality` choose `Incoming Webhooks`.\n\nToggle `Activate Incoming Webhooks` on.\n\nAdd new webhook to workspace -\u003e Select the `channel` you wish to receive message notifications in -\u003e Allow\n\nMake note of the `Webhook URL`, we will need it in the later steps.\n\n### `Step 2`: **Deploy AWS Lambda Function**\n\nI used [Serverless](https://www.serverless.com/) to package and deploy the function. You can use your service of choice.\n\nMake sure your `.env` file looks like `.env.sample`. Paste the `Webhook URL` from above as the `SLACK_HOOK_URL`\n\n```bash\nnpm install -g serverless\nserverless deploy\n# If you want to deploy to a specific AWS profile\nserverless deploy --aws-profile \u003cspecific-aws-profile\u003e\n```\n\nMake note of the `API Gateway Endpoint` after the function is deployed.\n\nNote:\n\n- Make sure your AWS credentials are set correctly.\n- You can change the way the messages look by referring to https://api.slack.com/messaging/composing\n\n### `Step 3`: **Setup outgoing Webhooks on Netlify**\n\nGo to your site on netlify.\n\nSite Settings -\u003e Build \u0026 Deploy -\u003e Deploy Notifications\n\nAdd Notification -\u003e Outgoing Webhook\n\nEnter the `API Gateway Endpoint` we got from deploying the AWS Lambda.\n\nNote: You will have to do this for every event you want to get a notification for.\n\n## `Demo`\n\nThis is what the messages look like in Slack.\n\n\u003cimg src=\"media/messages.png\" alt=\"messages-sample\" width=\"320px\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityachandak287%2Fnetlify-slack-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityachandak287%2Fnetlify-slack-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityachandak287%2Fnetlify-slack-webhook/lists"}