Actions2
Get Variables
AI-generatedSummary
Extract variable placeholders from a DOCX or ODT template file stored on Nextcloud to identify all {d.variable} names used in the template.
Inputs
- Template From (required) — Choose how to specify the template file: either select from a folder list or provide a path via expression.
- Template Folder — When selecting from list, the Nextcloud folder containing the template file.
- Template File — When selecting from list, the DOCX or ODT template file in the chosen folder.
- Template File Path — When specifying by path, the full path to the DOCX or ODT template file on Nextcloud.
Output shape
a single JSON object containing a list of variable placeholders found in the template, the raw variable keys without {d.} prefix, count of variables, and the path of the template scanned.
The node downloads the specified template file from Nextcloud and scans it for Carbone syntax placeholders of the form {d.variable}. It returns these variables as an array in the 'variables' field (formatted as {d.variable}) and their raw names in 'rawKeys'. If no variables are found or if no template file is specified, the output array may be empty or contain informative messages. This operation accepts multiple input items but processes each separately.