> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.groupalarm.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Elements of the flow - XML parser

The `XML parser` can be used to process XML input and save the data in variables, which can then be used later in the flow.

|| The use of the `XML parser` requires knowledge of XML objects.

**Configuration**

1️⃣ The XML object to be used for processing can be specified in the `XML: Input function`. This can be obtained from previous elements.

2️⃣ The book symbol on the right-hand side can be used to insert templates that already contain predefined variables.

3️⃣ To define a variable, the name must be specified as well as the path of the data within the XML object.

4️⃣ The `Required` function can be used to specify whether filling the variable is essential for the further execution of the flow. If this option is activated, the flow is cancelled if the required data is not found.

5️⃣ The `Output as a list` function can be used to save the data of a row as a string in the variable.

6️⃣ Additional variables can be defined via `ADD VARIABLE`.

![](https://storage.crisp.chat/users/helpdesk/website/91fefd8b4b0ac000/flowxmlparseren_1yl4tbl.png)