Skip to content

Html Extract

Node: htmlExtract · Full type: n8n-nodes-base.htmlExtract · Version: 1

Parameters

Parameter Type Default Details
sourceData options "json" binary, json
dataPropertyName string "data" required
extractionValues fixedCollection {} groups: values
options collection {} keys: trimValues

extractionValues children:

values group:

Parameter Type Default Details
key string ""
cssSelector string ""
returnValue options "text" attribute, html, text, value
attribute string ""
returnArray boolean false

options children:

Parameter Type Default Details
trimValues boolean true

Example

NODE "htmlExtract" AS "Html Extract" {
  dataPropertyName: {{ $json.dataPropertyName }}
}