Ask AI
Skip to main content

Get answer from template ui element

Function: Get answer from template UI element

This action allows you to extract specific information that a user has entered or selected within a UI element that is part of a larger template. Think of it as picking out a specific answer from a form or a section of your application.

Input,

  • UI element: This is the main section or component on your screen (like a form, a panel, or a specific page area) from which you want to retrieve data.
  • Sub UI element: This refers to the exact field or control within the main UI element that holds the value you need. For example, if your UI element is a "Contact Form," the "Sub UI element" could be the "Email Address" field or the "Phone Number" input.

Output,

  • Answer: This is the name of the variable where the retrieved value from the "Sub UI element" will be stored. You can then use this variable in subsequent actions.

Execution Flow,

Real-Life Examples,

Example 1: Capturing a Customer's Email from a Contact Form

Imagine you have a contact form on your website, and you want to save the email address a customer enters.

  • Inputs:
    • UI element: "Customer Contact Form"
    • Sub UI element: "Email Address Field"
    • Answer: "CustomerEmail"
  • Result: The email address entered by the customer (e.g., "[email protected]") is stored in a variable named CustomerEmail.

Example 2: Retrieving a Product Quantity from an Order Details Section

Suppose you have a page displaying order details, and you need to get the quantity of a specific product.

  • Inputs:
    • UI element: "Product Order Details"
    • Sub UI element: "Quantity Input for Item X"
    • Answer: "OrderedQuantity"
  • Result: The number representing the ordered quantity (e.g., "3") is stored in a variable named OrderedQuantity.

Example 3: Getting a User's Selection from a Survey Question

If you're running a survey and want to record the user's choice for a particular question.

  • Inputs:
    • UI element: "Customer Feedback Survey"
    • Sub UI element: "Satisfaction Rating (1-5)"
    • Answer: "UserSatisfactionScore"
  • Result: The user's selected rating (e.g., "4") is stored in a variable named UserSatisfactionScore.