Sloogle Bot
- 5 Devlogs
- 10 Total hours
Publish Slack messages as searchable web pages to boost your community's visibility on Search Engines and AI web search tool calls.
Publish Slack messages as searchable web pages to boost your community's visibility on Search Engines and AI web search tool calls.
/publish [message-url] slash commandIn this update:
/publish [message-url/id] command to the slack botmessage, channel and workspace detailsFor adding debug logging into the codebase (helped me save a little time and headache so pls)
Manage posts (re-post, delete, etc.) feature,
/my-postscommand
GG
/set-token [token] command now works.You use /set-token [token]
|
POST /api/bot/set-token
|
Verify token and find the DB user bound with the token
|
Save token + workspace details (team ID, channel ID) in Database bound to user (so that we don’t need to filter through all API keys every request
|
You’re now ready to publish new posts using the /publish command!
Next update:
Improve the landing page, add a real login page and finally setup the
/publishcommand
How it will work:
/set-token [token] command with the Sloogle botNext: Work on the
/set-token [token]command on the Slack bot
Next up: configure backend route that will receive the slack message object and save it on DB (message content, id, timestamps, channel id, community id, etc.)
First time making a Slack Bot (i was a pro discord bot dev back in 2020)
Initialized and setup the slack bot using Node.js and Slack Bolt
Added a Bot stats command that responds with the following: