Summary
Allow users to create custom REST API integrations by uploading an integration package (zip file) containing config.json and connector.js.
Background
Currently, integrations are hardcoded in convex/predefined_integrations/. This limits users to only the pre-built integrations (Shopify, Circuly, Protel, Email).
Proposed Solution
Users upload a zip package with:
config.json - metadata, operations definitions, secret bindings
connector.js - JavaScript code that executes in sandboxed environment
Key Benefits
- Users can connect to any REST API
- No code changes needed to add new integrations
- Existing predefined integrations can be converted to packages (official examples)
- Foundation for future integration marketplace
Core Flow
- User prepares integration package locally
- Upload via UI
- System validates
config.json and connector.js
- User fills in credentials (secrets)
- Test connection
- Save
Scope
- 4-step upload wizard UI
- Package parsing and validation
- Create integration from package (backend action)
- Official example packages for reference
Out of Scope (Phase 2+)
- TypeScript support (can add later with esbuild)
- Migration of predefined integrations to packages
- Integration marketplace
Summary
Allow users to create custom REST API integrations by uploading an integration package (zip file) containing
config.jsonandconnector.js.Background
Currently, integrations are hardcoded in
convex/predefined_integrations/. This limits users to only the pre-built integrations (Shopify, Circuly, Protel, Email).Proposed Solution
Users upload a zip package with:
config.json- metadata, operations definitions, secret bindingsconnector.js- JavaScript code that executes in sandboxed environmentKey Benefits
Core Flow
config.jsonandconnector.jsScope
Out of Scope (Phase 2+)