Skip to main content
Builder Imports with the App Store modal open
Imports extend a Builder workspace with reusable apps, connectors, MCP servers, custom code, and automation instructions. Use them when a page or automation needs to call an external system, reuse packaged logic, or expose a tool to agents. Builder is also where you build your own connectors and MCP servers and declare them as platform- or tenant-level capabilities, build once, reuse everywhere, and pool security and quality across the foundation. In a Builder workspace, the sidebar entry is named Imports. Use the add control beside it to open the App Store, where you choose the package to add to the workspace.

Import Fundamentals

Builder supports several import types:
  • API Integrations: Connect to external services via REST, GraphQL, or other API protocols
  • Database Connections: Access and manipulate data in various database systems
  • Webhook Mechanisms: Receive and send event notifications to external systems
  • File System Operations: Read, write, and process files in various formats
  • Authentication Systems: Connect with identity providers and SSO solutions
  • App Store Packages: Pre-built imports installed from the App Store
Each type serves different integration needs and scenarios.

API Integrations

1

HTTP Connections

Connect to external APIs using HTTP requests.HTTP integration supports:
  • Methods: GET, POST, PUT, DELETE, PATCH
  • Headers: Custom headers for authentication and metadata
  • Query Parameters: URL parameters for request configuration
  • Request Bodies: JSON, XML, form data, and other formats
  • Response Handling: Processing various response formats and status codes
HTTP is the foundation for most modern API integrations.
2

Authentication Setup

Configure secure authentication for API access.Authentication methods include:
  • API Keys: Simple key-based authentication
  • OAuth 2.0: Token-based authentication flow
  • Basic Auth: Username/password authentication
  • JWT: JSON Web Token authentication
  • Custom Schemes: Specialized authentication mechanisms
Proper authentication ensures secure access to protected resources.
3

Data Transformation

Process data between your application and external APIs. Transformation capabilities include:
  • Format Conversion: Between JSON, XML, CSV, and other formats
  • Field Mapping: Align field names and structures
  • Data Filtering: Include only relevant information
  • Aggregation: Combine data from multiple sources
  • Normalization: Standardize data formats and values
Transformation ensures compatibility between systems with different data models.
4

Error Handling

Implement robust error management strategies. Error handling approaches:
  • Status Code Handling: Respond to different HTTP status codes
  • Retry Logic: Attempt failed requests again
  • Fallback Strategies: Alternative approaches when integrations fail
  • Error Logging: Record detailed error information
  • User Feedback: Provide appropriate information to users
Effective error handling creates resilient integrations that gracefully handle failures.

Database Integrations

Connect to various database systems to work with structured data:
Connect to SQL databases such as:
  • MySQL
  • PostgreSQL
  • SQL Server
  • Oracle
  • SQLite
  • Connection Methods: Database drivers, connection pools, connection strings. Ensures optimal performance and resource utilization
  • Operations: SQL queries, stored procedures, transactions. Full support for database operations
  • Security: Encrypted connections, parameterized queries, least privilege. Protects against SQL injection and unauthorized access Example configuration for a PostgreSQL connection:

Webhook Integrations

Implement event-driven integrations with external systems:
Receive events and notifications from external systems:
  • Endpoint Creation: Generate unique webhook URLs
  • Authentication: Verify webhook sources
  • Payload Processing: Parse and validate incoming data
  • Event Routing: Direct webhooks to appropriate handlers
  • Response Generation: Acknowledge receipt with appropriate responses
  • URL Pattern: /api/[workspace-slug]/[automation-slug]. Each automation can serve as a webhook endpoint
  • Verification Methods: HMAC signatures, shared secrets, IP filtering. Ensures webhooks come from authorized sources
  • Processing Patterns: Synchronous (immediate response) or asynchronous (queued). Flexibility for different processing needs Example automation for receiving GitHub webhooks:
Send events and notifications to external systems:
  • Destination Configuration: Configure target URLs
  • Payload Formatting: Structure event data appropriately
  • Authentication: Add necessary authentication
  • Delivery Confirmation: Verify successful delivery
  • Retry Management: Handle delivery failures
  • Trigger Events: User actions, system events, scheduled processes. Various sources can trigger outbound webhooks
  • Authentication Methods: Headers, query parameters, payload signatures. Authenticate with receiving systems
  • Delivery Options: Synchronous (wait for response) or asynchronous (fire and forget). Fits different integration patterns Example automation for sending a Slack notification:
