BuildWithHQ PlatformTemplatesSolutionsCalculatorCompare DocsLog inGet started
Bidirectional Integration Architecture

Inbound and outbound API connectivity: connect every SaaS product to the outside world

BuildWithHQ treats integration as a first-class application capability. A SaaS product can send data and actions to external services, accept inbound API calls and webhooks, synchronize records, trigger workflows, receive asynchronous results, and expose selected product capabilities to customers and partners without placing credentials or security decisions in the browser.

How external API connectivity fits into BuildWithHQ

BuildWithHQ treats integration as a first-class application capability. A SaaS product can send data and actions to external services, accept inbound API calls and webhooks, synchronize records, trigger workflows, receive asynchronous results, and expose selected product capabilities to customers and partners without placing credentials or security decisions in the browser.

First-class capability: external integration is available to every SaaS product and can be used directly by pages, modules, workflows, AI actions, scheduled processes, webhooks, API clients, and isolated extensions.

Integration model

Outbound API calls

Pages, workflows, scheduled jobs, AI actions, and background processes can call external REST APIs using server-side credentials and tenant-aware configuration.

Inbound API endpoints

Each SaaS product can expose controlled endpoints that allow approved external systems, partners, and customer applications to create, update, query, or trigger product behavior.

Inbound webhooks

External providers can send event notifications into BuildWithHQ, where the payload is authenticated, normalized, deduplicated, and routed into a workflow or record operation.

Bidirectional synchronization

The same integration can send changes outward and accept later confirmations, status changes, errors, files, or completed results back into the SaaS product.

Outbound connectivity

API client definitions

A connector defines its base URL, authentication method, headers, version, timeout, allowed operations, and tenant-specific configuration.

Server-side secrets

API keys, OAuth tokens, signing keys, and client secrets remain in protected server-side storage and are never delivered to the browser.

Structured requests

Pages and workflows provide typed input values that are transformed into the external provider’s required path, query, header, and body format.

Response mapping

Returned JSON can update records, create activities, continue a workflow, display a result, create a file, or generate an AI or operational insight.

Queued delivery

Long-running or noninteractive calls can enter an outbound queue so user requests are not blocked by the external provider.

Retry and backoff

Transient failures can be retried according to provider-specific policies while permanent failures are surfaced for action.

Inbound connectivity

Endpoint registration

A SaaS owner defines the inbound route, accepted method, authentication policy, payload limits, expected schema, and action or workflow that receives the request.

Tenant resolution

The endpoint resolves the correct SaaS application and customer account before data is read or changed.

Authentication and signatures

Inbound traffic can require API keys, OAuth access tokens, signed payloads, shared secrets, or provider-specific webhook verification.

Schema validation

Payloads are validated and normalized before they reach modules, records, workflows, AI, or extension services.

Idempotency

Repeated delivery of the same request or webhook can be recognized so retries do not create duplicate records or actions.

Immediate acknowledgement

The platform can acknowledge a webhook quickly and place the heavier work into a queue for asynchronous processing.

Security and governance

DataRoles and permissions

An inbound or outbound operation can require a specific platform permission and can be restricted to records the initiating user is authorized to use.

Location scope

Integrations can preserve branch, facility, territory, or regional boundaries when reading, writing, or synchronizing records.

Field-level protection

Sensitive or encrypted fields can be excluded, transformed, masked, or separately authorized before disclosure to an external service.

Egress controls

Connectors and isolated extensions can be limited to approved destinations rather than receiving unrestricted outbound network access.

Rate limits

Per-tenant, per-connector, per-endpoint, or provider-specific usage controls can protect the SaaS product and external service.

Audit logging

Requests, responses, actor, tenant, endpoint, record context, duration, status, and disclosed fields can be recorded for operations and compliance.

Workflow and module integration

CRM and universal inbox

Create contacts, append conversation events, synchronize message status, or route external communications into a secured customer timeline.

Calendar and scheduling

Publish appointments outward, receive booking updates, synchronize attendees, or react to external schedule changes.

Custom modules

Map external objects into any custom module rather than forcing every integration into a generic contact or deal structure.

Files and documents

Receive file callbacks, upload generated documents, retrieve signed files, or connect external storage and document-processing services.

Billing and payments

Send charges, receive payment events, update invoices, and route financial exceptions into approval workflows.

AI and automation

Call external AI providers when desired, accept asynchronous AI results, or combine external services with BuildWithHQ’s secured AI and workflow layers.

How it differs from isolated extensions

Direct API integration

Use external API connectivity when a remote provider already exposes the required service and BuildWithHQ only needs to authenticate, map, call, receive, and orchestrate it.

Isolated extension

Use an isolated extension when custom code, a vendor SDK, proprietary processing, background workers, or specialist libraries must run inside a tenant-controlled container.

Combined architecture

An isolated extension can itself call external APIs, while BuildWithHQ still provides the page, workflow, permission, secret, routing, and audit layers around the invocation.

No forced choice

A SaaS product can use direct APIs for ordinary integrations and isolated extensions only for the custom logic that truly requires them.