Quick overview
This workflow triages new training survey comments from Google Sheets using TypeSafe AI (Jev) to score sentiment, urgency, and meaningfulness, posts urgent issues to Slack, and writes a routed record for every response back to a results tab to avoid double-processing.
How it works
- Starts from a manual run, a form button trigger, or a daily schedule at 9:00.
- Reads survey responses from a Google Sheets “responses” tab and previously processed items from a “results” tab, then keeps only responses with new response_id values.
- Skips comments shorter than the configured minimum length and routes them as “Skipped.”
- Sends each remaining comment to TypeSafe AI (Jev) to classify sentiment and score urgency and whether the feedback is meaningful.
- Routes each response as “Urgent,” “Needs Review,” or “Normal” based on the configured thresholds and a rating-vs-sentiment mismatch check.
- Posts “Urgent” comments to a specified Slack channel and appends or updates the routed record in the Google Sheets “results” tab.
Setup
- Connect Google Sheets OAuth credentials and set the spreadsheet ID plus the “responses” and “results” sheet names in the workflow settings.
- Ensure your Google Sheet has the required columns in the responses tab (response_id, course, rating, comment) and matching columns in the results tab (including route, sentiment, scores, and processed_at).
- Add a TypeSafe AI credential (API key) and confirm the Jev model ID used in settings (for example, “jev-latest”).
- Connect Slack OAuth credentials and set the target Slack channel ID for urgent alerts.
- Review and adjust the minimum comment length and the urgency, sentiment-confidence, and meaningfulness thresholds to fit your triage criteria.