Save Assets Block

Save such resources as pictures, video, audio, or files from an element or URL.

  • Type Indicates where to get the assets: from a URL or elements like pictures, audio, or video.

  • URL URL of the resource. For instance,

  • Element selector

  • File name The filename for the resource. Leave the input blank if you don't want to rename the resource.

  • On conflict Specifies what to do if there is a conflict between an asset file name and an existing one.

    • "uniquify" The browser will change the filename to make it unique.

    • "overwrite" The browser will replace the previous file by the newly-downloaded file.

    • "prompt" The browser will ask the user whether to uniquify or overwrite.

  • Save items' download ids Save the download IDs of the downloaded resources into a variable or the workflow table. It returns an array of integers.

    You can pass this download ID to the Handle Download block if you wish to retrieve the file path of the downloaded resource.

Please note:

This block cannot function without an active tab. For this reason, use the Active Tab block or the New Tab block before using this one.

Last updated