<@729424691046907934> if my only option is to add ...
# 🌎general
d
@rich-battery-69172 if my only option is to add an embed (which can be html like i think) then should this work to activate the trigger?
Copy code
html
<script>
      window.botpressWebChat.onEvent(
        function (ev) {
          window.botpressWebChat.sendEvent({
            type: "loadConversation",
          });
        },
        ["LIFECYCLE.LOADED"]
      );
      window.addEventListener("message", function (event) {
        // console.log(event.data.type);
        if (event.data.type == "LIFECYCLE.READY") {
          window.botpressWebChat.sendEvent({
            type: "trigger",
            channel: "web",
            payload: {
              text: "",
            },
          });
        }
      });
    </script>