Skip to content

Commit

Permalink
Update README.md (#5132)
Browse files Browse the repository at this point in the history
  • Loading branch information
elinornetapp authored Dec 5, 2024
1 parent 55ee044 commit cef7ace
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/docs/cost-intelligence/tutorials/workflow-builder/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Workflow Builder
You can create automated workflows in Cost Intelligence Workflow Builder. Flows are based on data in the Cost Intelligence dashboards.

## Prerequisites
You can create automated workflows in Cost Intelligence Workflow Builder. Flows are based on data in the Cost Intelligence dashboards.

An alert or action based on automatically identified anomalies (must be indicator, dial or bullet).
Examples of types of flows you can create:

Here are some examples of types of flows you can create:
* Send scheduled emails
* Generate alerts based on specific conditions
* Update custom datasets
Expand All @@ -17,7 +15,12 @@ Here are some examples of types of flows you can create:

</details>

## Prerequisites

An alert or action based on automatically identified anomalies (must be indicator, dial or bullet).

## Create a Workflow

1. Click **Create New Flow**.
<details>
<summary markdown="span">View image</summary>
Expand Down Expand Up @@ -108,20 +111,23 @@ To edit an <i>active</i> flow, click **Pause**.
A token is a variable or parameter that acts as a container for data. When a metric is created in the Cost Intelligence dashboard, you can use it as a token in workflows. For example, you can use tokens in datasets, and to make alerts dynamic. This lets you generate workflows based on the same data you have in your dashboards. You can use metrics and formulas (tokens) created by any user in the same Spot organization.

### System Tokens

System tokens can be used with any dataset and focus on more global variable types, for example:

* {{CURRENT_DATE}} inserts the current date.
* {{LAST_MONTH}} inserts the last month.
* {{TOMORROW}} inserts the date for tomorrow.

### Custom Tokens Automatically Created in Dashboard

When you create metrics, formulas, and other datapoints used in Cost Intelligence dashboards, a token is automatically created. You can then use these tokens in workflows.

Let’s say you have a chart in the Cost Intelligence dashboard with the number of EC2 instances month to date, filtered by a specific region and cloud account. This number would map to a token that you could then use in workflows.

Another example is a gauge chart that shows the cost of all your compute services month to date, filtered by a certain set of tags. Each chart generates two tokens: one for the name of the chart and the other for the value of the chart.

### Custom Tokens Created in Workflow Builder

From the token dropdown menu, click **Add/Manage Tokens** to:

1. Create tokens directly in the Workflow Builder.
Expand Down

0 comments on commit cef7ace

Please sign in to comment.