LogoLogo
  • Getting Started
    • Introduction to OneLens
    • Operational Cost of OneLens
    • Onboarding Guide
    • Accessing OneLens
  • Integrations
    • Cloud Services
      • Connect to AWS
    • Kubernetes
      • OneLens Agent
        • Onboarding a K8s Cluster
        • Artifacts
      • Enable Split Cost Allocation for EKS
  • User Guide
    • Observe ( Visibility and Insights)
      • Cost Analyzer
        • Saved Views
      • Cost Watcher
        • Cost Anomaly
      • Data Transfer Cost Reports
    • Optimize (Cost Savings & Recommendations)
      • Saving Dashboard
        • About Potential Savings
        • View Potential Savings
        • About Achieved Savings
        • View Achieved Savings
      • Policy Violations
        • Drill Down into Policy Violations
      • S3 Optimization
        • Detailed View of Buckets
        • Cost & Usage Breakdown
        • S3 Insights
    • Automate
      • Workflows & Automation
        • Triggers
        • Actions
        • Usecases
          • Automating Periodic Cloud Cost Reports
          • Automatically Create Jira Issues for New Tickets
          • Email Notifications of New Tickets
          • Configure Periodic Digests for Pending Tickets
          • Automating Cost Anomalies Email Alerts
          • Escalation of High-Value Pending Tickets
      • Remediations (Runbooks)
        • Install Runbooks
        • Runbook Catalog
          • Delete CloudWatch Alarms in Insufficient State
          • Delete EBS Snapshots for which corresponding volumes are not in use
          • Delete Idle ElastiCache/Memcached Cluster
          • Delete RDS Snapshots older than a specified period of time
          • Delete idle Classic/Application Load Balancers
          • Delete unused EBS Volumes
          • Delete unused Elastic IP
          • Delete unused NAT Gateway
          • Migrate EBS Volumes from gp2 to gp3
          • Set retention period for CloudWatch Logs
        • Execution Logs
    • Govern ( Control & Governance)
      • Cost Optimization Policies
  • Facts & FAQs
    • FAQs
      • Connect Slack Private Channels to OneLens
Powered by GitBook
On this page
  • Core Triggers
  • Ticket-Based Triggers
  • Scheduled Triggers
  1. User Guide
  2. Automate
  3. Workflows & Automation

Triggers

By leveraging triggers, you can automate responses to cost anomalies, ticket updates, and scheduled reports, ensuring timely and effective decision-making.

Core Triggers

Core triggers detect critical events within OneLens, allowing you to automate workflows based on fundamental cost monitoring and anomaly detection mechanisms.

Anomalies

This trigger activates when OneLens detects a cost anomaly. You must define conditions to specify when the workflow should be triggered. The available conditions include:

  • Anomaly Impact – Cost Impact ($), Cost Impact (%)

  • Resource Information – Account, Region, Service

  • Cost Center Details – Cost Center, Category

You can fine-tune the anomaly trigger to focus on specific cost fluctuations.

Example: Trigger a workflow when your AWS costs exceed a certain dollar amount within a day.

Ticket-Based Triggers

Workflows can be initiated based on ticket lifecycle events. You can set conditions for these triggers based on multiple attributes, allowing for precise automation. You can define conditions based on:

  • Ticket Attributes – Status, Category

  • Recommendation Details – Potential Savings, Effort Required

  • Resource Information – Name, Account, Region, Service, Tags

  • Cost Center Details – Cost Center, Category

Policy Information – Name, Category

Ticket is Created

This trigger activates when a new ticket is generated meeting your set conditions.

Ticket is Updated

This trigger activates when an existing ticket undergoes modifications, such as status updates or changes in recommendations. Conditions can also be applied here.

Scheduled Triggers

Scheduled triggers allow workflows to execute at predefined intervals.

Every Day / Week / Month

You can run workflows automatically on a daily, weekly, or monthly basis in OneLens to generate digests or alerts.

Example: You can schedule a workflow to run every Monday, generating a report on the previous week's cost trends and emailing it to your finance team.

Digest Reports

Digest reports consolidate key insights into scheduled summaries, ensuring that stakeholders remain informed about ticket activity and cost-related updates.

New Tickets Digest – Sends a summary of newly created tickets within a specific timeframe.

All Tickets Digest – Covers all tickets that meet the specified conditions. These conditions can be set using the attributes presented above.

Example: Trigger a daily email that consolidates all tickets created in the last 24 hours, summarizing key details such as status, potential savings, and affected resources.

Cost Watcher Alerts

Instead of alerts, OneLens provides scheduled Cost Watcher Alerts that summarize cost trends across different dimensions. You can have:

  • Account-Wise Alerts – Summarizes cost trends at the account level.

  • Service-Wise Alerts – Provides cost insights for specific AWS services.

  • Cost Center-Wise Alerts – Highlights cost variations across designated cost centers.

By utilizing workflow triggers in OneLens, you can automate key processes, improve cost management, and ensure timely responses to critical financial and operational events.

Example: Schedule a monthly report summarizing the costs associated with your specified AWS account.

PreviousWorkflows & AutomationNextActions

Last updated 2 months ago