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