

Only owners and admins can enable the Slack Integration. The Slack integration is available on every ClickUp plan! Note: The Slack integration is only available with Slack's web app. Maximize your team's productivity by taking action without ever leaving Slack. The promise has to be resolved to allow you to create async functions and actions on different Action IDs the Slack Admins try to execute.ClickUp's Slack integration allows you to do more than just chat with your teammates. The default lite version and heavier library that ships with some basic default system hooks, both support custom hooks.Īction: // Any action that you want each customer / visitor on your widget / app to execute Just pass an array of actionable custom hooks as a prop to the library.

Submit your ideas for innovative hooks or feature requests. It'll allow you to get any information from the Client or perform any action / function on the Client App.
SLACK CHAT FREE
getScreenshot: Returns the current screenshot of the Client's window / app view.įeel free to add your own custom hooks.getPlatform: Returns the OS of the Client.getCurrentPath: Returns location of the window of the Client.The package imported from the path react-slack-chat/dist/react-slack-chat-with-default-hooks gives you a few hooks ready to use out of the box.Īn Admin can call any hook with the following command via the Slack App documented below: The lite version (default import) ships with NO default system hooks. > All responses of hooks, are only visible to the backend Administrators (Visible to the members in the Slack App). Admins are usually the team members that belong to the Slack Team (Backend). > All hooks can ONLY be executed by Administrators only if the site customer / visitor has the chat window open. closeChatButton: Pass a boolean to add an "x" close button in the corner of the chat window instead of going back to channel list and minimizing.singleUserMode: Pass a boolean to filter messages so the user only sees his/her messages and replies directed at the user in threads on the Slack side.defaultMessage: Prepend a default message to the beginning of the message list, such as an automatic greeting when a user first joins the channel.defaultChannel: Channel name to bypass the channel list and go directly to a specific channel.Executed in Slack with the format Example: debugMode: Pass a boolean ( true/ false) flag to start debug logs. hooks: Custom Action Hooks, let's administrators execute commands.themeColor: A Hex Color value accent you want the widget to be themed with, stylish stuff.helpText: The Help Text visible on the minimized view of the chat Widget.userImage: An image URL for the user / bot (Does not need to be unique).channels: At least one slack channel object needs to be passed for the first channel view.apiToken: The BASE64 ENCODED API Token for the bot you created for your team.Can be Visitor ID / Email ID / CorpID / IP address etc. Import from 'react-slack-chat' īelow are a list of props the `` component accepts React-slack-chat-with-default-hooks.js: Has all the default sytem hooks documented below, you can still add and pass custom keyword based action hooks.Ĭonsuming the default import / lite version: There are no default system hooks, you are free to supply your own custom hooks (Documented below). React-slack-chat: The default import from consuming this library. I've split the library into 2 consumables.
SLACK CHAT INSTALL
Npm install -save react-slack-chat Example Usage:ĭue to the heavy nature of the getScreenshot default system hook (Read about hooks below). Base64 encode your newly created API token and fasten your seat-belts.Throw your website visitors into a Slack Channel Community, where they can search for answers or get replies from online Slack Users. Give your users the Perfect Support / Engagement experience, with the comfort of Slack.


This widget can be integrated as a Live Chat / Help Desk / Discussions for Special Interest Sites in Solo Single Customer Mode (1:1) or Community Chat (Shoutbox) Mode. A Server-less Beautiful Gooey / Material Design Slack Chat Web Integrating Widget.
