Help & guides

Website experience

Open the same conversation from contextual buttons

A developer guide to general help, configured question chips and page-context updates using the installed widget.

Verified November 17, 2026InstallationQuestionsIntegrations

Screenshots show a real Business setup on aliigo.com. Availability depends on the plan and enabled modules.

Reuse the existing installation

General-help buttons open without sending a message. Configured question chips send once per activation, while intentional repeat clicks get a new activation ID. Context updates preserve history and do not replace the assistant's approved-answer policies. These are website placements, not automatic transfer of a private ChatGPT conversation.

Attach handlers to deliberate visitor actions

Give the existing aliigo-widget the id business-agent, or replace the target with its actual registered selector. Use a question ID configured in Behavior. Attach these functions after widget readiness to the relevant button click; do not call them automatically on page load. Keep an ordinary contact route available when the API is unavailable.

// General help: open without sending.
async function openBusinessHelp() {
  return window.AliigoWidget?.open({
    target: '#business-agent',
    context: { url: location.href, pageType: 'service' }
  });
}

// One activation ID per intentional question click.
async function askConfiguredQuestion() {
  return window.AliigoWidget?.ask({
    target: '#business-agent',
    questionId: 'YOUR_CONFIGURED_QUESTION_ID',
    activationId: crypto.randomUUID()
  });
}

// Update relevance without opening, sending or resetting.
function updatePageContext() {
  return window.AliigoWidget?.setContext({
    url: location.href, pageType: 'service'
  }, '#business-agent');
}

Check all entry points together

Verify a help button opens without a request, a configured question sends once, an intentional repeated question works, and switching back to the floating launcher retains the same conversation. Check the language, configured suggestions and current page context on desktop and mobile. Do not install a second assistant to provide another entry point.

Related guides

Open the same conversation from contextual buttons | Aliigo