Kapitel 13/Tutorial.md aktualisiert

This commit is contained in:
2025-08-28 18:47:09 +00:00
parent 380468167b
commit 5a44116327

View File

@@ -376,39 +376,38 @@ Im Ergebnis findest du im Feld `data[0].id` deine **User-ID** (z. B. `123456789`
``` ```
### 5. Set Node Felder übernehmen ### 5. Set Node Felder übernehmen
```git
# Set Node Felder übernehmen # Set Node Felder übernehmen
file_exists → json {{ JSON.parse($json.stdout).file_exists }} file_exists → ```json {{ JSON.parse($json.stdout).file_exists }} ```
non_empty → json {{ JSON.parse($json.stdout).non_empty }} non_empty → ```json {{ JSON.parse($json.stdout).non_empty }} ```
vods → json {{ JSON.parse($json.stdout).vods }} vods → ```json {{ JSON.parse($json.stdout).vods }} ```
# WICHTIG # WICHTIG
- Stelle die Felder auf den Typ Array bzw. Boolean um. - Stelle die Felder auf den Typ Array bzw. Boolean um.
- Aktiviere die Option: Add Option → Ignore Type Conversion Errors → einschalten. - Aktiviere die Option: Add Option → Ignore Type Conversion Errors → einschalten.
```
### 6. State ermitteln (Set-Node EIN Feld) ### 6. State ermitteln (Set-Node EIN Feld)
```git
# State ermitteln # State ermitteln
state → {{ $json.file_exists === false state → ```json {{ $json.file_exists === false
? 'CREATE_AND_DOWNLOAD' ? 'CREATE_AND_DOWNLOAD'
: ($json.non_empty === false : ($json.non_empty === false
? 'APPEND_AND_DOWNLOAD' ? 'APPEND_AND_DOWNLOAD'
: 'NEED_CHECK') }} : 'NEED_CHECK') }}
```
# WICHTIG # WICHTIG
- Aktiviere die Option: Include Other Input Fields → ALL. - Aktiviere die Option: Include Other Input Fields → ALL.
```
7. Switch-Node drei klare Wege 7. Switch-Node drei klare Wege
Switch → Property Name: ```json {{ $json.state }} ``` Switch → Property Name: ```json {{ $json.state }} ```