Video Input
Upload Video Input in AgenticFlow AI
What is an Upload Video Input?
An Upload Video Input is an input component that allows you to upload a video file to the cloud and access it via a temporary URL. This URL can be used in other workflow actions, such as transcribing the video's audio or summarizing the video's content. For security reasons, AgenticFlow AI does not store your file permanently; the provided URL expires within 3 days after upload. Therefore, it is recommended to apply the desired analysis steps right after the upload.
When to Use the Upload Video Input Component
The Upload Video Input component is suitable for scenarios where you need to process a video file. For example, you can upload a recording of a meeting and run it through an LLM to transcribe and summarize the key points discussed during the meeting.
How to Add an Upload Video Input to Your Custom Workflow
The Upload Video Input component is listed under User Inputs. You can add it to your workflow using the main section or the sidebar.
Adding an Upload Video Input
Navigate to the Workflow page.
Click on + Create Workflow or select an existing workflow.
In the empty state or within your workflow, click on + Add Input.
Select Upload Video Input from the list of input components.
Upload Video Input Settings
Title
The title of your input component.
Description
Describe what this input is or will be used for. This helps users understand the purpose of the input.
Variable Name
Located at the bottom left and marked in green, you can rename the variable. Use this name to access the data in your workflow.
Optional/Required
Located at the top right, indicating whether the input is mandatory for the workflow to run:
Optional: The input is not required for the workflow to function.
Required: The input must be provided before the workflow can start.
Setting a Default Value
To set a default value for an Upload Video Input component:
Enter the value in the input field.
Click on the small setting icon at the bottom right.
Click on Set Current Value to save the default value.
Accessing the URL
To access the URL output, use the variable name within double curly braces {{}}
.
For example, if the variable name is video_url
, you can access it as:
{{video_url}}
in most workflow steps.params.video_url
in a JavaScript step.
Example Usage in a Prompt:
Practical Example
Example Workflow: Summarizing a Meeting Video
Add an Upload Video Input:
Title: "Upload Meeting Video"
Description: "Upload the video file of your meeting."
Variable Name:
meeting_video_url
Add a Video Player Action:
This allows users to play the uploaded video file in the browser to verify the correct file was uploaded.
Add an LLM with Video Processing Capabilities Action:
Use the URL provided by the
meeting_video_url
variable to access the video file.Prompt:
Run the Workflow:
Save the workflow.
On the App page, upload the meeting video using the Upload Video Input component.
Verify the video by playing it in the browser.
Run the workflow to see the transcription and summary of the meeting.
By following these steps, you can effectively utilize Upload Video Input components in your workflows to upload video files, verify them, and process them using AI, enhancing the capabilities of your AI-driven automation in AgenticFlow AI.
Last updated