Integrations

Creating Integrations

How to define a custom integration with operations, authentication methods, and data types that connect your blueprint to external APIs.

Integrations are defined within blueprints. Each integration describes an external API — its base URL, available endpoints, authentication requirements, and data schemas.

Defining an integration

An integration definition includes:

Metadata

  • Name — unique identifier within the blueprint
  • Title — human-readable display name
  • Version — integration version
  • Kind — protocol type (rest, graphql, grpc, soap, custom)
  • Base URL — the root URL for all operations (for example, https://api.example.com/v2)

Default parameters

Parameters that apply to all operations in the integration. Common uses:

  • API version headers (Accept: application/vnd.api+json)
  • Default query parameters (format=json)
  • Custom headers required by all endpoints

Operations

Each operation represents an API endpoint:

PropertyDescription
IDUnique identifier within the integration
NameHuman-readable operation name
MethodHTTP method (GET, POST, PUT, DELETE, PATCH)
PathURL path relative to the base URL (supports path parameters like /users/{userId})
ParamsInput parameters with their location (path, query, header, body), type, and validation
OutputResponse definitions including status code matching and transforms
AuthAuthentication override — _inherit (use default), _noauth, or a specific auth method name

Parameter locations

LocationWhere the parameter is sent
pathInserted into the URL path (for example, /users/{userId})
queryAdded as a URL query parameter
headerSent as an HTTP header
bodySent in the request body

Output transforms

Each operation can define transforms that extract and reshape the API response:

  • Status matching — different output definitions for different HTTP status codes
  • JSONPath extraction — extract specific fields from the response body
  • Schema mapping — map response fields to a typed output schema

Auth methods

Each authentication method defines how credentials are sent:

KindHow it works
basicUsername and password sent as HTTP Basic Auth
bearerToken sent in Authorization: Bearer {token} header
apikeyKey sent as a header, query parameter, or cookie
oauth2Full OAuth2 flow with authorization URL, token URL, and scopes
customCustom authentication logic with parameterized credential fields

Auth methods define a params schema that specifies what credential fields are required (for example, apiKey, clientId, clientSecret). When users create connections, they provide values for these fields.

Data types

Shared JSON schemas that can be referenced across operations. For example, a Contact data type used in both createContact and listContacts operations.

Automatic sync

When you save an integration, the platform automatically:

  1. Creates actions for each operation. The action UID is deterministically generated from the integration UID and operation ID, ensuring stable references.
  2. Registers auth methods on the blueprint, making them available for connection creation.
  3. Creates event channels and definitions for any defined channels.
  4. Registers data types on the blueprint.

You can immediately use the generated actions in flows and agent configurations.

Execution

When an integration action is called, the platform's integration engine handles execution:

  1. Builds the HTTP request from the operation definition (method, URL, headers, body)
  2. Maps input parameters to their configured locations (path, query, header, body)
  3. Injects authentication credentials from the specified connection
  4. Sends the request
  5. Applies output transforms to the response
  6. Returns the transformed result

The caller does not need to know the details of the HTTP request — they interact with a typed action that has input and output schemas.

  • OpenAPI Import — importing existing API specs instead of defining manually
  • Connections — providing credentials for integration auth methods
  • Event Channels — receiving events from external systems
  • Actions — how integration operations become callable actions