{"id":16696978,"url":"https://github.com/seratch/slack-new-emoji-notification","last_synced_at":"2025-04-10T02:52:10.210Z","repository":{"id":216033975,"uuid":"740299003","full_name":"seratch/slack-new-emoji-notification","owner":"seratch","description":"New Slack Emoji Notifications Built with Slack's Automation Platform","archived":false,"fork":false,"pushed_at":"2024-12-09T02:29:00.000Z","size":351,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T04:22:21.389Z","etag":null,"topics":["automation","deno","slack","typescript"],"latest_commit_sha":null,"homepage":"https://api.slack.com/automation","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seratch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-01-08T03:56:24.000Z","updated_at":"2025-02-05T19:51:01.000Z","dependencies_parsed_at":"2024-01-10T00:32:41.440Z","dependency_job_id":"4bec8fb5-88e9-4a34-9be8-fb02e1d3c8bb","html_url":"https://github.com/seratch/slack-new-emoji-notification","commit_stats":null,"previous_names":["seratch/slack-new-emoji-notification"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fslack-new-emoji-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fslack-new-emoji-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fslack-new-emoji-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fslack-new-emoji-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seratch","download_url":"https://codeload.github.com/seratch/slack-new-emoji-notification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248147064,"owners_count":21055472,"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":["automation","deno","slack","typescript"],"created_at":"2024-10-12T17:45:35.812Z","updated_at":"2025-04-10T02:52:10.184Z","avatar_url":"https://github.com/seratch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## New Slack Emoji Notifications Built with Slack's Automation Platform\n\nThis example demonstrates how to build a \"standard\" (=free) workflow that sends notifications whenever a new emoji is created.\n\n## Getting Started\n\n### Install Slack CLI\n\nIf you are not yet familiar with Slack's Automation platform, I suggest visiting its website to gain an understanding of it: https://api.slack.com/automation To run this app, you must install [the Slack CLI](https://api.slack.com/automation/quickstart) and follow the steps using the `slack login` command.\n\n### Clone this template\n\nRun `slack create -t https://github.com/seratch/slack-new-emoji-notification` to clone this template:\n\n```\n$ slack create -t https://github.com/seratch/slack-new-emoji-notification\n⚙️  Creating a new Slack app in ~/tmp/jolly-turtle-321\n\n📦 Installed project dependencies\n\n✨ jolly-turtle-321 successfully created\n\n🧭 Explore the documentation to learn more\n   Read the README.md or peruse the docs over at api.slack.com/automation\n   Find available commands and usage info with slack help\n\n📋 Follow the steps below to begin development\n   Change into your project directory with cd jolly-turtle-321/\n   Develop locally and see changes in real-time with slack run\n   When you're ready to deploy for production use slack deploy\n\n$ cd jolly-turtle-321/\n```\n\n### Set a valid channel ID to notify new emojis\n\nCreate a new channel to post notifications and copy its channel ID:\n\n\u003cimg src=\"https://github.com/seratch/slack-new-emoji-notification/assets/19658/c803cb04-870d-44b3-993f-3bbc08609a49\" width=600 /\u003e\n\nReplace the channel ID in `workflows/new_emoji_notification.ts` as below:\n\n\u003cimg src=\"https://github.com/seratch/slack-new-emoji-notification/assets/19658/3be6d4ba-86cc-47d6-828c-5c55677d674f\" width=600 /\u003e\n\nIf you want to customize the notification message, you can edit the \"message\" parameter as well.\n\nIf you're an Enterprise Grid customer, you must pass `team_ids` in the trigger definition alongside the channel ID. For more details, please refer to the comment in the code.\n\n### Deploy the app\n\nNow that the app is prepared for deployment, you can run `slack deploy` command. You will be asked to create a trigger. Don't skip creating it. If you fail to create it for some reason, you can do the same with `slack trigger create --trigger-def triggers/emoji_created_event.ts`.\n\n```\n$ slack deploy\n? Choose a deployed environment Install to a new team\n? Install to a new team seratch T03E*****\n\n🔔 If you leave this team, you can no longer manage the installed apps\n   Installed apps will belong to the team if you leave the workspace\n\n📚 App Manifest\n   Created app manifest for \"jolly-turtle-321\" in \"Acme Corp\"\n\n🏠 App Install\n   Installing \"jolly-turtle-321\" app to \"Acme Corp\"\n   Updated app icon: assets/default_new_app_icon.png\n   Finished in 5.9s\n\n⚡ Listing triggers installed to the app...\n   There are no triggers installed for the app\n\n⚡ Create a trigger\n   Searching for trigger definition files under 'triggers/*'...\n   Found 1 trigger definition file\n\n? Choose a trigger definition file: triggers/emoji_created_event.ts\n\n⚡ Trigger successfully created!\n\n   Emoji Creation Trigger Ft06CS8E31V0 (event)\n   Created: 2024-01-07 17:38:42 +09:00 (1 second ago)\n   Collaborators:\n     Kaz Sera @seratch U03E94MK0\n   Can be found and used by:\n     everyone in the workspace\n   Hint:\n     Invite your app to the channel to receive the events\n   Warning:\n     Slack Connect channels are unsupported\n\n\n🎁 App packaged and ready to deploy\n   0.001MB was packaged in 0.1s\n\n🚀 jolly-turtle-321 deployed in 7.5s\n   App Owner:  seratch (U03E*****)\n   Workspace:  Acme Corp (T03E*****)\n   Dashboard:  https://slack.com/apps/A06CPA*****\n\n🌩  Visit Slack to try out your live app!\n   When you make any changes, update your app by re-running slack deploy\n\n💌 We would love to know how things are going\n   Survey your development experience with slack feedback --name platform-improvements\n\n$\n```\n\nWhenever someone creates a new custom emoji, the channel receives a notification like this!\n\n\u003cimg src=\"https://github.com/seratch/slack-new-emoji-notification/assets/19658/072b0da6-1a32-40d4-88be-821b68e2a3dd\" width=600 /\u003e\n\nTo customize the app name and icon, you can modify `manifest.ts` and add your own icon image file within the `assets/` directory.\n\nThat's it :tada: As long as you refrain from adding custom steps to this workflow, Slack's automation platform won't charge addition cost for it. For more information, kindly refer to [the help page](https://slack.com/help/articles/15363357403411).\n\nEnjoy automating anything!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fslack-new-emoji-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseratch%2Fslack-new-emoji-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fslack-new-emoji-notification/lists"}