Open media
Function: Open media
This action allows you to enable your users to open a specific file from your application's media library directly in a new browser tab. It's perfect for displaying documents, images, or other media files without navigating away from the current page.
Input,
- Media ID:
- Description: The unique identifier for the file you want to open from your media library. This ID tells the system exactly which file to display.
- Type: STRING
Output,
This action does not produce any direct output that can be used in subsequent steps of your workflow. Its primary effect is to open a new browser tab for the user.
Execution Flow,
Real-Life Examples,
Here are some practical ways you can use the "Open media" action in your application:
-
Viewing a Product Manual:
- Scenario: A user is viewing a product page and wants to see the detailed instruction manual.
- Inputs:
Media ID: "product_manual_xyz_v2"
- Result: A new browser tab opens, displaying the PDF document of the product manual.
-
Accessing a Company Policy Document:
- Scenario: An employee needs to review the company's latest vacation policy.
- Inputs:
Media ID: "hr_vacation_policy_2024"
- Result: The company's HR vacation policy document is opened in a new browser tab for the employee to read.
-
Opening a Customer Invoice:
- Scenario: An administrator needs to quickly view a specific customer's invoice from their order history.
- Inputs:
Media ID: "invoice_customer_12345_order_6789"
- Result: The customer's invoice document is displayed in a new browser tab, allowing the administrator to review it.