Adding custom content inside the VF widget
I'm building a feedback solution for my project. I know that through the extensions it would be possible to create feedback after every message. I would however want to create a feedback that is always visible in certain place in VF container, for example in footer. Is this possible? Is it possible to add custom content to VF widget other places than in VF chat dialog?
I tried to solve this with JS injection which I manage to get work but it's seems to not be 100% reliable. Is there any other ways to solve this?
Thanks in advance!
1 Reply
Yes, it’s possible but not directly inside the VF widget itself.
Voiceflow only supports custom UI inside the chat dialog, not fixed elements like a footer. JS injection can work, but as you noticed, it’s not fully reliable because the widget re-renders.
The proper way is to wrap the VF widget inside your own custom container and place your feedback component (footer, buttons, etc.) outside the widget. That gives you full control without fighting the widget’s DOM.
If you want, I can guide you on the exact setup.
@Kaleksy