@busy-computer-17068 I tried that but it didnt worked.
Actually I want to add something more, the flow is like after Standard1 card if user choose "Yes" then it goes to Standard2 card, after that my webpage catches this event and trigger a custom trigger like below where I pass some data and in botpress I have a trigger which further points to a expression which check the event conditions (Standard12). First time the complete flow happens correctly but in the same window if I start the conversation with 'hi', it goes from Standard1 to Standard2, and then my webpage catches the event, after this I am not sure why the event.payload.payload.name is received null and in botpress log I can see below error, and instead it picks the event of Standard1 card.
error in botpress logs:
[Capture] All properties of the extracted object are null, which means the user probably didn't answer the question
TRIGGER from webpage:
window.botpressWebChat.sendPayload({
type: "trigger",
payload: {
name: 'ALLOW',
data: 'dummy-data'
},
});