Free Intro Class
    Botspot Logo

    agenthub · knowledge.store

    Knowledge Store

    Write the embedded chunks into a knowledge namespace, replacing whatever those same pages stored last time.

    category Knowledgein chunks · namespace_idout inserted · deleted · skipped_as_duplicateexecution asyncmodel cost none

    Why the node earns its place

    The end of the ingestion chain, and the reason re-indexing is safe: it names the source URLs in this batch as the ones being replaced, so running the same crawl again atomically swaps the stale chunks rather than doubling them.

    How it works at run time

    1. 1
      Take the namespace from the wired port or the run.
    2. 2
      Write the chunks, declaring the batch's source URLs as replaced.
    3. 3
      Return how many were inserted, deleted and skipped as duplicates.

    What comes out

    inserted              new chunks written
    deleted               stale chunks replaced
    skipped_as_duplicate  chunks already present, unchanged

    What you wire

    Inputs

    • chunks *
      array
    • namespace_id
      string

    Outputs

    • inserted
      number
    • deleted
      number
    • skipped_as_duplicate
      number

    Configuration

    Nothing to configure — this node has no settings of its own.

    What usually goes wrong

    Watch for this

    It writes as the buyer, not as the workflow's own runtime identity — the namespace belongs to the org, so anyone else's token is rejected. If every chunk write fails for a non-publisher, that is the cause rather than a broken namespace.

    Knowledge Fetch reads what this writes. An agent that retrieves nothing usually means this step never ran, not that retrieval is broken.

    Behaviour & provenance

    buildersChat & voice agents
    routesno
    side effectsexternal_write
    replay safetyreplace
    talks tothe knowledge store
    holdsworkspace runtime token, the caller's own identity