LlamaIndex Readers Integration: snowloader
ServiceNow data readers for LlamaIndex, powered by snowloader.
Covers six core ServiceNow tables - Incidents, Knowledge Base, CMDB, Changes, Problems, and Service Catalog - with production-grade features like retry logic, delta sync, CMDB relationship traversal, and HTML cleaning.
Installation
pip install llama-index-readers-snowloader
Usage
from snowloader import SnowConnection
from llama_index.readers.snowloader import ServiceNowIncidentReader
conn = SnowConnection(
instance_url="https://mycompany.service-now.com",
username="admin",
password="password",
)
# Load active incidents
reader = ServiceNowIncidentReader(connection=conn, query="active=true")
documents = reader.load_data()
# Build an index
from llama_index.core import VectorStoreIndex
index = VectorStoreIndex.from_documents(documents)
query_engine = index.as_query_engine()
response = query_engine.query("What incidents are related to email?")
Available Readers
| Reader | ServiceNow Table | Description |
|---|---|---|
ServiceNowIncidentReader |
incident |
IT incidents with optional work notes/comments |
ServiceNowKBReader |
kb_knowledge |
Knowledge Base articles (HTML auto-cleaned) |
ServiceNowCMDBReader |
cmdb_ci |
Configuration Items with relationship graph traversal |
ServiceNowChangeReader |
change_request |
Change requests with implementation windows |
ServiceNowProblemReader |
problem |
Problems with root cause and known error tracking |
ServiceNowCatalogReader |
sc_cat_item |
Service catalog items |
CMDB with Relationships
from llama_index.readers.snowloader import ServiceNowCMDBReader
reader = ServiceNowCMDBReader(
connection=conn,
ci_class="cmdb_ci_server",
include_relationships=True,
)
for doc in reader.load_data():
print(doc.text)
# -> db-prod-01 (Depends on::Used by)
# <- load-balancer-01 (Depends on::Used by)
Delta Sync
Only fetch records updated since your last sync:
from datetime import datetime, timezone
reader = ServiceNowIncidentReader(connection=conn)
docs = reader.load_data()
last_sync = datetime.now(timezone.utc)
# Next run - only get changes
updated = reader.load_data_since(last_sync)
Authentication
snowloader supports four auth modes:
# Basic Auth
conn = SnowConnection(instance_url="...", username="...", password="...")
# OAuth Client Credentials (recommended for production)
conn = SnowConnection(instance_url="...", client_id="...", client_secret="...")
# OAuth Password Grant
conn = SnowConnection(instance_url="...", client_id="...", client_secret="...",
username="...", password="...")
# Bearer Token
conn = SnowConnection(instance_url="...", token="eyJhbG...")
Author
Created and maintained by Roni Das - thetotaltechnology@gmail.com
Links
Metadata
Release files for llama-index-readers-snowloader 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_snowloader-0.8.1.tar.gz | 6.2 kB | With provenance | Details for llama_index_readers_snowloader-0.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_snowloader-0.8.1-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_snowloader-0.8.1-py3-none-any.whl |
Total release size: 13.0 kB
Release files / llama_index_readers_snowloader-0.8.1.tar.gz
| Download URL | llama_index_readers_snowloader-0.8.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
166df164ce948b45e180f65e94394b6fad0e1fca8eeab5491e26203d2579b703
|
|
BLAKE2b-256 checksum How to use checksums |
0ab7d2ea1bf7662a2e6bf538e5b569b28abe8c934e94c4a61159252b25204d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logRelease files / llama_index_readers_snowloader-0.8.1-py3-none-any.whl
| Download URL | llama_index_readers_snowloader-0.8.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2bab53a92098220efa5c60b1246877a92739b3ff10544a225de22265b4a2c9f
|
|
BLAKE2b-256 checksum How to use checksums |
ff2530bef11d7716665bece2fc90f73d1057b7125e60a222bc30213420a5f2c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logSecurity for llama-index-readers-snowloader 0.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llama_index_readers_snowloader-0.8.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.