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
  • Components of Workflows
  • Types of Workflow Execution
  1. User Guide
  2. Automate

Workflows & Automation

PreviousAutomateNextTriggers

Last updated 2 months ago

At its core, workflows in OneLens are designed to automate tasks triggered by specific conditions. These workflows help you improve governance and operational efficiency by organizing tasks in a structured sequence.

For example, workflows can automatically handle cost anomalies, policy violations, and notifications, ensuring that actions are taken at the right time.

Components of Workflows

A workflow in OneLens has two main parts: Trigger and Actions.

Triggers are the events that start a workflow. They define the specific conditions under which a workflow will be activated.

Once a workflow is triggered, actions are carried out. These actions are the responses set up to address the issue.

Types of Workflow Execution

Series Workflow

In a series workflow, actions are performed one after the other. The next action only begins once the previous one is complete. For instance:

  • Step 1: Log the anomaly in the tracking system.

  • Step 2: Notify the finance team via Slack.

  • Step 3: Create a Jira ticket for investigation.

This setup ensures that each action is completed in order before the next begins.

Parallel Workflow

A parallel workflow allows multiple actions to run at the same time after the trigger is activated. For example:

  • Step 1: Send a Slack notification to the finance team.

  • Step 2: Email the engineering team.

  • Step 3: Log the issue in the internal system.

All these actions happen simultaneously, ensuring you can notify multiple teams concurrently without waiting for each action to complete.

Hybrid Workflow

The hybrid workflow combines both series and parallel execution. For example:

  • Step 1: Check if an unresolved Jira ticket exists (sequential).

  • Step 2: If no ticket exists, create a new Jira ticket (sequential).

  • Step 3: Simultaneously, notify the engineering team on Slack and the finance team by email (parallel).

This approach allows you to leverage both sequential and parallel actions to work together, making it suitable for more complex workflows.

Triggers
Actions