Ask AI
Skip to main content

Get answers from template ui elements

Function: Get answers from template ui elements

This action allows you to collect all the answers or data entered by users into specific UI elements that are part of a larger template. It gathers information from all components within a designated template and stores it for further use in your application.

Input

  • Template
    • Type: TEMPLATE
    • Description: Select the specific template that contains the UI elements from which you want to retrieve answers. This is the blueprint for the UI components you're interested in.

Output

  • Answer Variable Name
    • Type: STRING
    • Description: Provide a name for the variable where the collected answers will be stored. This variable will contain a collection (Map) of all answers, with each answer identified by the unique name of its corresponding UI element.

Execution Flow

Real-Life Examples

Example 1: Customer Feedback Form

Imagine you have a customer feedback form built using a template, and you want to gather all the responses submitted by users.

  • Inputs:
    • Template: "CustomerFeedbackForm"
    • Answer Variable Name: "FeedbackResponses"
  • Result: A new variable named FeedbackResponses is created. This variable contains a collection of all the text, selections, and ratings provided by customers in the "CustomerFeedbackForm" template. You can then use this data to analyze customer satisfaction.

Example 2: Order Details Collection

Suppose you have an order form template where users enter product quantities, delivery addresses, and special instructions. You need to capture all this information to process the order.

  • Inputs:
    • Template: "ProductOrderForm"
    • Answer Variable Name: "OrderInformation"
  • Result: A variable named OrderInformation is populated with all the details entered by the user in the "ProductOrderForm" template. This includes product IDs, quantities, shipping details, and any notes, ready to be used for creating a new order record.

Example 3: Employee Onboarding Checklist

You've created an onboarding checklist as a template for new employees, where they mark tasks as complete. You want to track the progress of each new hire.

  • Inputs:
    • Template: "NewEmployeeOnboarding"
    • Answer Variable Name: "OnboardingStatus"
  • Result: A variable named OnboardingStatus is created, holding the completion status of various tasks (e.g., "HR Forms Completed: Yes", "IT Setup: In Progress") from the "NewEmployeeOnboarding" template. This allows you to monitor and manage the onboarding process for new hires.