About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This action will save a document or picture to HiDrive.
- API endpoint slug
- hidrive.upload
- Filter code method
- Hidrive.upload.skip(string?: reason)
- Runtime method
- runAction("hidrive.upload", {})
Action fields
URL Text input > Link
- Label
- Download from which URL?
- Helper text
- Where to get the content from. Normally an ingredient of the trigger.
- Slug
- url
- Required
- true
- Can have default value
- true
- Filter code method
- Hidrive.upload.setUrl(string: url)
Path Text input > Path to a folder
- Label
- Save downloaded content where?
- Helper text
- Use for example "IFTTT/Twitter" for a folder in your home directory. You can also use an existing teamfolder by starting the path with a forward slash, such as "/IFTTT/Twitter". Do not use ingredients in this path.
- Slug
- path
- Required
- true
- Can have default value
- true
- Filter code method
- Hidrive.upload.setPath(string: path)
Subpath Text input > Other
- Label
- Use additional elements in the path?
- Helper text
- Triggers may provide ingredients that can help to organize downloaded content.
- Slug
- subpath
- Required
- false
- Can have default value
- true
- Filter code method
- Hidrive.upload.setSubpath(string: subpath)
Filename Text input > File name
- Label
- Use a specific filename?
- Helper text
- The trigger’s download URL may not contain a unique or meaningful filename, this field allows for building a filename from ingredients. A file extension is derived from the download URL.
- Slug
- filename
- Required
- false
- Can have default value
- true
- Filter code method
- Hidrive.upload.setFilename(string: filename)