Event triggers with web chat

Are there any good example demos of making use of on-page triggers with the webchat? I'm struggling to come up with a good user experience that accounts for both new chats and existing chats.

Can you determine client-side whether a chat has yet been established, so decide whether to send an interaction accordingly? If you use a trigger but the chat hasn't started, when the user opens the chat they will have both the starting message AND the message sent as a result of the trigger, which doesn't read well.
Was this page helpful?