Webchat Setup logo

Webchat Setup

Organization
Cognigy
webchat-setup

Use when the user wants to deploy a Cognigy agent to a Webchat endpoint — creating or updating the endpoint, style presets, layout/behavior settings, and the embed snippet.

Overview

PublisherCognigy
Repositorycognigy-plugin
Skill namewebchat-setup
Stars
20
Forks
14
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Cognigy on GitHub. Read the source before you install it.

Installation

Install the Webchat Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/webchat-setup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Cognigy/cognigy-plugin.git /tmp/cognigy-plugin
mkdir -p .claude/skills
cp -r /tmp/cognigy-plugin/plugin/skills/webchat-setup .claude/skills/webchat-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Webchat Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Webchat Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Webchat Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Webchat v3 Setup Guide

For an AI Agent built with manage_agent, create the endpoint with agentId (plus projectId) instead of flowId; everything else below is the same.

What is Webchat v3?

Webchat v3 is Cognigy's embeddable chat widget for websites. It connects to a Webchat v3 Endpoint, which links a Flow to the widget and holds all appearance/behavior configuration.

Quick Start — Minimal Webchat

  1. Ensure an agent + flow exist: create_ai_agent { name: "My Agent" }
  2. Create a webchat endpoint: manage_webchat { projectId: "...", flowId: "...", name: "My Webchat" }
  3. The response includes demoWebchatUrl — open it in a browser to test immediately.
  4. Always show demoWebchatUrl to the user by default. Only provide configUrl/embeddingSnippet when asked about embedding or production deployment.

Quick Start — Update Existing Webchat

manage_webchat { endpointId: "...", layout: { colors: { primaryColor: "#0052cc" } }, behavior: { renderMarkdown: true } }

CREATE vs UPDATE:

  • To create: omit endpointId and provide projectId + flowId. A new webchat3 endpoint is always created.
  • To update: provide endpointId. Only the specified fields are changed; everything else is preserved.
  • The tool never auto-detects or modifies existing endpoints. To update, first find the endpointId using list_resources { resourceType: "endpoint", projectId }.

Style Presets

Use stylePreset to apply a predefined look in one call:

manage_webchat { endpointId: "...", stylePreset: "modern" }

classic (default)

  • Chat window: 460px, bot output max-width: 73%, bot output border: on
  • Agent message bg: #ffffff, always scroll, no streaming collation, no progressive rendering, markdown on

modern

  • Chat window: 900px, bot output max-width: 100%, bot output border: off
  • Agent message bg: #ffffff, scroll to last input, streaming collation on, progressive rendering on, markdown on, input collation on

slick

  • Chat window: 600px, bot output max-width: 100%, bot output border: off
  • Agent message bg: #cccccc, scroll to last input, streaming collation on, progressive rendering off, markdown on, input collation on

Presets set layout + behavior fields. You can override individual fields after applying a preset by including them in the same call.

Settings Reference

layout

FieldTypeDefaultDescription
titlestringagent nameWebchat title bar text
logoUrlstring—URL to header logo image (28x28px recommended, JPG/PNG/SVG/GIF)
chatWindowWidthnumber460Chat window width in px
botOutputMaxWidthnumber73Bot output max-width as percentage (1-100)
disableBotOutputBorderbooleanfalseHide chat bubble border around bot output
maxInputRowsnumber—Max lines in the reply input field before scrollbar
enableInputCollationbooleanfalseCombine rapid typed inputs into one message
inputCollationTimeoutnumber1000Delay (ms) before collating inputs
dynamicImageAspectRatiobooleanfalseMaintain original image proportions
disableInputAutocompletebooleanfalseDisable browser autocomplete in input
enableGenericHtmlbooleanfalseApply styling to HTML in text messages
allowJsInHtmlbooleanfalseAllow onclick/onload in HTML messages
allowJsInUrlsbooleanfalseAllow javascript: URLs in buttons
useAgentAvatarsbooleanfalseShow separate avatar/name for bot vs human
botAvatarNamestring—Name above bot messages
botAvatarLogoUrlstring—Logo above bot messages
humanAvatarNamestring—Name above human agent messages
humanAvatarLogoUrlstring—Logo above human agent messages

layout.colors

FieldTypeDefaultDescription
primaryColorstring—Primary color (hex, e.g. "#0052cc")
secondaryColorstring—Secondary color
chatBackgroundstring—Chat interface background color
agentMessageBgstring"#ffffff"Bot message background
userMessageBgstring—User message background
textLinkstring—Text link color

