Full automatic "Apply All" flow: auto-names schema/tables, runs RSU pipeline, creates entity maps + field maps, and starts sync.
ID of the CompanyIntegration
List of source object names to apply
Target database platform
Skip git commit step
Skip API restart step
Batch Apply All: schema + entity maps + field maps + sync across one or more connectors. Calls the IntegrationApplyAllBatch resolver.
Each connector's SourceObjects entries can be ID-based (existing IntegrationObject rows — HubSpot, YM, etc.) or Name-based (Salesforce's full-catalog picker). For Salesforce Name-based selections the server runs a filtered describe on just those objects, seeds IntegrationObject/ IntegrationObjectField rows from the describe output, then builds DDL.
Batch apply schema for multiple connectors in one RSU pipeline run. Sequential migrations, one CodeGen, one compile, one git PR, one restart.
OptionalcompanyIntegrationID: stringDiscovers fields on a specific external object.
ID of the CompanyIntegration record
Name of the external object to inspect
Discovery result containing an array of field schemas
Discovers available objects/tables in the external system.
ID of the CompanyIntegration record
Discovery result containing an array of external objects
Gets the connector's default configuration for quick setup.
ID of the CompanyIntegration record
Default configuration with proposed schema, objects, and field mappings
Lists every source object the external system exposes (e.g. all ~1,800 Salesforce sobjects), flagged with which ones already have IntegrationObject rows. Cheap — one global describe call, no per-object describes. Use this to populate a "pick any object" picker; per-object describe happens lazily in ApplyAllBatch when the user actually selects.
Fetches a small sample of records from an external object for preview.
ID of the CompanyIntegration record
Name of the external object to preview
Maximum number of records to fetch (default 5, max 10)
Preview data result containing parsed record objects
Generates a DDL preview for creating tables from discovered external objects.
ID of the CompanyIntegration record
Objects to generate DDL for, with target schema/table names
Target database platform ('sqlserver' or 'postgresql')
Schema preview result containing generated SQL files
OptionalwebhookURL: stringOptionalfullSync: booleanOptionalsyncDirection: "Pull" | "Push" | "Bidirectional"Tests connectivity to the external system for a given company integration.
ID of the CompanyIntegration record
Connection test result
OptionalcredentialValues: stringOptionalconfiguration: stringOptionalexternalSystemID: string
Client for invoking integration discovery operations through GraphQL. Follows the same pattern as GraphQLActionClient and GraphQLAIClient.
Example