magnificent-london-18710
11/25/2025, 3:03 AMprehistoric-airline-35248
11/24/2025, 7:10 PMicy-market-92637
11/24/2025, 5:51 PMbillowy-morning-42410
11/24/2025, 2:17 PMenough-dog-47566
11/24/2025, 11:54 AMfuture-father-35487
11/24/2025, 12:12 AMflaky-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&powerful-summer-70024
11/23/2025, 5:29 PMeager-kite-3176
11/23/2025, 7:15 AMbig-wire-17689
11/22/2025, 5:27 AMimportant-spring-86151
11/21/2025, 7:11 PMloud-crowd-60573
11/21/2025, 4:00 PMloud-crowd-60573
11/21/2025, 4:00 PMloud-crowd-60573
11/21/2025, 3:26 PMbrief-ambulance-57007
11/21/2025, 1:42 PMaloof-napkin-97210
11/21/2025, 9:39 AMHITL_Direct_Workflow.
### 🎯 Objective:
Trigger HITL_Direct_Workflow via a Global Trigger based on a simple incoming message text ('hitl').
### ❌ Issue Encountered:
The trigger is created, but when typing 'hitl' in the chat, the workflow does not activate (the conversation stays in the Main Flow or terminates).
### 🛠️ Solutions Attempted:
1. Trigger Used: Custom Trigger (advanced) (I chose this because Intent Triggered is disabled, as shown in the attached image, and I want to avoid using Webhook Event if possible).
2. Configuration:
* Event Type: bp/webchat/message/incoming (Listening to incoming messages).
* Condition/Filter Expression: {{ event.payload.text == 'hitl' }}
* Target Node: Points directly to the Entry node of my HITL_Direct_Workflow.
3. Validation: The HITL_Direct_Workflow is currently grayed out (inactive) because it is not called by the Main Flow, confirming it relies entirely on the Global Trigger for activation.
### ❓ My Question to the Experts:
Is there a specific restriction preventing a Custom Trigger (advanced) from listening globally to bp/webchat/message/incoming when its target workflow is inactive/secondary?
Should I use a different event type or wrap the condition differently?
Any guidance on how to force the activation of an isolated workflow via a simple keyword filter would be greatly appreciated!
Thank you!chilly-apartment-48668
11/20/2025, 4:11 PMcareful-manchester-82797
11/20/2025, 4:03 PMmodern-gigabyte-76994
11/20/2025, 1:16 PMhallowed-branch-68168
11/20/2025, 10:20 AMbrief-horse-74002
11/20/2025, 7:26 AMwooden-beard-40210
11/19/2025, 9:28 PMimportant-spring-86151
11/19/2025, 8:35 PMboundless-cartoon-88019
11/19/2025, 9:40 AMglamorous-airport-3545
11/19/2025, 8:27 AMpollux-container id
- a custom code block with pollux-embed id
- a div inside the custom code block with pollux-div id
I tried setting each of these elements as the target of the "Where to show chat" field in my bot's webchat settings but nothing works.
The custom code is properly setup in the of my page. The toggled version of the same bot works fine. So the issue seems to rely on the embed setup but I can't figure it out. No JS error shows in console.
Anyone ran into the same problem ? Any help or tip would be greatly appreciated. Thanks a lot !
https://cdn.discordapp.com/attachments/1440619528332640287/1440619528588496978/Capture_decran_2025-11-19_a_09.17.03.png?ex=691ed0fd&is=691d7f7d&hm=dd32d177e82e2a2d56c49f3fd13f8ff0264417662482fc665dc5c770e6c7c37f&
https://cdn.discordapp.com/attachments/1440619528332640287/1440619529070710885/Capture_decran_2025-11-19_a_09.17.16.png?ex=691ed0fd&is=691d7f7d&hm=679a811a554f6dad1af542bac87797bd3b9081d0068b40fc444e5065fc44f125&
https://cdn.discordapp.com/attachments/1440619528332640287/1440619529322496010/Capture_decran_2025-11-19_a_09.17.39.png?ex=691ed0fd&is=691d7f7d&hm=0fdb0ae3dc7083d0bd144fb6148be2d4c3937fc6b919a68d33a9e3b4d14ca2f8&
https://cdn.discordapp.com/attachments/1440619528332640287/1440619529591066765/Capture_decran_2025-11-19_a_09.17.57.png?ex=691ed0fd&is=691d7f7d&hm=1f692323adea04c8008fa257784e97cd2c850b405ec2f790ba53b2eaf94af3ce&
https://cdn.discordapp.com/attachments/1440619528332640287/1440619529850851449/Capture_decran_2025-11-19_a_09.18.22.png?ex=691ed0fd&is=691d7f7d&hm=eb64cebe03d591b0f2a3693c0869979aa6ba0f76b5ee02fc2e3fd867800acc47&square-restaurant-14664
11/18/2025, 11:40 PMred-orange-3256
11/18/2025, 10:56 PMbig-wire-17689
11/18/2025, 4:18 PMmany-apartment-14361
11/18/2025, 11:20 AMbetter-optician-3834
11/18/2025, 7:40 AM