179babea68
Extracted from: https://github.com/jwwelbor/AgentMap.git Score: 1.0
11 lines
707 B
Markdown
11 lines
707 B
Markdown
# Examples: conditional-review-workflow
|
|
|
|
## Usage Example
|
|
|
|
```python
|
|
# How to use this skill
|
|
# Inputs: request: string - The user's request or input collected at runtime via the input agent
|
|
# Process: Start: Input agent collects the user request and stores it in the 'request' state field, then routes to Classify node → Classify: Branching agent evaluates the 'request' field and routes to Approve node on success or Reject node on failure (on_failure) → Approve: Default agent formats an approval message using the request and stores it in the 'result' output field
|
|
# Outputs: result: string - Final message indicating whether the request was approved or rejected, containing the original request
|
|
```
|