Individual rule retrieval provides deep insights into rule behavior, execution patterns, and business impact, supporting data-driven optimization and troubleshooting of menu automation logic.
Path Parameters
The unique identifier of the store containing the menu rule
The unique identifier of the menu rule to retrieve
Query Parameters
Include rule execution history and performance metrics
Include business impact analysis and effectiveness metrics
Date range for historical data (format: YYYY-MM-DD,YYYY-MM-DD)
Response
Complete rule configuration and metadata
Current rule status and next scheduled evaluation
Historical execution records and outcomes (if requested)
Business impact metrics and effectiveness analysis (if requested)
Response Example
Rule Detail Categories
Rule Detail Categories
Configuration Details
- Complete rule setup including conditions and actions
- Scope definition and affected items/categories
- Priority and conflict resolution information
- Effective date ranges and scheduling details
- Current rule status and evaluation schedule
- Historical execution patterns and success rates
- Performance metrics and execution timing
- Error logs and troubleshooting information
- Revenue impact from rule applications
- Customer behavior changes and engagement metrics
- Operational efficiency improvements
- Competitive positioning and market response
- Rule execution frequency and patterns
- System performance impact and optimization opportunities
- Integration effectiveness across platforms
- Customer satisfaction and experience metrics
Data Availability: Historical and impact analysis data may have retention limits. Specify appropriate date ranges to ensure you receive the data you need for analysis.
Performance Monitoring: Use the execution history to identify optimization opportunities and troubleshoot rule performance issues for better business outcomes.
Use Cases
Common Rule Analysis Scenarios
Common Rule Analysis Scenarios
Rule Performance Optimization
- Analyze execution patterns to optimize rule timing
- Identify performance bottlenecks in rule evaluation
- Optimize rule conditions for better targeting
- Improve rule effectiveness through data-driven adjustments
- Measure revenue impact of pricing and promotional rules
- Analyze customer response to availability changes
- Evaluate operational efficiency improvements
- Assess competitive positioning and market response
- Investigate unexpected rule behavior or conflicts
- Analyze execution failures and error patterns
- Validate rule logic against business requirements
- Identify integration issues with external systems
- Review rule changes and approval history
- Validate rule compliance with business policies
- Generate audit reports for regulatory requirements
- Document rule effectiveness for business reviews
Execution Status Details
Understanding Execution Status
Understanding Execution Status
Current Status Values
active
: Rule is currently executing actionsinactive
: Rule conditions are not metscheduled
: Rule is waiting for next evaluation timedisabled
: Rule is manually disablederror
: Rule has encountered execution errorsexpired
: Rule has passed its effective date range
last_execution
: When the rule was last evaluatednext_evaluation
: When the rule will be evaluated nextexecution_count_today
: Number of executions in the current daytotal_executions
: Lifetime execution count for the rule
execution_duration
: Time taken for rule evaluation and action executionsuccess_rate
: Percentage of successful rule executionserror_frequency
: Rate of execution errors and failuressystem_impact
: Resource utilization during rule execution
items_affected
: Number of items impacted by the ruleactions_executed
: List of actions successfully completedconditions_met
: Which conditions triggered the rule executionconflict_resolution
: How conflicts with other rules were resolved
Historical Analysis
Execution History Insights
Execution History Insights
Execution Patterns
- Daily, weekly, and monthly execution frequency
- Seasonal patterns and trends in rule activation
- Correlation between rule execution and business events
- Peak execution times and system load patterns
- Success rates and common failure modes
- Error patterns and system integration issues
- Performance degradation trends over time
- Recovery patterns after system issues
- Revenue impact trends over time
- Customer behavior changes and adaptation patterns
- Operational efficiency improvements and challenges
- Competitive response and market dynamics
- Timing optimization based on execution patterns
- Condition refinement for better targeting
- Action optimization for improved effectiveness
- Performance improvements through better rule design
Impact Analysis Metrics
Business Impact Measurement
Business Impact Measurement
Revenue Impact
total_discount_applied
: Cumulative discount amount from pricing rulesrevenue_increase
: Revenue growth attributed to rule optimizationaverage_order_value_change
: Impact on customer spending patternsprofit_margin_impact
: Effect on business profitability
affected_orders
: Number of orders impacted by the rulerepeat_customers
: Customer retention and repeat businesscustomer_satisfaction_score
: Customer experience metricsnew_customer_acquisition
: Attraction of new customers through rule benefits
kitchen_efficiency
: Impact on food preparation and serviceinventory_turnover
: Effect on inventory management and wastestaff_productivity
: Impact on staff efficiency and workloaddelivery_performance
: Effect on delivery and fulfillment operations
competitive_advantage
: Competitive positioning improvementsmarket_share_impact
: Effect on market position and customer capturebrand_perception
: Impact on brand image and customer perceptionpricing_competitiveness
: Positioning relative to market pricing
Error Handling
Common Error Scenarios
Common Error Scenarios
Rule Not FoundPermission DeniedInvalid Date RangeData Not Available
Best Practices
Rule Analysis Best Practices
Rule Analysis Best Practices
Regular Monitoring
- Schedule regular reviews of rule performance and impact
- Monitor execution patterns for optimization opportunities
- Track business impact metrics consistently
- Identify and address performance issues promptly
- Use execution history to optimize rule timing and conditions
- Analyze impact metrics to improve rule effectiveness
- Identify successful patterns for replication across other rules
- Use performance data to guide rule design decisions
- Review execution history when investigating issues
- Analyze error patterns to identify systematic problems
- Use impact analysis to assess the severity of rule issues
- Implement monitoring alerts for critical rule failures
- Integrate rule data with broader business analytics
- Use rule impact metrics in business performance dashboards
- Correlate rule effectiveness with broader business outcomes
- Support strategic decision-making with rule performance data
Analytics and Reporting
Rule Performance Analytics
Rule Performance Analytics
Performance Dashboard Creation
- Create visualizations of rule execution patterns
- Monitor business impact trends over time
- Track customer satisfaction and engagement metrics
- Display operational efficiency improvements
- Compare rule effectiveness across different time periods
- Analyze performance variations by day of week or season
- Compare similar rules across different stores or locations
- Benchmark rule performance against business objectives
- Forecast rule impact based on historical patterns
- Predict optimal timing for rule modifications
- Anticipate customer response to rule changes
- Model business impact of proposed rule modifications
- Calculate return on investment for rule automation
- Measure cost savings from operational efficiency
- Analyze revenue impact relative to implementation costs
- Evaluate long-term business value of rule strategies
Integration with Business Intelligence
BI Integration Strategies
BI Integration Strategies
Data Export and Integration
- Export rule data for integration with BI tools
- Create data pipelines for real-time analytics
- Integrate with existing business intelligence platforms
- Support custom reporting and analysis requirements
- Implement real-time rule performance dashboards
- Create alerts for rule performance anomalies
- Monitor business impact in real-time
- Support rapid response to rule issues
- Use rule data to inform menu strategy decisions
- Support competitive analysis and positioning
- Guide investment in menu automation capabilities
- Inform customer experience optimization strategies
- Generate compliance reports for audit requirements
- Track rule changes and their business justification
- Monitor adherence to business policies and guidelines
- Support regulatory reporting and documentation needs
Rule Optimization Workflow
Continuous Improvement Process
Continuous Improvement Process
Regular Review Process
- Performance Assessment: Analyze execution patterns and success rates
- Impact Evaluation: Measure business impact and customer response
- Optimization Identification: Identify opportunities for improvement
- Testing and Validation: Test proposed changes in controlled environments
- Implementation: Deploy optimized rules with monitoring
- Monitoring and Feedback: Track improvements and gather feedback
- Use historical execution data to guide optimization decisions
- Leverage impact analysis to prioritize optimization efforts
- Apply statistical analysis to identify significant patterns
- Test hypotheses through controlled rule modifications
- Document lessons learned from rule optimization efforts
- Share best practices across teams and locations
- Build organizational knowledge about effective rule design
- Develop expertise in menu automation and optimization