Skip to Content
BuildAI Improvement Suggestions

AI Improvement Suggestions

Trame includes an intelligent learning system that analyzes failed workflow executions and automatically suggests specific improvements. This helps workflows become more reliable over time and reduces manual troubleshooting.

How AI Learning Works

Failure Analysis Pipeline

When a workflow fails with an “objective failure” (meaning it couldn’t achieve its goal rather than a technical error):

  1. Failure Detection: System identifies workflows that failed to meet their objectives
  2. Context Analysis: AI examines the execution logs, planned steps, and available data
  3. Root Cause Identification: AI determines why the objective wasn’t met
  4. Improvement Generation: Specific, actionable suggestions are created
  5. Configuration Mapping: Suggestions are mapped to workflow configuration fields

Types of Improvements

The AI can suggest different types of improvements:

Missing Required Information

  • Specific IDs: Channel IDs, user IDs, form IDs, or record IDs needed for execution
  • API Endpoints: Correct URLs or service endpoints for integrations
  • Authentication Details: Additional credentials or authentication scopes
  • Resource References: Document URLs, folder paths, or system resources

Configuration Refinements

  • Filter Criteria: Better keywords, patterns, or matching rules
  • Business Rules: Threshold values, timing constraints, or approval criteria
  • Data Mapping: Field mappings between systems or data transformation rules
  • Scope Limitations: Constraints to prevent unintended actions

Integration Settings

  • Connector Permissions: Additional OAuth scopes or API permissions needed
  • Rate Limiting: Adjustments for API call limits or timing restrictions
  • Data Format: Correct data formats or schema requirements
  • Error Handling: Better error recovery or fallback strategies

Improvement Application

Automatic Detection

Improvements are surfaced in multiple places:

  • Dashboard: Workflows with pending improvements appear in a special section
  • Workflow Detail: Improvement suggestions shown on the workflow page
  • Run History: Failed runs with suggestions are clearly marked
  • Notifications: Optional alerts for new improvement opportunities

Review and Apply Interface

For each suggestion, users can:

  • Review the context: Understand why the improvement is needed
  • See the specific change: Preview exactly what will be modified
  • Apply selectively: Choose which suggestions to implement
  • Provide feedback: Indicate if suggestions are helpful or not

Suggestion Details

Each improvement includes:

  • Field to modify: Which configuration field needs updating
  • Suggested value: The specific value or content to use
  • Reasoning: Why this change will help the workflow succeed
  • Impact assessment: What this change will enable or prevent

Learning from Success and Failure

Success Pattern Recognition

The AI learns from successful executions:

  • Resource Discovery: Automatically captures useful IDs, URLs, and references
  • Pattern Identification: Recognizes successful tool combinations and sequences
  • Timing Optimization: Learns optimal execution timing and conditions
  • Context Reuse: Applies successful patterns to similar workflows

Failure Analysis Depth

For failures, the AI examines:

  • Planned vs Actual: What was supposed to happen vs what actually occurred
  • Missing Capabilities: What tools or permissions were unavailable
  • Data Quality Issues: Problems with input data or formatting
  • External Dependencies: Issues with connected systems or services

Continuous Learning Cycle

The system improves continuously:

  1. Execution: Workflow attempts to run with current configuration
  2. Analysis: AI analyzes the execution results and context
  3. Learning: Patterns are identified and suggestions generated
  4. Improvement: User applies suggested changes
  5. Validation: Next execution validates the improvement effectiveness

Smart Suggestion Features

Context-Aware Recommendations

Suggestions consider:

  • Organization History: Previous successful configurations in your org
  • System Integration: Available connectors and their capabilities
  • Business Context: Workflow purpose and typical use patterns
  • Error Patterns: Common failure modes for similar workflows

Suggestion Prioritization

The AI prioritizes suggestions by:

  • Impact Potential: How much the suggestion will improve success rates
  • Implementation Ease: How simple the change is to apply
  • Confidence Level: How certain the AI is about the suggestion
  • Pattern Strength: How often this type of improvement helps

Adaptive Suggestions

