docs(intercom): document the read-only Intercom datasource for the Ruby agent - #32
Draft
christophebrun-forest wants to merge 1 commit into
Draft
docs(intercom): document the read-only Intercom datasource for the Ruby agent#32christophebrun-forest wants to merge 1 commit into
christophebrun-forest wants to merge 1 commit into
Conversation
…by agent Nine collections, three pagination tiers, the relations across the support graph, the per-endpoint filter tables and every place the datasource refuses rather than approximates. The read-only scope is stated as a deliberate choice up front, with what comes after it at the end. Figures and column lists are taken from the code rather than from prose: the caps name their constants, and the filterable tables and the 18-of-89 measured ratio are the ones the package asserts against its own search-field table. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
|
||
| This connector is open source. Browse the code or contribute on GitHub: | ||
|
|
||
| [`forest_admin_datasource_intercom`](https://github.com/ForestAdmin/agent-ruby/tree/main/packages/forest_admin_datasource_intercom) |
There was a problem hiding this comment.
🟢 Low data-sources/intercom.mdx:518
The source link returns GitHub's missing-path page because packages/forest_admin_datasource_intercom is not present on agent-ruby/main; readers cannot access the promised connector source. Point the link at the feat/datasource-intercom branch where the datasource exists.
Suggested change
| [`forest_admin_datasource_intercom`](https://github.com/ForestAdmin/agent-ruby/tree/main/packages/forest_admin_datasource_intercom) | |
| [`forest_admin_datasource_intercom`](https://github.com/ForestAdmin/agent-ruby/tree/feat/datasource-intercom/packages/forest_admin_datasource_intercom) |
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @get-started/connect/data-sources/intercom.mdx around line 518:
The source link returns GitHub's missing-path page because `packages/forest_admin_datasource_intercom` is not present on `agent-ruby/main`; readers cannot access the promised connector source. Point the link at the `feat/datasource-intercom` branch where the datasource exists.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the Intercom datasource of the Ruby agent (gem
forest_admin_datasource_intercom), built on the branchfeat/datasource-intercomof agent-ruby.Draft: the datasource itself is not released yet.
What this adds
get-started/connect/data-sources/intercom.mdx— the page, modelled on the Pylon one, which is the most recent precedent in this repo.docs.jsonnav, the "Available datasources" list on the data-sources overview, and an Intercom<Card>in the integrations catalogue under Support & ticketing.The framing
The read-only scope is stated up front as a deliberate choice, not as a gap, with its counterpart right next to it: the datasource refuses rather than approximates — where Intercom's API has no equivalent for what Forest asks, it answers a
400naming what to change instead of a page that looks filtered, sorted or counted and is not. What comes after this version (writes, actions, notes/tags/segments, bounded group-by) is a table at the end rather than a caveat sprinkled throughout.The page covers installation, configuration, token permissions, the nine collections and their three pagination tiers (cursor / offset / read whole), relations and what each one costs, the conversation and ticket threads, custom attributes, the per-endpoint filter tables, sorting, pagination, aggregations, rate limits, privacy, boot-time introspection, errors and logging.
On accuracy
The package README is excellent and is the base, but it was cross-checked against the code rather than transcribed:
MAX_RELATION_READS100,MAX_COLLECTED_PAGES10,MAX_PAGES50 /MAX_RECORDS7 500,MAX_PER_PAGE150 (25 on tickets),MAX_TIMELINE_READS10,MAX_ID_READS25,DEFAULT_MAX_WAIT12s.filterable_columns, so they cannot drift from the code.raiseis tied to sorting (an unhonoured order is logged, never refused), and a count can be refused should Intercom ever answer a listing without atotal_count. Both are reflected in the page.mint broken-linkspasses, and every in-page anchor resolves to a heading.Worth a look in
agent-ruby, not hereThe package README still opens with "This is lot 1: read only", which is now stale — contacts and companies (lot 4) are in. The public page carries no lot numbering, so nothing here depends on it, but it may deserve a fix on that side.
🤖 Generated with Claude Code
Note
Add documentation for the read-only Intercom datasource
📊 Macroscope summarized 7427383. 4 files reviewed, 5 issues evaluated, 4 issues filtered, 1 comment posted
🗂️ Filtered Issues
get-started/connect/data-sources/intercom.mdx — 1 comment posted, 5 evaluated, 4 filtered
#what-is-not-here-yet, but this added page contains no heading with that slug. Clicking either link lands nowhere, so readers cannot reach the promised scope details. [ Out of scope (triage) ]request_idto its logger.Client#error_messageonly appends it to anAPIErrormessage for an error response; all direct warning logs contain endpoint names, counts, or HTTP status only. Operators following this documentation will not have the request id promised for Intercom support investigations. [ Out of scope (post-validation triage) ]Client#fetch_all, whosecollect_pagesfollowsnext_cursorfor up toMAX_COLLECTED_PAGES; such a workspace makes each affected endpoint issue additional boot requests. This also contradicts the page's own later warning about those endpoints being paginated. [ Out of scope (post-validation triage) ]APIError#bodyis not always parsed as the table states:Client#parse_bodyrescuesJSON::ParserErrorand returns the original response string. A caller rescuingAPIErrorafter an Intercom error with malformed/non-JSON content will receive raw text rather than the documented parsed body. [ Out of scope (post-validation triage) ]