12/19/2023 0 Comments Slack message apiNow in the response pane, you should be able to see all the users from the Slack organization. Hit RUN on the top right to execute the query. Set the Authentication type to bearer token and copy the key here from the slack app. Use the following endpoint to fetch all the users from the slack organization. Select Authenticated API under the APIs section. Since this is a secured API, we need to use the bearer token from the slack developer application to use it.Ĭlick on the + icon next to the Data Sources. In the next step, you will connect to the Slack API that will return all the users from the entire organisation. The recommended way to use Appsmith is to use Docker follow the documentation here for detailed instructions if you want to build locally. However, you can always export and import Appsmith apps to different environments (cloud, self-hosted, local). This short tutorial uses the cloud version of Appsmith. Next up, you have to link this configuration to your Appsmith application. profile : read - users : read - identity. Oauth_config : scopes : user : - channels : history - channels : read - files : read - identify - users. Here’s what our oauth configuration looks like: You have to then create an app and then generate OAuth tokens to be able to do this, you need admin access to your organization’s Slack. To pull information from a channel on Slack you need to work with the Slack API. Here's a short tutorial! Connecting Slack API It's the next steps which are unfamiliar for a non-technical user like me: connecting a data source, writing code, and ensuring my app works! For this part, I enlisted my colleague, Vihar's help. It took me under 10 minutes to put this together. Here are the widgets I used to build my UI. I wanted one part of the app to be a list of names of the channel members, a button that could filter out their messages and display them in chronological order. It helps me get a clear idea about what each component looks like and sets the scope. To this end, I created the Appsmith Reading Club App, and here’s what I hoped it would do:Ī way for non-members to also keep track of book recommendationsīe a one-stop-shop to see what Appsmith colleagues are reading without the clutter of the group chatĪs a 'visual person,' and I feel most comfortable mapping out the elements and figuring out a flow. The channel is a great way to share your thoughts, but there is no way of organizing those by name. Even though there are only 26 members in the channel right now, one has to scroll up to get to earlier recommendations! It can be pretty frustrating to do all that when you’re not checking the channel every day, and it can be confusing to go through different recommendations by different members. I expect (and hope) that this channel will have a high volume of messages, and the members are likely to grow. We have a vibrant channel on Slack called the #reading-club, where channel members can share and discuss books they have read. I recently joined Appsmith, and I am one of the few non-technical employees here! And as part of the onboarding process, all new team members have to build an app on Appsmith! It doesn’t matter if you’ve studied journalism and anthropology, have no experience in coding or JavaScript, no excuses! The brief was that it could be fun or functional, and anything under the Sun! Anxiety and panic were having a field day while I thought about what to build and where to start and finally decided on making something fun yet functional for Appsmith.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |