flaky-iron-27969
11/23/2025, 11:38 PMconsole.log(event.payload)
const userResponse = event.payload.value
const selectedTitle = event.payload.text
// Log the payload values for debugging
console.log(‘🔍 Payload value:’, userResponse)
console.log(‘🔍 Payload text:’, selectedTitle)
// Save in workflow.RightType
workflow.RightType = userResponse
console.log(‘✅ Interactive response captured:’, userResponse)
console.log(‘📝 Selected title:’, selectedTitle)
console.log(‘💾 Response saved in workflow.TipoDeDerecho:’, workflow.TipoDeDerecho)
and this is the botpress bot log
[whatsapp] WhatsApp handler failed with status 500: Error while handling request:
more details in the doc
I have another bot that this doesn't seem to affect, and it's exactly the same code for handle. but older whatsapp version
https://cdn.discordapp.com/attachments/1442298176236421202/1442298176420839464/message.txt?ex=6924ec59&is=69239ad9&hm=f839dbd4ed7434baad19a0f365e30b56f54a0e169e19590e8394ec6fb3ae772d&