https://discord.gg/botpress logo
Issue: Check-out Date Wrapped in Extra Quotes in H...
# šŸ¤help
f
Hey team! I’m working on a hotel booking bot in Botpress. I’m using two date inputs: one for check-in (workflow.check_in_date) and one for check-out (workflow.check_out_date). Both are captured using standard date input fields. The problem is: āœ… check_in_date is stored and used correctly āŒ But check_out_date is automatically wrapped in double quotes — e.g., "2025-07-15T00:00:00.000Z" When I pass it to an HTTP Request card like this: { "checkIn": "{{workflow.check_in_date}}", "checkOut": "{{workflow.check_out_date}}" } …the final payload becomes: "checkOut": "\"2025-07-15T00:00:00.000Z\"" This breaks parsing on the receiving end (I'm using Make.com to process bookings). I’ve confirmed that the variable is stored as workflow.check_out_date (no quotes or curly braces in the config), and even tried .replace() in a code card, but the issue persists. 🧪 Steps to Reproduce: Use a Date Input for check-in and check-out Save both to workflow Display both in a text card → check-out shows with extra quotes Pass both to HTTP body → only check-out gets malformed Any idea why this is happening only for check_out_date? Would love a fix or official workaround
w
check that
workflow.check_out_date
is actually a date ( not a string)
f
@wooden-beard-40210 it is date, i checked it on the variable section.
3 Views