Create Shared Link
AutomatR.Dropbox.Activities.CreateSharedLink
The "Create Shared Link" activity in AutomatR is part of the Dropbox.Files activities package, allowing users to generate a shared link for a file or folder in a user's Dropbox. This activity simplifies the process of sharing files or folders with others, enhancing collaboration within automation workflows.
Properties
Name | Description |
---|---|
Input | |
File Path | Specifies the path of the file or folder in Dropbox for which a shared link will be generated. String variables containing the file or folder path. |
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 executing the "Create Shared Link" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the delay is 5 seconds, enter "5". |
Output | |
Shared Link | Returns a shared link as a string. Variables of type SharedLinkMetadata to store the generated shared link. |
How to Use
- Drag and drop the "Create Shared Link" activity onto the workflow.
- Configure the properties by specifying the file or folder path for which the shared link will be generated.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to generate a shared link for the specified file or folder in Dropbox.
Example
Consider an example where the "Create Shared Link" activity is used to generate a shared link for a file named "document.txt" within Dropbox:
Create Shared Link:
Display Name: "Generate Document Link"
File Path: "/Folder1/document.txt"
Shared Link: documentLink
In this example, the activity generates a shared link for the "document.txt" file within the "Folder1" directory in Dropbox. The generated shared link is stored in the documentLink
variable for further use in the workflow.