Implement secure webhook patterns:
  • Signature Verification: Validate webhook authenticity
  • Payload Encryption: Protect sensitive data
  • Rate Limiting: Prevent abuse
  • IP Restrictions: Limit webhook sources
  • Payload Validation: Ensure data meets expectations
  • HMAC Signatures: SHA-256 or SHA-512 hash-based message authentication. Industry standard for webhook verification
  • Secrets Management: Secure storage and rotation of webhook secrets. Protects authentication credentials
  • Validation Patterns: Schema validation, data type checking, business rule enforcement. Ensures data integrity and security Example HMAC signature verification logic:

Authentication & Authorization

Secure your integrations with robust authentication and authorization:
Authenticate with external services:
  • API Keys: Simple key-based authentication
  • OAuth 2.0: Token-based authentication with various flows
    • Authorization Code
    • Client Credentials
    • Resource Owner Password
    • Implicit Flow
  • Bearer Tokens: Token-based authentication
  • Basic Authentication: Username/password encoded in headers
  • Custom Authentication: Specialized methods for specific services
  • Secret Storage: Secure storage of credentials. Uses workspace secrets for sensitive information
  • Token Management: Handling refresh tokens and expiration. Automatically refreshes expired tokens
  • Multi-step Flows: Support for complex authentication. Handles redirects and callbacks

File System Integrations

Work with files in various storage systems:
Access files within the workspace environment:
  • File Reading: Load file contents
  • File Writing: Create or update files
  • Directory Operations: List, create, delete directories
  • File Properties: Get metadata about files
  • Path Management: Work with file paths
  • Storage Location: Container filesystem or mounted volumes. Isolated storage per workspace
  • Access Control: Permission-based file access. Prevents unauthorized access
  • Operation Types: Synchronous and asynchronous file operations. Flexibility for different performance needs Example file reading operation:
Connect to cloud-based storage services:
  • AWS S3: Amazon Simple Storage Service
  • Azure Blob Storage: Microsoft’s object storage
  • Google Cloud Storage: Google’s object storage
  • Dropbox: File hosting service
  • OneDrive/SharePoint: Microsoft’s document storage
  • Operations: Upload, download, list, delete. Complete file management
  • Authentication: Service-specific authentication methods. Secure access to cloud storage
  • Advanced Features: Presigned URLs, versioning, metadata. Specialized cloud capabilities Example S3 integration configuration:
Process various document formats:
  • PDF: Parse and extract PDF content
  • Office Documents: Work with Word, Excel, PowerPoint
  • CSV/TSV: Process structured data files
  • JSON/XML: Parse and generate structured formats
  • Images: Process image files with OCR
  • Content Extraction: Text, tables, images, metadata. Comprehensive data extraction
  • Format Conversion: Between document formats. Transformation capabilities
  • Analysis: Structure recognition, classification, entity extraction. Document understanding Example document processing automation:

Install Imports from the App Store

Accelerate integration with pre-built App Store packages:
Builder App Store modal for installing imports
1

Open Imports

In Builder, open the workspace and select Imports in the sidebar.
2

Browse the App Store

Click + next to Imports in the workspace sidebar. Builder opens the App Store modal directly.If you are already in the Imports pane, use Install App or Browse App Store to open the same modal.The App Store provides:
  • Categorized integration listings
  • Detailed descriptions and capabilities
  • Package tags such as MCP, production:app, or one-product
  • Documentation and examples
  • Version history and updates
3

Install an import

Add integrations to your workspace.The installation process:
  1. Select the desired package from the App Store
  2. Review permissions and capabilities
  3. Approve the installation
  4. Configure app-specific settings
  5. Set up authentication if required
4

Configure the import

Set up the integration for your specific needs. Configuration typically includes:
  • Connection settings (endpoints, hosts)
  • Authentication credentials
  • Default behavior options
  • Logging and monitoring preferences
  • Feature toggles and limitations
5

Use the imported capabilities

Leverage the integrated functionality in your workspace. Imports can provide:
  • React components or SDK helpers for UI integration
  • Automation instructions for backend integration
  • Events for integration state changes
  • Documentation on usage patterns
  • Examples for common scenarios

Granting what an app asks for

