Approval Workflows Setup Guide
This guide walks you through setting up approval workflows from scratch. By the end, you’ll have a working approval system that enforces your business rules for discounts, pricing, and deal terms.Prerequisites
Before setting up approvals, ensure you have:- Admin access to your Alguna organization
- At least one product configured
- Team members with user accounts
Step 1: Plan Your Approval Strategy
Before creating rules, define your approval requirements:Common Approval Scenarios
| Scenario | Trigger | Typical Threshold |
|---|---|---|
| Large discounts | Discount exceeds X% | 15-25% |
| Enterprise deals | Deal value over $X | $50,000+ |
| Multi-year contracts | Contract term > 1 year | 2+ years |
| Non-standard terms | Custom legal terms | Any deviation |
| Product-specific | Certain products | Premium products |
Define Approver Hierarchy
Step 2: Create Approver Groups
Groups define who can approve requests.Via Dashboard
- Go to Settings → Approvals → Groups
- Click Create Group
- Add group details:
- Name: “Sales Managers”
- Members: Select team members
- Strategy: Choose approval requirement
Via API
Group Strategies
| Strategy | Behavior | Use Case |
|---|---|---|
All | Every member must approve | High-risk decisions |
Any | One member approval sufficient | Standard approvals |
Minimum | Specified number must approve | Committee decisions |
All Strategy
All group members must approve:Any Strategy
Any single member can approve:Minimum Strategy
Specified number of approvals required:Step 3: Create Approval Rules
Rules define when approval is required.Via Dashboard
- Go to Settings → Approvals → Rules
- Click Create Rule
- Configure:
- Name and description
- Conditions (triggers)
- Approver groups
- Priority
Via API
Step 4: Configure Rule Conditions
Conditions determine when a rule triggers.Condition Types
ProductPresence
Trigger when specific products are included:- Enterprise products require executive approval
- Add-ons need finance review
- Custom products need legal approval
AnyProductDiscountThreshold
Trigger when any line item exceeds discount threshold:- Large discounts need manager approval
- Tiered approval based on discount level
SpecificProductDiscountThreshold
Trigger for discounts on specific products:- Premium products have stricter discount controls
- Different thresholds per product line
Combining Conditions
Rules can have multiple conditions (AND logic):Step 5: Set Rule Priority
Rules are evaluated in priority order (lower number = higher priority).Priority Best Practices
- Highest restrictions first - CFO approval rules at priority 1-5
- Mid-level approvals - VP/Director rules at priority 10-15
- Standard approvals - Manager rules at priority 20+
- Catch-all rules - Default rules at priority 100+
Reorder via API
Step 6: Configure Notifications
Set up notifications for approval workflows.Email Notifications
Slack Integration
Step 7: Test Your Setup
Before going live, test your approval workflow.Create Test Scenario
Verify Rule Matching
Process Test Approval
Step 8: Enable for Production
Once tested, enable approval workflows.Gradual Rollout
Monitor Approval Metrics
Complete Setup Example
Here’s a complete example setting up a tiered approval system:Troubleshooting
Rule Not Triggering
- Check rule is enabled
- Verify condition thresholds
- Check rule priority (higher priority rules may match first)
- Review the preview endpoint for debugging
Approval Stuck
- Check approver group has active members
- Verify notification delivery
- Check escalation settings
Notifications Not Sending
- Verify email configuration
- Check notification settings are enabled
- Review email logs
Best Practices
Start Conservative
Begin with high thresholds and lower gradually based on data.
Document Rules
Add clear descriptions explaining why each rule exists.
Set Escalations
Configure auto-escalation to prevent deals getting stuck.
Review Regularly
Audit approval metrics monthly and adjust rules as needed.