{"id":19548854,"url":"https://github.com/sbcd90/slack-sendgrid-integration-example","last_synced_at":"2026-06-13T12:02:06.625Z","repository":{"id":146466527,"uuid":"107173627","full_name":"sbcd90/slack-sendgrid-integration-example","owner":"sbcd90","description":"slack sendgrid integration example","archived":false,"fork":false,"pushed_at":"2017-10-17T05:45:41.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T06:31:50.222Z","etag":null,"topics":["java","sendgrid","slack-events-api"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/sbcd90.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-16T19:28:41.000Z","updated_at":"2017-10-16T19:31:08.000Z","dependencies_parsed_at":"2023-07-17T16:34:53.131Z","dependency_job_id":null,"html_url":"https://github.com/sbcd90/slack-sendgrid-integration-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbcd90/slack-sendgrid-integration-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fslack-sendgrid-integration-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fslack-sendgrid-integration-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fslack-sendgrid-integration-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fslack-sendgrid-integration-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbcd90","download_url":"https://codeload.github.com/sbcd90/slack-sendgrid-integration-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fslack-sendgrid-integration-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34283391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["java","sendgrid","slack-events-api"],"created_at":"2024-11-11T03:57:12.780Z","updated_at":"2026-06-13T12:02:06.579Z","avatar_url":"https://github.com/sbcd90.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"slack-sendgrid-integration-example\n==================================\n\nThis project is an example of how to integrate slack events api with Sendgrid mail apis.\nHere we show how for every file comment([link](https://api.slack.com/events/file_comment_added)) posted in slack, we email that immediately to the responsible \nfile owner's email address.\n\nSetup\n=====\n\n- Create a slack app and get a slack application token as shown at this [link](https://api.slack.com/slack-apps).\n\n- Register at sendgrid and get a sendgrid api key as shown at this [link](https://sendgrid.com/docs/Classroom/Send/How_Emails_Are_Sent/api_keys.html).\n\n- Set the system environment variables **SLACK_TOKEN** and **SENDGRID_API_KEY**.\n\n- Build the app using **mvn clean install**\n\n- Use the maven jetty plugin to start the app **mvn jetty:run**\n\n- Download ngrok from [here](https://ngrok.com/) to expose localhost to the web.\n\n- Run the command **ngrok http 8080** to expose **http://localhost:8080** to web.\n\n- Register this url as a callback url in the slack application and choose the file_comment \nevent to be subscribed.\n\n- Install the app to your slack workspace.\n\nIssues\n======\n\nIn case there are issues please report them to Github issues.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbcd90%2Fslack-sendgrid-integration-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbcd90%2Fslack-sendgrid-integration-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbcd90%2Fslack-sendgrid-integration-example/lists"}