Skip to main content

Export Intercom Help Center article URLs — ready to feed into AI tools like NotebookLM.

Project description

Intercom Docs Exporter

Export your Intercom Help Center article URLs into a single file. Filter by tags, collections, and publish state. Output as TXT or CSV.

Built to quickly feed help center docs into AI tools like NotebookLM.

Features

  • Filter articles by publish state, tags, and collections
  • Export as plain URL list (TXT) or with metadata (CSV)
  • Web interface for non-technical users
  • CLI for automation and scripting
  • Stateless: your API token is never stored

Quick Start (Web)

Visit intercom-docs-exporter.onrender.com and paste your Intercom API token.

Quick Start (CLI)

pip install intercom-docs-exporter

# Export all published articles
intercom-docs-exporter --token $INTERCOM_TOKEN

# Export with filters
intercom-docs-exporter --token $INTERCOM_TOKEN --include-tag Internal --format csv -o articles.csv

# List collections
intercom-docs-exporter --token $INTERCOM_TOKEN --list-collections

Examples

Feed your help center into NotebookLM:

# Export all published article URLs to a file
intercom-docs-exporter --token $INTERCOM_TOKEN -o urls.txt
# Upload urls.txt to NotebookLM as a source

Export only public-facing docs as CSV:

intercom-docs-exporter --token $INTERCOM_TOKEN \
  --exclude-tag Internal \
  --exclude-tag Draft \
  --format csv \
  -o public_articles.csv

Export a specific collection:

intercom-docs-exporter --token $INTERCOM_TOKEN \
  --collection "Getting Started" \
  -o getting_started.txt

Export everything except one collection:

intercom-docs-exporter --token $INTERCOM_TOKEN \
  --exclude-collection "Internal Docs" \
  --format csv \
  -o external.csv

Combine tag and collection filters:

intercom-docs-exporter --token $INTERCOM_TOKEN \
  --collection "API Reference" \
  --include-tag "v2" \
  --exclude-tag "deprecated" \
  -o api_v2.txt

Include draft articles too:

intercom-docs-exporter --token $INTERCOM_TOKEN --state both -o all_articles.txt

Help

intercom-docs-exporter --help
Option Description Default
--token Intercom API access token required
--state published, draft, or both published
--include-tag Only include articles with this tag (repeatable) all
--exclude-tag Exclude articles with this tag (repeatable) none
--collection Only include this collection (repeatable) all
--exclude-collection Exclude this collection (repeatable) none
--format txt or csv txt
-o, --output Output file path stdout
--list-collections List available collections and exit

Getting your API token:

  1. Go to your Intercom Developer Hub
  2. Select your app → Authentication
  3. Copy your access token

Your token is only used for the current request and is never stored.

Self-Hosting

git clone https://github.com/caglalogy/intercom-docs-exporter.git
cd intercom-docs-exporter
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8000

Or with Docker:

docker build -t intercom-docs-exporter .
docker run -p 8000:8000 intercom-docs-exporter

Contributing

See CONTRIBUTING.md.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intercom_docs_exporter-0.2.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intercom_docs_exporter-0.2.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file intercom_docs_exporter-0.2.0.tar.gz.

File metadata

  • Download URL: intercom_docs_exporter-0.2.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for intercom_docs_exporter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 210402e91afad5cfd5698bd99c976c4620854303af61e5690e9953a9fd665b95
MD5 aaddb5531ab8371eeff921d59636b0c8
BLAKE2b-256 558130a63c47b575e294acfb59d065c1fe30072f3b033c0badd182d7deed8107

See more details on using hashes here.

File details

Details for the file intercom_docs_exporter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intercom_docs_exporter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8a5336fb679c6554f82823bb1800c7df79a731132b9a0455fb42248c40e882
MD5 2ecaca10667d2d91220e651f334bae89
BLAKE2b-256 b4df3d75b4d5054882573b830cd1f0b831b674c511d8d4078a367a76a030337b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page