Some apps need access to their own secrets in the workspace installing them, for instance a connector that stores its members’ refresh tokens and replays them from a scheduled sync. Such an app lists what it asks for, and the installing workspace decides. When you open the app in Imports, or right after installing it, Builder shows what the app asks for, role by role: the actions, the secrets they cover, and why the app asks, as its publisher wrote it. A workspace owner clicks Grant access: the platform writes the matching roles and rules into the workspace’s security.yml, under the names described in RBAC → Roles of installed apps.
  • Until an owner grants it, the app is refused access: its call fails with Unknown role.
  • What is written is what was shown. If a new version of the app is published, or the workspace security changes, between the display and the click, nothing is written: the panel reloads and asks you to review the request again.
  • Granting is idempotent. The app shows as pending again in the Imports list when a version asks for more, including for an app that follows its latest version.
  • What an app asks for is checked like any rule of the workspace. A request the platform would refuse is listed as refused and never written.
  • If the workspace holds one of these roles with other rules than those asked, the panel shows the rules held next to the rules asked, and nothing is written until you confirm that they should be replaced.
  • A workspace the app asks to let call it without a user is shown on its own, for instance The workspace knowledge-sync will be able to call this app without a signed-in user, with the actions of the automations it would call. Uninstalling the app withdraws that rule as well.
  • The grant covers the app’s own sub-apps, which are listed with it.
  • Granting requires the manage_security permission. Owners hold it, and a custom role can be given it too.
  • An app is granted under the workspace that published it. At each publication, the platform writes that workspace’s id into the id of the published version, whatever the workspace’s own index.yml held, and an instance is granted under the id of the version it runs. A renamed app keeps running under its former slug in the workspaces that installed it, under the id of its versions there.
  • Two instances of one app pinned to different versions share its roles. Each then shows the role as held with other rules, and granting from one replaces what the other asked. Keep the instances of an app on the same version.
The same can be done through the API: GET /v2/workspaces/{workspaceId}/apps/{slug}/authorizations returns the request with a fingerprint. POST on the same route sends that fingerprint back, and answers 409 when the request or the workspace security changed since.

Apps installed before v27.11.0

Apps installed before v27.11.0 were never granted anything, and the connectors among them stored their members’ tokens under their former names. On a self-hosted platform, the super admin runs the release migration releases/v27-11-0/migrate-secrets, which ships with the release following v27.11.0, after importing it (see Updates → Release migrations): it grants the connectors shipped with the release the roles they declare, and moves their tokens under the new names. Members do not have to reconnect. Some instances are left to you, and show as pending in Imports until you grant them: an instance pinned to a version, one pointing to a host outside its provider (a self-hosted instance, for example), one installed after the upgrade, one whose roles were changed by hand, or any instance of a workspace whose security.yml holds a rule the platform refuses. Grant them as any app, after reviewing their configuration. Until then, their scheduled syncs fail with Unknown role.

Secrets stored by apps

An automation of the workspace lists the secrets stored by the installed apps with the secrets module, names and dates only, never their values, and deletes one with delete. Both run under the rights of whoever runs the automation: an owner reaches them, an editor does not. A deleted secret’s app has to reconnect.
Deleting one this way emits the workspaces.appSecrets.deleted event, as a purge does. Deleting a secret does not revoke it at the provider it came from. For a compromised token, revoke it there as well, for instance from the connected account’s security settings. Uninstalling an app withdraws the authorizations it was granted, whoever uninstalls it, editors included. Its secrets are kept: if the app is installed again, an owner grants it again, and it finds its secrets back. An owner can also tick Also delete its secrets to delete them as well. The app is uninstalled first, then its authorizations are withdrawn and, with that option, its secrets deleted, and Builder shows what was removed.
  • What another installed app still uses is kept, since every instance of an app shares it.
  • If another installed app cannot be read, or the list of installed apps does not name this one, nothing is withdrawn, since what the others use is unknown. A plain uninstall goes on, and Builder names that app. With Also delete its secrets, nothing is uninstalled: try again, or uninstall without deleting the secrets.
  • If the withdrawal or the deletion stops after the uninstall, what is left stays in the workspace secrets and in its security rules, where it can be removed by hand: the secrets with secrets.delete, the rules in security.yml.
Through the API: uninstalling with DELETE /v2/workspaces/{workspaceId}/apps/{slug} answers with what was withdrawn, under authorizations. Its purgeSecrets parameter, which also deletes the secrets, requires manage_security, and answers 409, uninstalling nothing, while the installed apps cannot all be read. With it, the answer also holds purge: the fields of authorizations plus deletedSecrets, the number of secrets deleted, and an error if the deletion stopped after the uninstall.

