enhancementgood first issueintegrationnew-featurenew-integration
Métricas do repositório
- Stars
- (1.930 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Description
Add Gamma integration to sync AI-generated presentations, documents, and website activity into CORE.
Reference Implementations
Existing Integrations (use as templates)
integrations/google-docs/- Similar document-based integrationintegrations/notion/- Content creation and management integrationintegrations/slack/- For reference
Required Files Structure
integrations/gamma/
├── src/
│ ├── index.ts # Main entry, API key spec
│ ├── schedule.ts # Sync logic
│ ├── utils.ts # Gamma API utilities
│ ├── account-create.ts # API key setup
│ └── create-activity.ts # Activity formatting
├── package.json
├── tsup.config.ts
└── README.md
Gamma API Integration
Auth Setup
- Use API Key authentication (not OAuth)
- API Key format:
sk-gamma-xxxxxxxx - Pass via
X-API-KEYheader (not Bearer token) - Base URL:
https://public-api.gamma.app/v1.0/ - API access available on Pro accounts and above
Key Endpoints
- Generate API - Create presentations, documents, webpages, and social posts programmatically
- Create from Template API - Create content based on existing templates
- Retrieve generated content and metadata
API Version
- v1.0 is Generally Available (GA) as of November 5, 2025
- v0.2 is deprecated and sunset on January 16, 2026
Events to Track
- Presentations - Presentations created, updated, shared
- Documents - Documents generated, modified
- Websites - Webpages created or published
- Social Posts - Social media content generated
- Templates - Template usage and creation
Implementation Tasks
- Set up basic integration structure following
integrations/github/src/index.tspattern - Implement API key authentication flow in
account-create.ts - Create API utilities in
utils.tsfor v1.0 API - Implement sync logic in
schedule.tsfor generated content - Convert Gamma events to CORE activity format
- Add error handling and rate limiting
- Create integration documentation
- Add to
integrations/README.md
Technical Notes
- Gamma uses API Key authentication rather than OAuth 2.0
- API keys are generated from Settings > API key tab in Pro accounts
- The API supports two creation modes: Generate (from scratch) and Create from Template
- v1.0 is the current stable version; ensure no references to deprecated v0.2
- Content types include presentations, documents, webpages, and social posts
Resources
- Gamma Developer Portal
- Gamma API Access & Pricing
- Generate API Parameters
- Create from Template API
- Gamma Help Center - API
Labels
enhancement, integration, new-feature