https://retellai.com/?utm_source=discord&utm_medium=seo logo
Best practice to persist and update a selected obj...
# ❓・bug-report
d
Best practice to persist and update a selected object across turns when Extract Dynamic Variable only supports text/enum/bool (no object)? My API returns devices[], I pick one (currentDevice = devices[i]); callers may update one field per turn (reportingInterval, firmwareVersion, nextMaintenanceDate). Should I store currentDevice as JSON text and use .walk to read fields—and if so, how do I update a single field (can I mutate nested fields or must I rewrite the JSON), and can tool/form params use dot paths like currentDevice.reportingInterval/currentDevice.id instead of separate variables per field?
s
Hi @dazzling_kiwi_86761 👋
Can you explain more whats the exact issue
Thanks