For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
DeveloperAcademyCommunityStatus
  • Getting Started
    • Welcome to Moveworks
    • Roadmap & Release Notes
    • Moveworks Best Practices
    • Labs
    • Professional Services
    • Support
  • AI Assistant
    • AI Assistant Overview
    • Capabilities
    • Web Experiences
    • Analytics & Performance
  • Enterprise Search
    • Overview
    • Search Connectors
    • Agentic RAG Overview
    • Content Ingestion Platform
    • How Search Works
      • Profile Boosting
        • Connectors
          • Axero
          • Brainstorm QuickHelp
          • Atlassian Confluence
          • Freshservice
          • GitHub
          • Google Drive
          • Interact
          • LumApps
          • ManageEngine
          • Notion
          • Salesforce
          • ServiceNow
          • Microsoft Sharepoint
          • Staffbase
          • Unily
          • WordPress
          • Workday
    • Monitor Indexed Content
    • Vetted Content
    • Permissions
  • Productivity Boost
    • Overview
    • Configure Productivity Boost
    • Quick GPT
    • Calendar Management
    • Brief Me
DeveloperAcademyCommunityStatus
On this page
  • Overview
  • Access Requirements
  • Permissions
  • Architecture
  • Authentication
  • Ingestion
  • How do we fetch knowledge articles from Staffbase
  • Fetch all News Posts
  • Integration Scope
  • Content
  • Snippet Titles
  • Snippet Description
  • Article Links
  • End user experience
  • Case 1 : When bot gets relevant documents for the user inquiry (Success Case)
  • Case 2 : When bot doesn’t have any relevant answers to user inquiry (Backstop Case)
Enterprise SearchSearch ConfigurationClassic IngestionConnectors

Staffbase

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Unily

Next
Built with

Overview

Staffbase is an employee communications and intranet platform. The Classic Ingestion connector indexes published news posts and makes them searchable in the Moveworks AI Assistant.

Access Requirements

See Staffbase Access Requirements for instructions on how to connect Moveworks to your Staffbase instance.

Permissions

The Classic Ingestion connector for Staffbase does not mirror source permissions. All indexed content is visible to all employees in the AI Assistant search experience.

Architecture

The following diagram shows the high level architecture of how Moveworks integrates with Staffbase Intranet.

This is a live integration where we poll knowledge articles every four hours. This is done so that the enterprise cache is updated with relevant snippets for answers.

Our enterprise cache stores the knowledge articles from Staffbase and generates relevant knowledge snippets by understanding the content. We also store the redirect urls in order serve them to users to direct them to where the actual news post can be read.

Authentication

The Staffbase API is secured by HTTPS and basic authentication .

Please visit StaffBase - API Authentication for more details on how to generate the API token from the Admin portal of Staffbase.

Store the generated API Token and the base URL of your Staffbase platform. These will be used when setting up the Connector and Knowledge Ingestion configurations for Staffbase.

Ingestion

Moveworks uses the List all accessible news posts API to fetch all news posts that are accessible for the API Token.

How do we fetch knowledge articles from Staffbase

We use the following APIs to fetch the news posts that you want Moveworks to ingest.

Fetch all News Posts

bash
1GET
2curl --location '{{staffbase_base_url}}/api/posts?includeDrafts=false&sort=published_DESC' \
3--header 'Authorization: Basic {{staffbase_api_token}}' \
4--header 'Content-Type: application/json'

Integration Scope

Content

Our knowledge ingestion engine works on ingesting the contents section from the API response which is an HTML block of the content present within the Staffbase intranet.

Currently we only ingest published news posts (we don’t ingest Draft news posts).

Snippet Titles

Note that outside of just using your title, we will also parse the rest of the new post content to determine the best title for the generated snippet

For example:

1{
2 "contents": {
3 "en_US": {
4 "content": "{{SEE RIGHT}}",
5 "title": "VPN Troubleshooting Guide"
6 }
7 }
8}
1<h1>How to solve connection errors</h1>
2<p>Here are some instructions.</p>
3
4<h1> How to solve VPN slowness </h1>
5<p>Here are some other instructions.</p>
6
7<h1>Still facing issues? </h1>
8<p>Please contact IT for help</p>

In this example, we will create a knowledge article “snippet” titled “VPN Troubleshooting Guide: How to solve connection errors”.

Snippet Description

By default, Moveworks will display data from the content field of your articles.

1{
2 "contents": {
3 "en_US": {
4 "content": "<div data-widget-type=\"StaticContent\" data-widget-on-card=\"true\" data-widget-conf-background-color=\"#ff0000\" data-widget-conf-design=\"2\" data-widget-conf-device-visibility=\"desktop\" data-widget-src=\"internal://staffbase.content.widgets.StaticContent\"><ul><li><strong><span style=\"color: initial;\">Please replace the existing assets (images, texts etc.) with your own content.</span></strong><strong><span style=\"color: initial;\"></span></strong></li><li><strong><span style=\"color: initial;\">This example content may be used as a starting point for your public area. However, please note that using this content is not a 100% guarantee for a successful app submit.</span></strong></li><li><strong><span style=\"color: initial;\">Adjust the content according to your needs and use the tools available to you (e.g. additional widgets &amp; sections).</span></strong></li><li><strong><span style=\"color: initial;\">Please do not use the existing naming convention for content titles and adjust accordingly.</span></strong></li><li><strong><span style=\"color: initial;\">You are not limited to the existing layout, feel free to play around with your options while keeping our public area recommendations in mind.</span></strong></li><li><strong><span style=\"color: initial;\">To publish the content in the public area, access the channel settings and activate the toggle “Visible in the Public Area”."
5 }
6 }
7}

Article Links

Moveworks provides links to your news posts based on the link we obtain from the API response.

1"links": {
2 "detail_view": {
3 "method": "GET",
4 "href": "{{staffbase_base_url}}/openlink/content/news/article/{news_id}"
5 }
6}

End user experience

Case 1 : When bot gets relevant documents for the user inquiry (Success Case)


If there is any document which can solve the user’s query, the bot will present the answer in the following format with a redirect heading and a relevant knowledge snippet.

Case 2 : When bot doesn’t have any relevant answers to user inquiry (Backstop Case)


This would be the answer provided to the user if the bot doesn’t find any relevant answers from the available documents.