Shata Solutions
← Back to marketplace
Customer Support

Knowledge Base Search

Embed AI search across Notion, Confluence, and PDFs for agents and customer self-service widget.

Automation overview

What this automation does

This automation starts when intercom widget query or Slack `/kb` command. It notion sync, google docs sync, x (twitter) sync, slack process via slack, and openai sync, then intercom Fin or custom widget query returns top 3 articles with highlighted snippets; agent-side Slack `/kb` command searches same index and returns links with .

Trigger
Intercom widget query or Slack `/kb` command
Main actions
Notion sync → Google Docs sync …
Final outcome
Intercom Fin or custom widget query returns top 3 articles with highlighted snip…
Execution time
1–3 minutes
Apps used
6 integrations
AI-powered
No
Difficulty
Beginner
Beginner
Workflow diagram

End-to-end scenario flow

Read-only visualization of how data moves from trigger to final result.

Trigger
Intercom
Event detected
Step 1
Notion
Sync
Step 2
Google Docs
Sync
Step 3
X (Twitter)
Sync
Step 4
Slack
Process via Slack
AI
OpenAI
Sync
Result
OpenAI
Workflow complete
Step-by-step

How each step runs

  1. 1
    IntercomTrigger
    Event detected

    Intercom widget query or Slack `/kb` command

  2. 2
    Notion
    Sync

    Nightly sync of Notion help center, Confluence internal runbooks, and Google Drive PDFs into unified vector index.

  3. 3
    Google Docs
    Sync

    Nightly sync of Notion help center, Confluence internal runbooks, and Google Drive PDFs into unified vector index.

  4. 4
    X (Twitter)
    Sync

    Nightly sync of Notion help center, Confluence internal runbooks, and Google Drive PDFs into unified vector index.

  5. 5
    Slack
    Process via Slack

    Intercom Fin or custom widget query returns top 3 articles with highlighted snippets; agent-side Slack `/kb` command searches same index and returns links with

  6. 6
    OpenAI
    Sync

    Nightly sync of Notion help center, Confluence internal runbooks, and Google Drive PDFs into unified vector index.

  7. 7
    OpenAI
    Workflow complete

    Intercom Fin or custom widget query returns top 3 articles with highlighted snippets; agent-side Slack `/kb` command searches same index and returns links with

Apps used

Connected applications

Intercom

Process via Intercom

Slack

Process via Slack

Notion

Sync

Google Docs

Sync

X (Twitter)

Sync

OpenAI

Sync

Summary

Automation summary

Trigger
Intercom widget query or Slack `/kb` command
Inputs
Intercom widget query or Slack `/kb` command, Business Name, Notification Email, Timezone
Outputs
Intercom Fin or custom widget query returns top 3 articles with highlighted snippets; agent-side Slack `/kb` command searches same index and returns links with , Slack process via Slack, OpenAI sync
Business goal
Automate knowledge base search end-to-end with accurate app routing.
Execution frequency
Real-time on event
Estimated runtime
1–3 minutes
Error handling
Failed steps retry up to 3 times with exponential backoff; persistent failures notify your configured channel and log to the run history.
Dependencies
Intercom, Slack, Notion
Benefits

Why use this automation?

Save ~13 hours/week

Remove repetitive steps from Knowledge Base Search so your team focuses on high-value work.

Reduce manual work

Connected apps sync data automatically instead of copy-paste between dashboards.

Prevent human errors

Standardized logic runs the same way every time, with retries on failure.

Faster response times

Events trigger immediate actions instead of waiting for someone to check a queue.

Requirements

What you need to get started

Required apps

  • Intercom
  • Slack
  • Notion

Required accounts

  • Active Intercom workspace with API access
  • Active Slack workspace with API access
  • Active Notion workspace with API access
  • Shata Automation workspace (free tier supported)

Required API keys

  • OAuth tokens for each connected integration

Permissions

  • Read access on trigger sources (forms, sheets, webhooks, or CRM objects)
  • Write access on destination apps (email, chat, CRM, or storage)

Estimated setup time

  • 10 min including app authorization and test run
  • Difficulty: Beginner

Optional apps

  • Google Docs (optional)
  • X (Twitter) (optional)
  • OpenAI (optional)

Automation runtime

Activate this template

PreviewSome steps run in preview until their integrations go live.

Connect required apps via OAuth or API keys. Credentials are encrypted server-side. Dev test runs mock external actions when connections are missing.

Draft
0%
Activation readiness

Est. setup time: ~16 min

Required connections

  • intercom(required)
    Previewintercom: workflow actions run in preview
    Missing
  • Notion(required)
    PreviewNotion: workflow actions run in preview
    Missing
  • Google Drive(required)
    Test-onlyGoogle Drive: workflow actions run in preview
    Missing
  • x(required)
    Previewx: workflow actions run in preview
    Missing
  • Missing connection: intercom
  • Missing connection: Notion
  • Missing connection: Google Drive
  • Missing connection: x
Manage all connections →View all installations →

Workflow summary

Trigger
Intercom widget query or Slack `/kb` command
Steps
7 nodes
Required apps
4
Optional apps
2

Trigger

Manual trigger

Run workflows on demand via Test run or Live test. Activate to enable scheduled/webhook triggers on other templates.

Run history

No runs yet. Install the template and run a test, or activate to receive webhook/schedule runs.

FreeBeginnerPreview10 min setup4.18.5k installs · 249 reviews
Customize for My Business
Analytics

Template performance

49.8k
Views
8.5k
Installs
163
Favorites
4.1
Avg rating
17.1%
Conversion
10 min
Setup time
93%
Success rate
92
Trending score
Most used integrations
IntercomNotionGoogle Drive

Nightly sync of Notion help center, Confluence internal runbooks, and Google Drive PDFs into unified vector index. Intercom Fin or custom widget query returns top 3 articles with highlighted snippets; agent-side Slack `/kb` command searches same index and returns links with GPT one-line answer for faster copy-paste into tickets.

Some steps run in preview until their integrations go live.

Required apps
IntercomPreviewNotionPreviewGoogle DriveTest-onlyX (Twitter)Preview
Optional apps
SlackLiveOpenAILive
All integrations
IntercomNotionGoogle DriveX (Twitter)SlackOpenAI
Workflow preview

How Knowledge Base Search runs

1
Trigger
Build unified index
2
Process
Rule engine
3
Action
intercom
4
Notify
Alert & log
IntercomNotionGoogle DriveXSlackOpenai
Setup steps

Get started in 5 steps

  1. 1
    Connect content sources

    Notion API, Confluence API, Google Drive PDF extractor, OpenAI embeddings.

  2. 2
    Build unified index

    Chunk articles 500 tokens; tag internal vs. public visibility.

  3. 3
    Deploy customer widget

    Intercom Fin custom answers or embedded search on help subdomain.

  4. 4
    Enable agent Slack search

    `/kb how to reset password` returns public + internal if agent role.

  5. 5
    Measure deflection

    Log searches with no result to Airtable gap queue for writers.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Slack Channeltext#generalNo
FAQ

Frequently asked questions

Stale articles?

Notion `last_edited` removes outdated chunks on nightly sync.

Internal-only content?

Role flag on chunk prevents customer widget retrieval.

Multi-language KB?

Language metadata on chunks; search filters by user locale.

PDF tables?

PDF parser extracts text; complex tables may need manual HTML articles.

Get started

Customize Knowledge Base Search for your business

Our team can adapt this template to your exact workflow, apps, and brand requirements.