Capture Classification
Standard Operating Procedure (SOP) that routes unstructured text to Tasks or LanceDB based on urgency using atomic nodes.
Latest: v1.0.4
- Refactored the workflow description to emphasize a strict Standard Operating Procedure (SOP) using explicit atomic nodes.
- Updated the Lean principles section to clarify reliance on discrete, single-responsibility nodes instead of loops.
- Clarified each processing step with separate “Classification” and “Routing Execution” using named atomic nodes for better traceability and verification.
- Enhanced “Jidoka Stop” verification instructions and retry conditions for both actionable and informational routing steps.
- Updated language throughout to provide clearer, more actionable step-by-step guidance.
Lean Philosophy (Principles)
- Kaizen (改善): This workflow relies entirely on discrete, single-responsibility atomic nodes rather than a monolithic loop.
- Standardized Work (Hyojun Sagyo): This node represents a strict, step-by-step Standard Operating Procedure (SOP) for inbound text classification.
- Jidoka (自働化): Includes autonomous self-healing loops with hard verification stops between every step.
Capture Classification SOP
This procedure guides the agent to act as a semantic router for inbound text using explicitly defined atomic nodes.
Cognitive Directives
WHEN [Unstructured audio transcript or note text is captured] THEN [ Follow this strict Standard Operating Procedure:
Step 1: Classification
- Execute the
LLM-Classify-Intentatomic skill with categories: ["Actionable", "Informational"]. - Jidoka Stop: Verify the skill returns exactly one of the requested categories. IF it fails, instruct it to correct the output and retry. Do NOT proceed until a valid category is obtained.
Step 2: Routing Execution
- IF "Actionable":
- Execute the
Google Tasks Create Taskatomic node using the text as the title. - Jidoka Stop: Check if the node returns a successful JSON response. IF it fails, retry up to 3 times. IF it still fails, report the error and STOP.
- Execute the
- IF "Informational":
- Execute the
Vector Store Upsert Memoryatomic node to save it as reference material. - Jidoka Stop: Verify the vector store confirms a successful upsert. IF it fails, retry up to 3 times. IF it still fails, report the error and STOP. ]
- Execute the
Expected Output
A JSON log confirming the routed destination and action taken by the respective atomic node.
