Workflow Automation
Define multi-step approval processes with custom rules and conditions.Creating Workflows
Add States
Define the stages your document goes through:
- Draft → Pending Approval → Approved → Rejected
- Each state can have different allowed roles
- Set colors for visual indication
Workflow Actions
Approval
Route documents through approval hierarchy based on amount, department, or custom criteria.
Rejection
Send back to previous state with comments and reasons.
Conditional Routing
Automatic routing based on field values or calculations.
Parallel Approval
Multiple approvers can review simultaneously.
Scheduled Events
Automate recurring tasks using the scheduler:Common Scheduled Tasks
Stock Reorder
Stock Reorder
Automatically create Purchase Requests when inventory falls below reorder level:
Payment Reminders
Payment Reminders
Send automated reminders for overdue invoices:
Data Cleanup
Data Cleanup
Archive old records and clean up temporary data:
Email Automation
Email Alerts
Trigger emails based on document events:- New document created
- Document saved
- Document submitted
- Document cancelled
- Value changed (specific field)
- Days before/after date field
- Custom conditions
Email Campaigns
Automated marketing campaigns:Auto-Repeat (Subscriptions)
Automate recurring transactions:- Monthly subscriptions
- Recurring rentals
- Annual maintenance contracts
- Periodic purchase orders
- Regular salary payments
Document Events & Hooks
Trigger custom code on document lifecycle events:Assignment Automation
Auto-assign documents to users:- Round Robin: Distribute evenly in rotation
- Load Balancing: Assign to user with fewest open documents
- Based on Field: Assign based on territory, department, etc.
- Priority Based: Assign high-priority items to specific users
Notification Automation
System Notifications
In-app notifications for document assignments, mentions, and updates.
SMS Alerts
Send SMS for critical events like payment confirmations.
Push Notifications
Mobile app notifications for mobile users.
Slack/Teams
Integration with team collaboration tools.
Bank Reconciliation Automation
Automatic matching of bank transactions:API Webhooks
Trigger external systems when documents change:Server Scripts
Write custom automation without deploying apps:Best Practices
Automation Guidelines
- Test automations in staging before production
- Use error handling and logging
- Avoid infinite loops in document events
- Set appropriate permissions for automated actions
- Monitor automated jobs for failures
- Use queues for long-running tasks
- Document all automation rules
Performance
- Use background jobs for bulk operations
- Implement rate limiting
- Cache frequently accessed data
- Optimize database queries
Reliability
- Add retry logic with exponential backoff
- Log all automation activities
- Send failure notifications
- Use dead letter queues
Next Steps
Reporting
Automate report generation and distribution
Integrations
Connect with external systems