The system adapts to your organization:

  • Learning Preferences: Understands which types of suggestions you find useful
  • Configuration Patterns: Learns your typical setup patterns and preferences
  • Integration Usage: Adapts to how you use specific connectors and tools
  • Business Rules: Incorporates your organization’s specific requirements

Working with Improvements

Regular Review Process

Establish a routine for reviewing improvements:

  1. Weekly Review: Check dashboard for workflows with pending suggestions
  2. Analyze Patterns: Look for common types of improvements across workflows
  3. Apply Changes: Implement high-confidence, high-impact suggestions
  4. Test Results: Validate that improvements work as expected
  5. Provide Feedback: Rate suggestion quality to improve future recommendations

Improvement Categories

Organize suggestions by type:

High Priority

  • Blocking Issues: Suggestions that resolve complete failures
  • Security Concerns: Improvements related to permissions or access
  • Data Integrity: Changes that prevent data corruption or loss

Medium Priority

  • Reliability Improvements: Changes that reduce intermittent failures
  • Performance Optimizations: Suggestions for faster or more efficient execution
  • User Experience: Improvements to output quality or presentation

Low Priority

  • Configuration Cleanup: Suggestions to simplify or optimize settings
  • Best Practices: Recommendations for following platform conventions
  • Future-Proofing: Changes that prepare for upcoming features or deprecations

Bulk Application

For workflows with many suggestions:

  • Related Grouping: Apply related suggestions together for better results
  • Testing Approach: Test one category at a time to isolate effects
  • Rollback Planning: Keep track of changes for easy rollback if needed
  • Staged Implementation: Apply to test workflows before production workflows

Advanced Learning Features

Cross-Workflow Learning

The AI shares insights across workflows:

  • Pattern Transfer: Successful patterns from one workflow help others
  • Resource Sharing: Discovered resources benefit multiple workflows
  • Configuration Templates: Common setups are suggested for new workflows
  • Best Practice Propagation: Effective techniques spread across your organization

Integration-Specific Intelligence

For each connected system, the AI learns:

  • API Quirks: Platform-specific behaviors and requirements
  • Performance Characteristics: Optimal timing and rate limiting
  • Data Formats: Preferred formats and transformation patterns
  • Error Recovery: Effective strategies for handling specific errors

Temporal Learning

The system understands time-based patterns:

  • Business Hours: When certain workflows are most/least effective
  • System Availability: Peak and off-peak times for connected systems
  • Seasonal Patterns: How workflow requirements change over time
  • Event Correlations: How external events affect workflow success

Troubleshooting Improvements

Suggestions Not Appearing

  • Verify the workflow has failed with “objective failure” type
  • Check that enough execution attempts have been made for pattern recognition
  • Ensure the failure wasn’t due to technical issues (connector outages, etc.)
  • Review that suggestion generation is enabled for your organization

Low-Quality Suggestions

  • Provide feedback on suggestion quality to improve future recommendations
  • Ensure workflow descriptions are clear and detailed
  • Verify that connected systems have proper permissions and access
  • Consider if the workflow goal is clearly defined and achievable

Suggestion Application Issues

  • Test suggestions in development workflows before applying to production
  • Apply one suggestion at a time to isolate effects
  • Verify that suggested values are appropriate for your specific environment
  • Check that applying suggestions doesn’t conflict with business rules or policies

Best Practices

For Workflow Owners

  • Regular Monitoring: Check for improvement suggestions weekly
  • Quality Feedback: Rate suggestions to improve AI recommendations
  • Testing Discipline: Test improvements thoroughly before production use
  • Documentation: Document which improvements were applied and their effects

For Organizations

  • Learning Culture: Encourage teams to engage with improvement suggestions
  • Pattern Sharing: Share successful improvement patterns across teams
  • Quality Standards: Establish guidelines for which suggestions to prioritize
  • Measurement: Track improvement effectiveness over time

For System Administrators

  • Permission Management: Ensure workflows have appropriate permissions for suggested changes
  • Resource Availability: Verify that suggested resources (IDs, URLs) are accessible
  • Integration Health: Maintain healthy connector connections for better suggestions
  • Data Quality: Ensure clean, consistent data for better AI analysis
Last updated on