behavior

FieldTypeDefaultDescription
scrollingBehavior"alwaysScroll" / "scrollToLastInput""alwaysScroll"How chat scrolls on new messages
collateStreamedOutputsbooleanfalseMerge streamed text into one bubble
progressiveMessageRenderingbooleanfalseShow text appearing progressively
renderMarkdownbooleantrueRender markdown in bot outputs
enableTypingIndicatorbooleanfalseShow typing animation
inputPlaceholderstring"Type something…"Placeholder text in reply field
messageDelaynumber500Delay (ms) before showing bot response
focusInputAfterPostbackbooleanfalseFocus input after button click
enableConnectionStatusIndicatorbooleanfalseShow warning on lost connection
enableSttbooleanfalseSpeech-to-text microphone button
enableTtsbooleanfalseText-to-speech for bot messages
collectMetadatabooleanfalseCollect browser metadata (language, location, device)
displayAIAgentNoticebooleantrueShow "chatting with AI" notice
aiAgentNoticeTextstring"You're now chatting with an AI Agent."Notice text
enableScrollButtonbooleantrueShow scroll-to-bottom button

startBehavior

FieldTypeDefaultDescription
mode"textField" / "button" / "autoSend""textField"How conversation starts
textPayloadstring—First message sent to agent (button/autoSend)
dataPayloadstring—Additional data sent to flow (button/autoSend)
displayTextstring—Simulated user input bubble text (button/autoSend)
buttonTitlestring—Start button label (button mode only)

homeScreen

FieldTypeDefaultDescription
enabledbooleanfalseShow home screen on launch
welcomeTextstring"Welcome! How can we help?"Greeting message
backgroundImagestring—Background image URL (460x608px)
backgroundColorstring—CSS color/gradient for background
startConversationButtonTextstring"Start conversation"Button text
conversationStartersarray—Up to 5 items: { title, type: "postback"/"url", value }
previousConversationsobject—See sub-fields below

homeScreen.previousConversations

FieldTypeDefaultDescription
enabledbooleanfalseShow previous conversations button
enableDeleteAllbooleanfalseAllow deleting all conversations
buttonTextstring"Previous conversations"Button label
titlestring—Screen header
startNewButtonTextstring"Start new conversation"New conversation button text

teaserMessage

FieldTypeDefaultDescription
textstring—Message beside webchat icon
showInChatbooleanfalseAlso show teaser inside chat
conversationStartersarray—Up to 5: { title, type: "postback"/"url", value }

chatOptions

FieldTypeDefaultDescription
enabledbooleanfalseEnable chat options menu
titlestring"Chat options"Options screen title
enableDeleteConversationbooleanfalseLet users delete current conversation

chatOptions.quickReplies

FieldTypeDefaultDescription
enabledbooleanfalseShow quick replies in options
sectionTitlestring"People are also interested in"Section header
itemsarray—Up to 5: { title, type: "postback"/"url", value }

chatOptions.textToSpeech

FieldTypeDefaultDescription
showTogglebooleanfalseShow TTS toggle in options
toggleLabelstring"Enable text-to-speech"Toggle label
activateByDefaultbooleanfalseTTS on by default

chatOptions.rating

FieldTypeDefaultDescription
enabledbooleanfalseEnable conversation rating
titleTextstring"Please rate your chat experience"Rating prompt
commentPlaceholderstring"Type something here"Feedback field placeholder
submitButtonTextstring"Send feedback"Submit button text
submittedBannerTextstring"Your feedback was submitted"Confirmation banner

chatOptions.footer

FieldTypeDefaultDescription
enabledbooleanfalseShow footer in options
itemsarray—Up to 2: { title, url }

privacyNotice

FieldTypeDefaultDescription
enabledbooleanfalseRequire privacy acceptance before chat
titlestring"Privacy Notice"Notice heading
textstring"Please accept our privacy policy to start your chat"Notice body (supports Markdown)
submitButtonstring"Submit"Accept button text
policyLinkTitlestring—Privacy policy link label
policyLinkUrlstring—Privacy policy URL

businessHours

FieldTypeDefaultDescription
enabledbooleanfalseRestrict to business hours
mode"inform" / "disable" / "hide""inform"Out-of-hours behavior
informationTextstring—Message shown outside hours
informationTitlestring—Title shown outside hours
timezonestring—IANA timezone (e.g. "Europe/Berlin")
schedulearray—{ dayOfWeek, startTime, endTime } per day

unreadMessages