Productivity & Collaboration

Connect with common workplace tools:
    Microsoft 365 (Outlook, Teams, SharePoint)Google Workspace (Gmail, Drive, Calendar)SlackZoomTrello, Asana, Monday.com

CRM & Sales

Integrate with customer relationship platforms:
    SalesforceHubSpotDynamics 365ZendeskPipedrive

Data & Analytics

Connect to data platforms and analytics tools:
    SnowflakeDatabricksPower BITableauLooker

Enterprise Systems

Integrate with core business systems:
    SAPOracle ERPServiceNowWorkdayNetSuite

Developer Tools

Connect with development and DevOps platforms:
    GitHubGitLabJiraAzure DevOpsBitbucket

AI & Machine Learning

Integrate with AI and ML services:
    OpenAIAzure Cognitive ServicesGoogle Vertex AIHugging FaceAWS AI Services

Creating Custom Integrations

For specialized requirements, develop your own integrations:
Create integrations using existing automation capabilities:
  • Combine HTTP requests with data transformations
  • Set up authentication flows
  • Implement error handling and retries
  • Create event-based integration patterns
  • Build data synchronization processes
This approach requires no coding but may be limited for complex scenarios.

Asking for authorizations

An app that stores secrets in the workspaces installing it, and reaches them under a role, declares that role in its index.yml. Names are relative to the app’s own secrets: the platform adds the app:<source workspace id>: prefix when an owner grants them.
The app’s automations then take the role on with assumeRole: tokenDepositor or assumeRole: tokenResolver, and name their secrets without the prefix.
  • Each rule names a single role, made of letters, digits, _ and -.
  • reason is shown to the owner who grants the rule. It is never written into the installing workspace’s security.
  • Only secure_secrets can be asked for, with read, create, update and delete.
  • The only condition is name: {$regex: '^<prefix>'}. It is then checked like any rule carried by a role: see Secrets → Reading a workspace secret with no user.
  • When a new version asks for more, or for something different, the workspaces installing it show the request again. Nothing changes in a workspace until one of its owners grants it.
Letting a workspace call the app without a user. An app can also ask that a given workspace may call some of its automations, even without a user, for instance a service that synchronizes a connector on a schedule. It declares an action on these automations, and asks for that action for the calling workspace:
  • Such a rule has no role. Its action is execute only, and its user names one workspace slug only (see RBAC → Let another workspace call some automations).
  • Its only condition is authorizations.action, an action or {$in: [...]}. Each action must be declared by an automation of the published version of the app, and public cannot be asked for.
  • The rule written into the installing workspace only applies to the automations of this app, never to the workspace’s own automations nor to another app’s:
  • The rule is written first in the security of the installing workspace: every rule its owners write, a denial of the calling workspace included, applies above it.
  • Only the endpoint calls are let in: put the action on the endpoint, not on the automations of the app it calls, which would then be refused to this caller.
  • An automation with an action no longer follows the access of the installing workspace: only its owners and editors, and the rules naming this action, let callers in. Put the action on an endpoint dedicated to the calling workspace, which calls the shared automations, never on an endpoint your users call too, such as the MCP endpoint of a connector: they would all be refused.
  • Keep these automations checking what they are asked to do: the rule lets the calling workspace in, it doesn’t tell what the call is for.

Integration Best Practices

Security First

Prioritize security in all integrations:
    Use secure authentication methodsStore credentials in workspace secretsImplement the principle of least privilegeValidate and sanitize all inputsEncrypt sensitive data in transit and at rest

Error Resilience

Build robust error handling:
    Implement appropriate retry strategiesCreate circuit breakers for failing servicesLog detailed error informationProvide meaningful error messagesHave fallback options for critical paths

Performance Optimization

Ensure efficient integration operations:
    Use connection pooling for databasesImplement caching where appropriateProcess large datasets in batchesUse asynchronous operations when possibleMonitor and optimize slow integrations

Monitoring & Logging

Maintain visibility into integration health:
    Log key integration eventsTrack performance metricsSet up alerts for integration failuresMonitor usage patterns and quotasImplement audit trails for sensitive operations

Versioning Strategy

Manage integration changes safely:
    Plan for API version changesTest integrations before upgradingMaintain backward compatibilityDocument integration requirementsImplement graceful degradation

