Time Question
AutomatR.GoogleForms.Activities.TimeQuestion
The "Time Question" activity in AutomatR is part of the Google Forms activities package, allowing you to create a new question in a Google Form that captures time-related information. This activity streamlines the process of adding time-based questions to enhance the versatility of form creation workflows.
Properties
Name | Description |
---|---|
Input | |
Form ID | The unique identifier of the Google Form to which the time question should be added. Only supports strings or string variables. This is a required field. |
Title | The title of the time question. String variables containing the question title. This is a required field. |
Description | The description or additional information for the time question. String variables containing the question description. |
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. |
Duration | Specifies whether the question needs a duration value. It is a boolean 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 "Time Question" activity onto the workflow.
- Configure the properties by providing the necessary details such as Form ID, Title, Description, Required, Location, and Duration.
- Optionally, configure the delay before starting the activity.
- Execute the workflow to add the time question to the specified Google Form.
Example:
Consider an example where the "Time Question" activity is used to add a time-based question to a Google Form:
Time Question:
Form ID: formIdVariable
Title: "Select Meeting Time"
Description: "Choose the preferred time for the meeting."
Required: true
Location: 3
Duration: true
Result: formResponseVariable
In this example, the activity adds a time-based question titled "Select Meeting Time" with an optional duration. The question is marked as required and is positioned at index 3 within the form. The response is stored in the variable formResponseVariable
for further handling.