Report Node

Updated 1 week ago by Totalcloud

What is Report Node?

Report node helps you automatically send sharable reports to yourself, to specific team(s), or peer(s) via email. It generates reports in the form of pdf, csv, or charts. When this node executes, a secure link to the downloadable report is sent to your email ID.

Working with Report Node

To define a Report node in a Workflow, follow the steps below:

  1. Go to workflow editor, after starting a new workflow or picking a new template
  2. If you start a new workflow:
    1. Click on the Report icon available on the left navigation menu.
    2. Double click on the Report node to access the parameters input window.
  3. If you pick an existing template:
    1. Double click on existing Report node to access the parameters input window.
  4. Enter the required information in the parameters input window.

  1. Click on Save Node.

Output

Upon successful execution of this node, an email is sent to the registered email ID with a secure link to download the report.

Here's how a sample email looks like:

Here's how the report looks when you click on the secure link.

Example:

Generate a report encompassing a graph of the count of volumes in each AZ. To create this graph, you need to set AZ as X-axis and volumes as Y-axis. Note that this is possible if your workflow’s Resource node fetches EC2 Volumes.

You can perform three types of reporting with Report node:  

  1. Passthrough: This sends the report encompassing all the data it receives. Example: Create a list of all EC2 instances belonging to Test Env.
  2. Input transformer: This sends the report in a tabular format with data from only the selected columns/keys. Example: Create a table listing VolumeID, Volume type, and Snapshot IDs of EC2 volumes belonging to N. Virginia region.
  3. Chart: This sends the report in graphical format with your choice of keys for X axis and Y axis. Note that:
    1. If you choose the Y axis as a number, the chart will consider the sum of values of each unique value of X axis. Example: Create a graph of sum of the size of all the volumes in each Availability Zone (AZ).
    2. If you choose the Y axis as a string, the chart will consider the count of values of Y axis for each unique value of X axis. Example: Create a graph of the count of volumes in each AZ.


How did we do?