Make Botpress initiate the conversation in a minim...
# 👀feature-requests
i
I have botpress set to initiate the chat a few seconds after the page loads but I don't want the entire chatbox to open until the user clicks it. Having the entire chatbox open is distracting and takes up a lot of space on the screen. I want the initial question to appear near the chat icon and then when the user clicks it, then the entire chatbox will open. I have this set up currently using a different provider so I want it to look exactly alike when we make the switch. Video of what I am looking to do attached. https://cdn.discordapp.com/attachments/1135972057985855499/1135972058665336972/Annabelle_Drift_-_Start.mp4
g
@important-accountant-83157 I have provided the exact steps to achive this over here: https://discord.com/channels/1108396290624213082/1121833577659768893/1130498767787929610
b
May I ask the need of the first part of your script? Mine is
Copy code
<script>
        window.addEventListener("message", function(event){
                if(event.data.type == "LIFECYCLE.LOADED") {
                    window.botpressWebChat.sendEvent({
                        type: "trigger",
                        channel: "web",
                        payload: {
                            text: ""
                        }
                    })
                }
            },['LIFECYCLE.LOADED']
        )
    </script>
and works totally fine.
g
that's being used to load previous conversations
b
ok. Thank you very much for yor answer
r
Could you share a video of eactly how you did this, step by step?
i
Yeah, I was able to do this with another app.
g
@important-accountant-83157 unfortunately thats not a possiblity just yet!