Data Governance

Respect data policies and regulations:
    Understand data residency requirementsImplement data minimization principlesFollow retention policiesHandle PII according to regulationsDocument data flows for compliance

Integration Troubleshooting

Common authentication problems and solutions:
  • Invalid Credentials: Verify API keys, tokens, and usernames/passwords
  • Expired Tokens: Implement token refresh logic
  • Missing Scopes: Ensure OAuth scopes include required permissions
  • Certificate Issues: Check SSL/TLS certificate validity
  • Clock Skew: Synchronize system times for timestamp-based auth
Debugging approach:
  1. Check logs for specific authentication errors
  2. Verify credentials in workspace secrets
  3. Test authentication in a standalone tool (e.g., Postman)
  4. Review token lifecycle and expiration
  5. Check for recent API or authentication changes
Resolving connection issues:
  • Timeouts: Adjust timeout settings or optimize performance
  • Network Errors: Verify network connectivity and DNS resolution
  • Firewall Rules: Check if firewalls are blocking connections
  • Rate Limiting: Implement backoff strategies for rate limits
  • Service Unavailability: Monitor external service status
Debugging approach:
  1. Check network connectivity from your environment
  2. Verify endpoint URLs and port numbers
  3. Test with simpler requests to isolate issues
  4. Implement proper connection handling with retries
  5. Use monitoring tools to track connection patterns
Solving data formatting problems:
  • Schema Mismatches: Align data structures between systems
  • Encoding Issues: Ensure proper character encoding (UTF-8)
  • Type Conversions: Handle data type differences appropriately
  • Missing Fields: Add required fields or provide defaults
  • Format Validation: Validate data meets receiving system requirements
Debugging approach:
  1. Log actual data being sent and received
  2. Compare with API documentation requirements
  3. Implement data validation before sending
  4. Use transformation steps to correct format issues
  5. Test with sample data that is known to work
Addressing integration performance problems:
  • Slow Responses: Optimize request patterns or implement caching
  • High Latency: Look for network issues or service problems
  • Resource Constraints: Check for memory or CPU limitations
  • Concurrency Issues: Adjust parallel processing settings
  • Bottlenecks: Identify and optimize slowest components
Debugging approach:
  1. Measure performance at different steps
  2. Identify patterns (time of day, data size, etc.)
  3. Implement caching for frequently accessed data
  4. Optimize data transfer size and frequency
  5. Consider asynchronous processing for long-running operations
Troubleshooting webhook integration issues:
  • Delivery Failures: Check endpoint availability and response codes
  • Signature Validation: Verify HMAC signatures match
  • Payload Processing: Ensure webhook data is properly parsed
  • Event Triggers: Confirm events are triggering webhook calls
  • Rate Issues: Handle high-volume webhook scenarios
Debugging approach:
  1. Enable webhook logging on both sides
  2. Verify webhook URLs are correct and accessible
  3. Check authentication and signature validation
  4. Test with simplified payloads
  5. Monitor webhook delivery attempts and failures
Leveraging the Activity log for integration diagnostics:
  • Event Filtering: Focus on relevant integration events
  • Payload Inspection: View actual data sent and received
  • Error Analysis: Identify specific error conditions
  • Timeline Correlation: Connect related events
  • Pattern Recognition: Identify recurring issues
Debugging approach:
  1. Filter Activity log to relevant time period and event types
  2. Examine event sequences leading to failures
  3. Look for patterns in successful vs. failed interactions
  4. Analyze error details and contextual information
  5. Use real-time monitoring for immediate issue detection

Knowledges Webhook Integration

Implementing advanced integrations with Knowledges requires Builder and subscription to specific webhook events. This advanced functionality enables custom RAG pipelines and sophisticated AI agent behaviors.
Builder enables powerful integration with Knowledges through webhooks:
Subscribe to document events to enhance the knowledge base:
  • documents_created: Triggered when new documents are added
  • documents_updated: Triggered when documents are modified
  • documents_deleted: Triggered when documents are removed
Example use cases:
  • Custom document processing pipelines
  • Content enrichment with additional metadata
  • Advanced document validation
  • Integration with document management systems

Next Steps

Automations

Learn more about the backend processes that power integrations

Testing & Debugging

Explore how to troubleshoot and validate your integrations

RBAC

Understand how to secure access to integrations

Use Cases

See examples of integrations in real-world applications