Add a way to test triggers from within the Botpres...
# 👀feature-requests
c
It would be great if you could add a way to triggers from within the botpress studio editor. I'm currently using the embed link to test but it would make my life a lot easier if I could do it from within the studio. This feature would be especially useful for payload triggers since they are generally used to modify chatbot behavior and flow based on the input. However, it could be useful to have for other trigger types too. It is a little time consuming to have to publish the bot each time I make a small change, go to the embedded version of the bot make sure the previous conversation has ended (since there’s no reset button which the emulator has) and then trigger it there.
g
There already is a way to do that
Select your trigger, on the right hand panel you would see a button for Discover Events
Click that and select one that you wanna keep as your test
Back on the panel, from the dropdown, select the selected event
You would see a button for Test then
c
@gentle-shampoo-88367 That's great to hear. I did see something in the docs about discover events but I can't seem to find that anywhere within my studio. I don't know what I'm doing wrong. Here's a screenshot of what I see when I select the trigger. Do I need to enable something to see the Discover events button?

https://cdn.discordapp.com/attachments/1144976797038034954/1145884977746153583/Screenshot_from_2023-08-28_18-53-37.png

q
you mean this events?

https://cdn.discordapp.com/attachments/1144976797038034954/1145887189012582421/486464.PNG

each time itrs trigered with trigger it saved there for me
c
No, I mean the discover events button he is talking about that should show up in the right panel when I select the trigger
q
its there, for me, weird.
c
This is the one I'm talking about, but I don't know why I don't have it. Circled in red

https://cdn.discordapp.com/attachments/1144976797038034954/1145887851859423292/Screenshot_from_2023-08-28_19-07-53.png

q

https://cdn.discordapp.com/attachments/1144976797038034954/1145887899598991502/434543e.PNG

hm
c
Yup, that one. Not sure why I dont have it
q
thats weird man
even 2 nodes that are empty and not connected got it.
c
Well let's see if @gentle-shampoo-88367 or someone else knows why I don't have it...
g
@cool-summer-17043 Thats wierd
Just try creating another bot and see if you the button over there.
c
I didn't try on a new bot but I tried on another one I already had and it was the same
I'll try a new one too
It's the same on a new bot as well
g
Funny, in one of my bots the trigger has the "discover events" feature, but an export of the same bot doesn't allow it. I don't understand how that works
c
@gentle-shampoo-88367 Is there anything else I can try to get the discover events button? Also is there a way to move a post from feature-requests to help since this turned out to be a bug and not a feature request?
g
I am not sure if there is anything else, i suggest you create a new thread in help and link this one in your post
2 Views