Where the API sits
Trigger
Nightly schedule
At 02:00 the schedule starts a crawl of the help centre's host, release notes excluded.
API call
Crawl to Markdown
The sitemap is read first, then links. Each article comes back as one record with
markdown,title,url,wordCountandtokenEstimate; pages without readable text are listed and not charged.Your logic
Chunk and index what changed
The indexer hashes each page's Markdown, splits changed and new pages at their headings and embeds those chunks with the page URL attached.
Result
Answers with sources
The assistant retrieves the matching chunks and cites the article and section each statement comes from.
Wired as a schedule with a webhook: an Apify schedule starts the crawl at 02:00, and when the run succeeds a webhook calls the team's indexer with the dataset. The indexer, the vector store and the language model are the team's own; the API delivers the pages. A help centre of 2,000 articles runs the same way with a higher maxPagesPerSite.