Erudika / scoold-pro

Cloud-ready Q&A platform for the enterprise (self-hosted, on premise)
https://scoold.com
Other
7 stars 0 forks source link

Inject historical Slack threads into Scoold as questions and answers #55

Closed albogdano closed 2 years ago

albogdano commented 3 years ago

... using the "Ask on Scoold" button

albogdano commented 2 years ago

Done! Added for Slack, MS Teams and Mattermost. On Slack and MS Teams, clicking the "Ask on Scoold" button will save the full thread. On Mattermost you will have to first copy the thread link, then run the /scoold save {thread_link} command.

shai-katzir-hs commented 9 months ago

Hello, when running "ask on Scoold" from a thtread nothing happens. Also, save seems to not be supported by slack plugin

albogdano commented 9 months ago

The feature requires that Slack has a direct connection to your Scoold server. You can test it locally using a tool like ngrok. The command above has a typo - it's not /slack save but /scoold save and it only works with the Mattermost integration.

albogdano commented 9 months ago

@shai-katzir-hs After some investigation, I found that there was indeed an issue preventing the save thread functionality. I updated a few dependencies and fixed the code which threw exceptions. Another thing I found is that the Scoold bot is required to be a member of the Slack channel where the action takes place. If that is not the case, try inviting the bot to the channel with this command:

/invite @scoold

The fix will be available in the next iteration of Scoold Pro.