Skip to main content
DemoZalo 0862020654

Interaction

Save Assets

Save assets (image, video, audio, file) from element or URL

Block type: save-assets

The Save Assets block’s settings panel in the workflow editor.
The block’s settings, as they appear in the editor.

Inputs

NameTypeDefaultDescription
disableBlockbooleanfalseDisable this block
descriptionstring—Node description
findByselectcssSelectorSelector type
cssSelectorxpath
selectorrequiredstring—CSS selector or XPath
waitForSelectorbooleanfalseWait for selector to appear
waitSelectorTimeoutnumber5000Selector wait timeout (ms)
markElbooleanfalseHighlight element
multiplebooleanfalseSelect multiple elements
saveTypeselectelementSave from element or URL

Example: element

elementurl
urlstring—Asset URL (url mode)
filenamestring—Custom filename
onConflictselectuniquifyOn filename conflict

Example: uniquify

uniquifyoverrideskip
saveDownloadIdsbooleanfalseTrack download IDs
saveDatabooleantrueInsert into the workflow table
dataColumnstring—Table column name
assignVariablebooleanfalseAssign to variable
variableNamestring—Variable name

Outputs

  • filePathstring

    Saved file path