Hi dear community!
I’ve been trying to bring data from my website to update a lead in Kommo.
The data I’m having trouble with is the date of an appointment. I’m sending this data through a webhook and is being received at make like this:
Then I use the “Search contact” module from Kommo to get the lead, after that I want to update the lead, but the date comes on YYYY-MM-DD HH:mm:ss format, so I transform it to UNIX (used in Kommo) with this formula: formatDate(parseDate(1.cita; “YYYY-MM-DD HH:mm:ss”); “X”)
I can’t get this value to update at kommo, this is how I’m trying to update the “field ID” “Cita”
looking at the Operation Error, I get “[400] Bad Request Request validation failed” like so
And it looks like the value is not being processed as collection as it should
here’s the data retreived from “Search Contacts” module
Please Help
What I’m doing wrong?