Hi team,
We’re a reseller on your platform, and we run our own help center and support system for our customers. We’d like our customers to get help without leaving the platform. To do that, we need two small additions to the reseller settings.
What we’re asking for
- A “Custom JavaScript” field in the reseller settings. The script we enter should be added to every page our customers see after they log in, just before
</body>. Many SaaS platforms offer this as “Custom header/footer code” or “Tracking code”. - Information about the logged-in user, available to that script. For example, a small read-only object on the page:
window.WL_USER = {
id: "12345", // user ID
name: "Priya Sharma",
email: "priya@example.com",
account_id: "6789", // workspace / account ID
plan: "Pro",
signature: "…" // see point 3
}
- We don’t need passwords, API keys, tokens or any conversation data, only who is logged in and which account they belong to.
- Recommended: a signature, so the information can’t be faked. Let us set a secret key in the reseller settings. Your server then adds
signature = HMAC-SHA256(secret, user id + email). Our server checks the signature with the same secret, so a user can’t pretend to be someone else by editing the page. This is the standard “identity verification” method used by most support-widget tools.
Why we need it
- Help in the right place. Our customers get stuck inside the platform (on Broadcasts, Templates, the Inbox) and today must go to a separate website and search from scratch. With a script we can show a help widget inside the platform that knows which screen they’re on, and open the right guide or video.
- No second login. To raise a support request, customers currently sign in again on our help site, even though they’re already logged in to the platform. With the user info, the request is tied to the right person and account automatically.
- Faster, more accurate support. Every request arrives with the customer’s account and plan, so we don’t need to ask “which account is this?”. Problems get solved in fewer messages.
- Fewer support requests overall. Most questions get answered right inside the platform, so fewer of them reach our team, or escalate to yours.
Privacy and safety
- The script field would be editable only by us as the reseller, and runs only for our own customers.
- We’d use the user info only to provide help and support. No passwords, payment details or message content are needed.
- With the signature in place, the information can’t be faked by end users.
Done looks like
- Reseller settings have a “Custom JavaScript” field, injected on every logged-in page.
- The logged-in user’s ID, name, email, account ID and plan are available to that script.
- (Recommended) A secret key in settings, plus a
signaturevalue for verification. - (Nice to have) An event or callback when the user moves to another page inside the platform.
If any of this already exists under a different name, please point us to the setting.
Thanks!