curl --location '/smartflows' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateId": "35a5d0e7-934f-4d50-9f4d-8c370ca72017",
"name": "Smartflow 2025-04-24 16:14:20",
"archived": false,
"favorite": true,
"folder": "35a5d0e7-934f-4d50-9f4d-8c370ca72017",
"behavior": {
"execute": "once",
"approvalEmail": "test@gmail.com",
"dateFrom": "2025-04-15T8:00:00+02:00",
"dateTo": "2025-05-15T12:00:00+02:00",
"downTimeFrom": "22:00:00+02:00",
"downTimeTo": "08:00:00+02:00",
"reentryDelay": {
"value": 5,
"unit": "minute"
}
}
}'