Skip to main content

Add Video

AutomatR.GoogleForms.Activities.AddVideo

The "Add Video" activity in AutomatR is part of the Google Forms activities package, allowing automation processes to add a video question to a Google Form. This activity enhances the form creation process by providing the ability to embed a video from YouTube along with additional customization options.

Properties

NameDescription
Input
FormIDEnter the Form ID to which the video question should be added. String variables containing the Form ID. This field is required.
TitleProvide the title for the video question. String variables containing the title of the video question. This field is required.
LocationSpecify the location or position where the video question should be added in the form. Integer variables containing the location index.
YoutubeURIEnter the YouTube URI of the video to be embedded in the question. String variables containing the YouTube URI. This field is required.
Video AlignmentSelect the alignment type for the video question. Choose from options like "Left," "Right," "Center," etc.
CaptionEnter a caption for the video question. String variables containing the caption for the video question.
Miscellaneous
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.
Video WidthSpecify the width of the video. Integer variables containing the width value.
Output
ResultReturns the response as Form Details. Variables of relevant types (e.g., BatchUpdateFormResponse) to store the response details.

How to use:

  1. Drag and drop the "Add Video" activity onto the workflow.
  2. Configure the properties by specifying the Form ID, video question title, YouTube URI, and other optional settings.
  3. Optionally, configure the delay before starting the activity.
  4. Execute the workflow to add a video question to the specified Google Form.

Example:

Consider an example where the "Add Video" activity is used to add a video question titled "Introduction Video" with a YouTube URI of "https://www.youtube.com/watch?v=example" to a Google Form with a Form ID of "xyz789":

Add Video:
FormID: "xyz789"
Title: "Introduction Video"
Location: 2
YoutubeURI: "https://www.youtube.com/watch?v=example"
Video Alignment: Center
Caption: "Watch the introduction video for more details."

In this example, the activity adds a video question to the Google Form with the specified Form ID, title, YouTube URI, location, alignment, and caption. This enriches the form with multimedia content and additional context for form respondents.