Slack Reacjilator Demo

by slackAPI


Reacjilator for Slack

Reacjilator translates a message when a user reacted with an emoji ("reacji"). For example, when a message gets a :flag-jp: reacji, this bot translate the original message to Japanese and post it under the message thread.

Reacjilator demo

Host Your Own & Run the Bot on Your Slack Workspace

Set Up Your Slack App

  1. Create an app at your Slack App Setting page at
  2. Enable events, reaction_added and point to
  3. Enable Bot user
  4. Set Scopes:
  • chat:write:bot (Send messages with chat.postMessage by a bot),
  • reactions:read (Access the workspace’s emoji reaction history)
  • channels:read (Access public channels info)
  • channels:history (Access user's public channels)
  • Also, mpim.history etc. all other *.history scopes, if you want the bot to work on private channels and DMs

Deploy This Code on Your Own Server

Rename the .env_test to .env and fill the env vars with yur credentials:


Get Your Slack credentials at:[YOUR_APP_ID]/general at Basic Information, auth token at OAuth & Permissions.

Get your Google Cloud project ID and API key at

...or use this Heroku button to deploy to Heroku server. You just need to fill out the env vars with the info. No need to create an .env file.


When you deploy to Heroku, the request URL for the Event Subscription section on Slack App config page would be: