https://discord.gg/botpress logo
How to setup Custom Event card
# 🤝help
q
Hi, I don't understand how to set up the Custom Event card. Specifically, what to put in the "Event" field. There's no example in the documentation: https://botpress.com/docs/how-to-send-custom-events-from-the-webchat-to-your-web-application. I tried a simple JSON like: {type: 'end'} (coz I want to send a custom event to the web app whenever the convo reaches 'End' node) but I get this error:
Copy code
[webchat] An unexpected error occurred in the integration. Bot owners: Check logs for more informations. Integration owners: throw a RuntimeError to return a custom error message instead.
Apr 10, 2025, 6:03:13 PM
[fac4b4acd4]    [dm]    :     Error executing card "card:Send Custom Event" in flow:Conversation End:node:Handler - Ps: An unexpected error occurred in the integration. Bot owners: Check logs for more informations. Integration owners: throw a RuntimeError to return a custom error message instead.
f
Hi, @quick-branch-93406 did you resolve this issue?