HomeGuidesRecipesAPI
HomeGuidesAPILog In

Data Parse Action

The data parse action extracts a single value from an XML or JSON string, usually for passing as an input to another action.

Usage

Input PropertyDescription
File FormatChoose from XML/JSON (Default JSON)
DataA reference to an XML/JSON string to parse
XpathAn Xpath or JPath term that targets the value to be extracted.

e.g.

TypeContent
Data


Harry Potter
J K. Rowling
2005
29.99

Xpath//title[@lang='en'][1]

This results in "Harry Potter" as the output