Skip to content

feat: add Intercom integration#82

Merged
Empreiteiro merged 1 commit intomainfrom
feature/intercom-integration
Mar 18, 2026
Merged

feat: add Intercom integration#82
Empreiteiro merged 1 commit intomainfrom
feature/intercom-integration

Conversation

@Empreiteiro
Copy link
Copy Markdown
Owner

Summary

  • Add Intercom as a new data source with 8 tables: contacts, companies, conversations, conversation_parts, tags, teams, admins, articles
  • Include 5 report templates: Support Overview, Response Time, Team Performance, Customer Health, Knowledge Base
  • Backend: ask_intercom.py (fetches Intercom API, loads into SQLite, LLM + SQL Q&A), intercom_router.py (test-connection, discover, refresh-metadata)
  • Frontend: IntercomSourceForm.tsx with access token input, connection test, and resource discovery

Test plan

  • Enter a valid Intercom access token and verify test connection succeeds
  • Verify resource discovery lists all 8 Intercom tables with record counts
  • Connect the source and verify metadata refresh populates table_infos
  • Ask a natural language question and verify SQL is generated and executed against Intercom data
  • Verify i18n strings render correctly in EN, PT, and ES
  • Run npm run typecheck (passes)

Closes #69

🤖 Generated with Claude Code

@Empreiteiro Empreiteiro force-pushed the feature/intercom-integration branch from bccf061 to 97a1ac9 Compare March 18, 2026 21:54
Closes #69

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Empreiteiro Empreiteiro force-pushed the feature/intercom-integration branch from 97a1ac9 to 5ea4db9 Compare March 18, 2026 22:03
@Empreiteiro Empreiteiro merged commit c9c652d into main Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Intercom integration with fixed schema and report templates

1 participant