Skip to content

feat: Integration package upload - allow custom REST API integrations #318

@larryro

Description

@larryro

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

  1. User prepares integration package locally
  2. Upload via UI
  3. System validates config.json and connector.js
  4. User fills in credentials (secrets)
  5. Test connection
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions