What is a Use Case?
A Use Case is a complete automation workflow that defines:- When it should run (the trigger)
- What should happen (the steps and actions)
- How steps connect and flow (the execution graph)
Visual Design
Design workflows using a visual canvas with drag-and-drop blocks for triggers, actions, and agents.
Event-Driven
Automatically respond to GitHub events, Jira updates, mentions, slash commands, or scheduled triggers.
AI-Powered
Integrate AI agents that can make decisions, generate content, and collaborate with users.
Multi-Step
Build complex workflows with dependencies, parallel execution, and conditional logic.
Core Components
Every Use Case consists of these fundamental building blocks:Trigger
The event that starts your workflow execution. Triggers can be:- GitHub events: Pull requests opened, issues labeled, comments posted
- Jira events: Issues created, updated, or commented on
- Interactive triggers:
@overcutmentions or slash commands like/review - Scheduled Workflows: Time-based triggers for recurring tasks like nightly scans or weekly reports
Every Use Case must have exactly one trigger node. This is the entry point that determines when your automation runs.
Actions
git.clone: Clone repositories for code analysisrepo.identify: Automatically determine relevant repositories for ticketsagent.run: Single-agent execution for straightforward tasksagent.session: Multi-agent sessions with coordination and iteration
Flow
The connections between steps that define execution order and dependencies.Event Processing Flow
- Event Reception: Webhooks from GitHub, Jira, or other providers are received
- Normalization: Events are converted to standardized formats
- Trigger Matching: Overcut evaluates which Use Cases should run
- Execution Queuing: Matching workflows are queued for execution
- Step Processing: Each step runs according to the defined flow
- State Management: Context and results are preserved between steps
- Completion: Final results are published and cleanup occurs
Creating a Use Case
Step 1: Define the Problem
Start by understanding what you want to automate:- What event should trigger the workflow?
- What should happen when it runs?
- What are the expected outcomes?
Step 2: Design the Flow
Break your automation into logical steps:- Preparation: Clone repos, gather context, validate inputs
- Processing: Run AI agents, perform analysis, make decisions
- Action: Update tickets, create branches, send notifications
- Cleanup: Archive results, update status, close sessions
Step 3: Configure Components
For each step, configure:- Parameters: Static values or dynamic variables from previous steps
- Instructions: Specific guidance for AI agents
- Conditions: When steps should run or be skipped
- Timeouts: Maximum execution time for each step
Step 4: Connect the Flow
Define how steps relate to each other:- Sequential: Steps run one after another
- Parallel: Independent steps run simultaneously - Coming soon
- Conditional: Steps run based on previous results - Coming soon
- Loops: Steps repeat until conditions are met - Coming soon
Advanced Features
Template Variables
Use dynamic values throughout your workflow:{{trigger.issue.title}}: Access trigger event data{{outputs.git-clone.repositoryPath}}: Reference previous step outputs
Monitoring
Overcut provides visibility into workflow and agent behavior through:- Workflow status: Track workflow progress (Running, Completed, Failed, Timeout)
- Agent status: Monitor agent sessions (Running, InSession, WaitingForReply, Terminating, Completed, Failed)
- Execution logs: Detailed logs for each step and agent with the full tool calls and context available to the agent
State Management
Context is preserved throughout execution:- Workflow Context: Global variables accessible to all steps
- Step Outputs: Results from each step available to subsequent steps
Next Steps
Now that you understand Use Cases, explore these topics:- Triggers: Learn about different trigger types and configuration
- Actions and Agents: Understand the differences between agent.run and agent.session
- Building Blocks: Deep dive into the core components
- Quick Starts: Step-by-step guides for common workflows
- Repository Management: Understand how workflows interact with code