WorkestraDocs
ModulesSupport

Embeddable Widget

Add a floating support button to your website so customers can submit tickets without leaving your site.

The embeddable widget adds a floating chat-style button to any website. When clicked, it opens a ticket submission form — customers can submit a support request without leaving your site. The button, header logo, and accent colors are pulled from your workspace's White-label settings so the widget feels like part of your product.

Three Ways to Embed

Go to Support → Settings → Widget to find all three snippets, ready to copy. Each one is workspace-branded automatically — no extra configuration needed.

A bottom-right floating button on any page. The compact popup includes inline knowledge-base deflection.

<script src="https://app.workestra.com/api/widget/support?workspace_id=YOUR_WORKSPACE_ID" async></script>

Paste this once into your website template before the closing </body> tag — it loads on every page.

Share a public URL anywhere. Opens the full-page submit form on Workestra, branded with your workspace logo + primary color.

https://app.workestra.com/portal/YOUR-WORKSPACE-SLUG/submit

Good for email signatures, support pages, or in-app banners.

3. Iframe embed

Embed the submit form inside a page on your own site. The visitor never leaves your domain.

<iframe
  src="https://app.workestra.com/portal/YOUR-WORKSPACE-SLUG/submit"
  width="100%"
  height="780"
  style="border:0;max-width:640px;display:block;margin:auto"
  title="Support request form"
  loading="lazy"
></iframe>

A typical use is a /contact page on your marketing site that hosts the embedded form.

What the Floating Widget Shows

The Button

A circular floating button anchored bottom-right. Its background uses your workspace's white-label primary color (or Workestra blue if you haven't configured one). Hover state is a darker shade computed from the same color.

The Popup Header

The popup header shows your workspace's logo (if configured) and a brand-named heading like "Acme Support". If no logo is set, only the brand name appears.

The Form

A compact panel with:

FieldRequiredDescription
NameYesCustomer's name
EmailYesEmail address for replies and tracking
SubjectYesBrief summary of the issue
DescriptionNoDetailed information
TypeNoSupport Request, Bug Report, or Feature Request

Focus rings and the Submit button match your brand color.

After Submission

The form shows a success message with the ticket reference number (e.g. TKT-0042). The customer receives a confirmation email with a tracking link.

Every popup shows a small "Powered by Workestra" attribution at the bottom — it's not removable on the standard plan.

Knowledge Base Deflection

As soon as the customer types in the Subject field, the widget searches your published knowledge base articles and shows up to 5 matching results inline — before the form submission button. If a customer's question is already answered in the KB, they can click through and resolve their own issue.

How it works:

  1. The widget debounces input (300 ms) and searches once the subject is at least 3 characters
  2. Results show the article title and a snippet centered on the matching keywords
  3. Clicking a result opens the article in your customer-facing knowledge base in a new tab
  4. Workestra logs each click to kb_widget_events so you can measure deflection rate
  5. The customer can still submit a ticket if no result helps

Only published articles whose visibility is public or workspace-scoped are searchable. Drafts and internal-only articles never appear in the widget.

The more KB content you publish, the higher your deflection rate. Aim for one article per recurring ticket category — you'll spend a week writing them and save months of repeat replies.

How a Submission Flows Through the System

  1. Customer fills out the form on your website
  2. The widget searches your KB inline as they type the subject
  3. If they still need to submit, the widget posts to Workestra's public ticket API
  4. A ticket is created in your Support module with channel Portal
  5. A CRM contact is created if the email doesn't already exist
  6. Auto-assignment routes the ticket to an agent (if configured)
  7. The customer receives a confirmation email with a tracking link

Branding

The widget reads its branding from Settings → Administration → White-label:

White-label fieldWhere it shows up in the widget
primary_colorFloating button, submit button, focus ring, KB result links, hover states
logo_urlSmall chip in the popup header
brand_namePopup heading ("{brandName} Support")

The widget script is cached aggressively (1 h browser, 24 h CDN). When you change branding, expect the visual update to reach existing visitors within an hour; new visitors see it immediately on the next page load.

If no white-label config exists, the widget falls back to Workestra blue and a generic chat icon.

Where to Embed

Common places to add the widget:

  • Marketing website — Let visitors ask pre-sales questions
  • Documentation site — Help readers get support when docs aren't enough
  • Web application — Give logged-in users a quick way to report issues
  • Landing pages — Capture feedback during campaigns

Rate Limiting

All three embed options share the same backend limit: 10 submissions per hour per IP address. Customers who exceed this limit see a friendly error message.

Comparison

Floating widgetDirect linkIframe embed
Visitor stays on your siteYesNoYes
SetupOne <script> lineShare a URLOne <iframe> line
BrandingLogo + primary colorLogo + primary colorLogo + primary color
KB deflectionInline as they typeInline as they typeInline as they type
File attachmentsLink to full formUp to 3 × 10 MBUp to 3 × 10 MB
MobileAdapts (bottom-fixed)Full pageRe-flows in iframe
Best forAlways-available helpEmail signaturesA dedicated /contact page

The direct-link and iframe paths both render the same /portal/<slug>/submit page, so any feature the page gains (file attachments, KB deflection, future custom fields) lights up in both immediately. The floating widget is a separate self-contained JavaScript bundle and adds capabilities on its own cadence.

When a widget visitor needs to attach files, the panel includes a small "📎 Need to attach files? Open the full form" link that opens the direct-link /submit page in a new tab — same workspace, same branding, same auto-create-ticket flow. The widget itself is intentionally upload-free to keep the embedded script small and the attack surface narrow.

For the best experience, use both — the widget for quick submissions from your product, and a direct link in customer emails so they can re-engage outside of a session.


Next Steps