Hi Retool Community!
I’m excited to share how I automated employee forum participation tracking using Retool, Slack integration, and workflows. This solution streamlines forum link distribution, prevents duplicates, and updates scores dynamically—all while displaying personalized data for employees in Retool. If you want to boost engagement and simplify tracking processes, this might spark some ideas for your projects.
Key Features :
- Slack Integration for Forum Link Distribution
- Objective: Send forum links to employees via Slack.
- Action: Use the Slack API to send links and capture sender details. Workflow runs at 7:00 PM daily.
- Workflow Automation
- Objective: Automate the workflow at 7:00 PM each day.
- Action: Schedule workflow, fetch Slack conversation data, and use SQL queries to match Slack users with employees.
- Duplicate Forum Link Handling
- Objective: Detect duplicate forum submissions.
- Action: Check for duplicates using SQL queries, and return a
duplicateLink array
if necessary.
- Scoring System & Status Update
- Objective: Track forum submissions and update scores.
- Action: Assign a score of 2 for a new submission; update to 4 if marked "Solution Checked
".
- Workflow Queries & Logic
- Objective: Automate SQL insertions and updates.
- Action: Use JS and SQL queries to insert new records or update scores based on forum submission status.
- Data Display in Retool
- Objective: Display forum data in Retool.
- Action: Show employee name, email, score, forum link, and submission date. Filter data by the employee and display relevant information.
- Error Handling for Missing Data
- Objective: Handle missing or incomplete submissions.
- Action: Mark missing submissions with a score of -1 for the current date ( excluding weekends ).
How It Works
- Integration: Slack API distributes forum links, capturing sender details.
- Automation: Workflows process data daily, updating scores and detecting duplicates.
- Data Display: Retool dashboards personalize and filter forum data for each employee.
- Scoring System: Tracks and updates participation based on submission status.
Review the project recording.
- Slack & Retool App Dashboard ScreenShot :
- WorkFlow Recording :
Slack API ScreenShot ( For More Information )
WorkFlow JS Code ScreenShot ( For More Information )