FieldTypeDefaultDescription
enableTitleIndicatorbooleanfalseShow count in browser tab
enableBadgebooleanfalseShow unread count badge
enablePreviewbooleanfalseShow preview bubble
enableSoundbooleanfalsePlay notification sound

maintenance

FieldTypeDefaultDescription
enabledbooleanfalseActivate maintenance mode
mode"inform" / "disable" / "hide""inform"Maintenance behavior
informationTextstring—Maintenance message
informationTitlestring—Maintenance title

watermark

FieldTypeDefaultDescription
type"default" / "custom" / "none""default"Watermark type
textstring"Powered by Cognigy.AI"Custom watermark text
urlstring"https://www.cognigy.com/"Custom watermark URL

persistentMenu

FieldTypeDefaultDescription
enabledbooleanfalseShow persistent menu
titlestring—Menu title
itemsarray—{ title, payload } pairs

attachmentUpload

FieldTypeDefaultDescription
enabledbooleanfalseAllow file uploads
dropzoneTextstring"Drop to attach"Dropzone label

webchatIcon

FieldTypeDefaultDescription
animation"none" / "bounce" / "swing" / "pulse""none"Icon animation
animationIntervalnumber5Seconds between animations
animationSpeed"slow" / "normal" / "fast" / "superfast""normal"Animation speed

customJson

Type: string (raw JSON). Escape-hatch for advanced Webchat Custom Settings not covered above. Example: manage_webchat { endpointId: "...", customJson: "{"colors":{"primaryColor":"red"},"customTranslations":{"network_error":"Netzwerkfehler"}}" }

Common Recipes

Branded Webchat

manage_webchat { projectId: "...", flowId: "...", name: "Support Chat", layout: { title: "Acme Support", logoUrl: "https://acme.com/logo.png", colors: { primaryColor: "#0052cc", userMessageBg: "#e3f2fd" } } }

Modern Streaming Chat

manage_webchat { endpointId: "...", stylePreset: "modern", behavior: { enableTypingIndicator: true } }

Support Bot with Business Hours

manage_webchat { endpointId: "...", businessHours: { enabled: true, mode: "inform", timezone: "America/New_York", informationText: "We're available Mon-Fri 9-5 ET.", schedule: [ { dayOfWeek: "Monday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Tuesday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Wednesday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Thursday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Friday", startTime: "09:00", endTime: "17:00" } ] }, chatOptions: { enabled: true, rating: { enabled: true } }, privacyNotice: { enabled: true, policyLinkUrl: "https://acme.com/privacy" } }

Home Screen with Conversation Starters

manage_webchat { endpointId: "...", homeScreen: { enabled: true, welcomeText: "Hi! What can I help you with?", conversationStarters: [ { title: "Track my order", type: "postback", value: "track order" }, { title: "Return an item", type: "postback", value: "return item" }, { title: "Help Center", type: "url", value: "https://acme.com/help" } ] } }

Testing

The manage_webchat response includes demoWebchatUrl — a direct browser link to the Cognigy Demo Webchat page where the user can interact with the configured widget immediately. Always present this URL to the user as a clickable link after every successful create or update — do not send them to the Cognigy UI to find it.

You can also append query parameters for testing:

  • ?user=testuser — set a specific user ID
  • ?user=testuser&sessionId=mysession — set user and session

Embedding (Production)

When the user asks about deploying to their website, use the configUrl and embeddingSnippet from the response:

html
<script src="https://github.com/Cognigy/Webchat/releases/latest/download/webchat.js"></script>
<script>
  window.cognigyWebchat.open({
    configUrl: "CONFIG_URL_HERE"
  });
</script>

Replace CONFIG_URL_HERE with the configUrl from the manage_webchat response.

Prerequisites

  • A Flow must exist (from create_ai_agent or manual creation)
  • An LLM must be configured in the project for the agent to generate responses
  • Use list_resources { resourceType: "endpoint", projectId } to find existing webchat endpoints

Frequently asked questions

What does the Webchat Setup AI skill do?

Use when the user wants to deploy a Cognigy agent to a Webchat endpoint — creating or updating the endpoint, style presets, layout/behavior settings, and the embed snippet.

Why use Webchat Setup on TypingMind?

Because you install it once and use it with any model. Webchat Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Webchat Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/webchat-setup. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Webchat Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Webchat Setup?

As many as you like. As long as a model supports skills, you can use Webchat Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Webchat Setup AI skill free?

Yes. It is published on GitHub by Cognigy under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