Klarity

Budget Notifications

Creating a budget is easy. Staying within that budget, not so much

Setting up a workflow helps departments and lines of business stay within the allocated budget. In addition, this alerts budget owners when the projected spending exceeds their budget.

Consider setting additional workflows that send alerts when overall spending is nearing budget limits. It can help departments track their actual spending compared to the allocated budget and avoid unpleasant surprises at the end of the quarter or year.

  1. On the left menu, click on the Settings tab, then click Workflows. At the bottom, you will see your list of active and inactive workflows.

    menu-workflows

  2. Click Add new Workflow in the top right corner.

    button-add-workflow

  3. Type the workflow name and description, and select or add a contact person.

  4. By default, the toggle is always active. If you want to manually activate the workflow later, click the toggle to deactivate it. Then click Next Step.

    workflow-wizard-1

Workflow Triggers

You can wait for Klarity to trigger your workflow or set your own. There are two triggers you can choose from:

  • Scan Completed: Klarity scans your cloud every 24 hours. After scanning, the workflow will start.
  • Scheduler: This is a manual method of creating your own scheduler. Here you can choose the starting date and the execution time and set it to run once or repeat it; If repeating, you will need to add an end date.

scan-completed

Select Data

  1. First, click and drag Budgets to the Select Data window and click the gear icon.

    budgets

  2. Click on Select all to choose all the applications or select the applications individually. When selecting applications, it will also include environments automatically.

  3. Next, choose the organizational units. Again, you can click Select all or choose them individually.

    select-app

Send Data

Send Data Email

If you want the budget notifications to be sent via email, click and drag Email to the Send Data window and click the gear icon.

budget-email-icon

  1. The first option is When to Send. Select your options by clicking the toggle. You have the following options:

    • When Forecast exceeds Budget.
    • When Cost exceeds Budget.
    • Both
  2. Next, choose who to Send to. Choose from the following:

    • Send to each owner and contact person: The email will be sent to the application, environment, or organizational units' owners.
    • Send to additional users: Type the other recipients in the text box below.
  3. Then, click Apply to save the changes.

    budget-email

  4. Finally, click Add Workflow, and you're done.

Send Data ServiceNow

If you want to create a ServiceNow ticket, click and drag ServiceNow to the Send Data window and click the gear icon.

budget-servicenow-icon

  1. First, you must enter your ServiceNow account details:

    • URL: The full path to the Rest API endpoint can create a new object in the ServiceNow instance. E.g.: https://dev12345.service-now.com/api/now/table/incident
    • Username: The username used to authenticate to the ServiceNow instance.
    • Password: Password used to authenticate to the ServiceNow instance.
  2. Short Description: This is a field for a short description of the ticket (character limit of 160).

  3. When to Send: Select your options by clicking the toggle. The default message will be added to the ServiceNow description field. You have the following options:

    • When Forecast exceeds Budget
    • When Cost exceeds Budget
    • Both
  4. Additional Fields: (Optional) - list of custom ServiceNow key and custom value fields. You can use [text_markers]. They will be replaced with the real values during workflow executions in each field.

  5. Then, click Apply to save the changes.

    budget-servicenow

  6. Finally, click Add Workflow, and you're done.

Send Data Slack

If you want the budget notifications to be sent via Slack, click and drag Slack to the Send Data window and click the gear icon.

budget-slack

  1. First, you must enter your Slack account details.

    • Token: Authentication tokens where the messages will be sent.
    • Channel: The Slack channel where the message will be sent.
  2. When to Send: Select your options by clicking the toggle.

    • When Forecast exceeds Budget
    • When Cost exceeds Budget
    • Both
  3. Then click Apply to save the changes.

    budget-slack-settings

  4. Finally, click Add Workflow, and you're done.

Edit this page on GitHub