Skip to main content

Text Question

AutomatR.GoogleForms.Activities.TextQuestion

The "Text Question" activity in AutomatR is part of the Google Forms activities package, allowing you to create a new text-based question within a Google Form. This activity streamlines the process of adding questions that require textual input, providing flexibility in form creation workflows.

Properties

NameDescription
Input
Form IDThe unique identifier of the Google Form to which the text question should be added. Only supports strings or string variables. This is a required field.
TitleThe title of the text question. String variables containing the question title. This is a required field.
DescriptionThe description or additional information for the text question. String variables containing the question description.
Text Question TypeSelect the type of text question (paragraph/short answer).
RequiredSpecifies whether the question is required or not. It is a boolean value.
LocationThe location or position where the question should be created within the form. It is an integer value.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before starting the activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultReturns the response as Form Details. Variables of type BatchUpdateFormResponse to store the result.

How to use:

  1. Drag and drop the "Text Question" activity onto the workflow.
  2. Configure the properties by providing the necessary details such as Form ID, Title, Description, Text Question Type, Required, and Location.
  3. Optionally, configure the delay before starting the activity.
  4. Execute the workflow to add the text question to the specified Google Form.

Example:

Consider an example where the "Text Question" activity is used to add a text-based question to a Google Form:

Text Question:
Form ID: formIdVariable
Title: "Enter your feedback"
Description: "Provide your thoughts on the product/service."
Text Question Type: Paragraph
Required: true
Location: 4
Result: formResponseVariable

In this example, the activity adds a text-based question titled "Enter your feedback" with a paragraph response type. The question is marked as required and is positioned at index 4 within the form. The response is stored in the variable formResponseVariable for further handling.