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
Name | Description |
---|---|
Input | |
Form ID | The 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. |
Title | The title of the text question. String variables containing the question title. This is a required field. |
Description | The description or additional information for the text question. String variables containing the question description. |
Text Question Type | Select the type of text question (paragraph/short answer). |
Required | Specifies whether the question is required or not. It is a boolean value. |
Location | The location or position where the question should be created within the form. It is an integer value. |
Misc | |
Display Name | Provides 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 | |
Delay | Specifies 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 | |
Result | Returns the response as Form Details. Variables of type BatchUpdateFormResponse to store the result. |
How to use:
- Drag and drop the "Text Question" activity onto the workflow.
- Configure the properties by providing the necessary details such as Form ID, Title, Description, Text Question Type, Required, and Location.
- Optionally, configure the delay before starting the activity.
- 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.