How can i automatically send a message whenever th...
# 🤝help
b
I have the trigger beta but i wanted to know how i can configure it to send a message automatically whenever the user opens the chatbot
a
Are you part of the triggers open beta? https://discord.com/channels/1108396290624213082/1121833577659768893 triggers can be used to get this done
b
yes i am i just want to find out the exact way to do it i cant seem to figure it out on my own
a
We're working on a video for it, but here's the basics: 1. Publish & embed your bot somewhere. Can be anywhere, I like to use jsfiddle.net for testing like this https://jsfiddle.net/GordyNumberOne/bxg97fod/21/ 2. Add a trigger to your main flow. Right click > trigger 3. Trigger on "Webchat | Conversation started" 4. Discover events 5. Back in JS fiddle, open your bot & send it a message 6. Back in Botpress, when you click "Refresh" you should see a nice table. Click on any of those cells and save 7. In the drop down, select your newly-saved event. 8. Connect your trigger node to wherever you want the bot to start 9. Test in the emulator by pressing "Trigger this event" 10 Publish your bot again and test in JS fiddle (or wherever your bot is embedded)
b
tysm
4 Views