Display Message

Introduction

The 'Display Message' action in Autom Mate is used to show a text message on the screen. This message can include variables, providing flexibility in displaying dynamic information.

The purpose of the 'Display Message' action is to facilitate the visual representation of text data during workflow execution. It allows users to view the content of variables or manually entered text for debugging, testing, or informational purposes.

What is Display Message?

The 'Display Message' action is designed to present text content to users during the execution of workflows. This action is particularly useful for inspecting responses, manipulating JSON data, and understanding workflow outputs.

Key Features

  • Title Description:

    • Description can be added to the Title field for clarity.

    • It can be selected as a variable by clicking the variable selection button.

  • Text to be Displayed:

    • Enter the text message to be displayed in the Message field.

    • This text can also be selected as a variable by clicking the variable selection button.

How To Use Action

Basic Usage

Description: The 'Display Message' action allows users to view text messages on the screen during workflow execution.

Usage:

  1. Title:

    • Add a description or title for the message (optional).

    • This can be a static text or a variable.

  2. Message:

    • Enter the text message to be displayed.

    • This can be a static message or a variable.

Manual Usage

Advanced Usage

Manual Data: The 'Display Message' action supports manual input of data directly within the configuration form.

Using Variables

Users can define variables with default values to display dynamic content.

  1. Create a Variable:

    • Define a variable with a default string value.

  2. In the 'Message' field of the 'Display Message' action, use the variable placeholder:

    • Example: ##variable_name##

Real-life Use Example

Manipulating Response from a GET Action

Consider a scenario where we want to manipulate a response from a GET action to extract specific user information.

  1. Perform a GET action to retrieve user data.

  2. Add an object type variable to store the response.

The response is not a usable thing for automation. So, we have to manipulate the json that we are seeing. We can use a third party json beautifier tool to see it clearly.

If we want to see the company, the name of the user and their login name as response, we will manipulate our response variable.

  • For company name: ##get_response[users][0][account][name]##

  • For user name: ##get_response[users][0][name]##

  • For login name: ##get_response[users][0][login_name]##

We can put all this variables to the message field in our action.

For making the response more understandable we can add manual inputs to the beginning of variables.

This will be our action:


Additional Tips

Last updated