Integration setup: endpoints, flows, mappings, schedules and monitoring
Connect BSuit to external systems with endpoints, flows, field mappings, schedules, webhooks and API keys, and operate the queue, dead letters and alerts.
On this page
Process at a glance
- Create an endpointIntegration adminAn external system connection with its authentication exists.
- Build a flowIntegration adminA flow ties the endpoint to an entity and trigger.
- Map fieldsIntegration adminSource fields are transformed into target fields.
- Schedule or triggerIntegration adminA cron schedule or event starts the flow.
- Watch the queueIntegration adminItems are processed, retried or sent to the dead-letter queue.
- Replay failuresIntegration adminExhausted items are replayed or discarded.
- ReconcileIntegration adminQueued, sent, acknowledged and failed counts per flow and day.
#Purpose and scope
The Integration Hub moves data between BSuit and other systems. This chapter covers setting up the connection, the flow that moves data, mapping, scheduling, inbound credentials and day-to-day operation. The whole module is for administrators; it has no approval workflow.
#Before you start
- Get the partner’s URL, authentication method and credentials. Prefer secret references or let BSuit encrypt typed secrets; secrets are encrypted at rest and masked when shown.
- Know the BSuit entity the flow reads or writes, and its field names.
- For inbound writes into a company-scoped entity, plan a constant company_id mapping. Without it the write is rejected rather than saved without a company.
#1. Create an endpoint
- Start from Connectors: choose Install on a template to create a starter endpoint, then add credentials to finish. Or add an endpoint directly in Endpoints.
- Set code, name, direction (inbound or outbound), type, base URL, authentication, timeout, retry count, SSL verify and Active.
- For OAuth 2.0 choose Client Credentials or Authorization Code and fill token URL, client id, client secret, scope and, for authorization code, authorization URL and redirect URI. The list shows OAuth status as not connected, expired or connected.
- For SFTP and file-drop endpoints put the settings in the connection configuration JSON, using secret references rather than raw passwords.
| Field | Choices |
|---|---|
| Type | REST API, Webhook, File, SFTP, File drop (local), Database, SOAP, GraphQL |
| Authentication | None, Basic, Bearer Token, API Key (with header name), OAuth 2.0 |
#2. Create a flow
- Use Flow templates for ERP, EDI and file flows: pick a template, choose an endpoint and a flow code. It creates an inactive flow with its field mappings; replace placeholder values and review before activating.
- Or create one in Flows: code, name, direction, endpoint, connector, entity type, trigger (Manual, Scheduled, Event or Webhook), trigger event, request method and path, batch size and Active.
- Optionally choose a canonical payload schema (Order, ASN, Shipment Status, Invoice, Inventory Snapshot or Master Data) so payloads are validated.
- For inbound flows the form shows the ingress URL plus a static ingress key and an HMAC secret.
#3. Map fields
- In Field mappings choose the flow, then add rows with source field, target field, transform, transform config, default value, required and order.
- Without mappings the raw payload is sent unchanged. If a required field has no value after the default, the whole item fails rather than writing part of it.
| Transform | Effect |
|---|---|
| Direct | Copy the value |
| Constant | Use a literal value |
| Format | Apply a format string or template to a number or date |
| Lookup | Translate through a source-to-target table, falling back to the default |
| Expression | Build a value from fields such as {field} or {a.b} |
#4. Schedule, receive and notify
- In Schedules pick a flow, enter a five-field cron expression (for example 0 2 * * *) and a time zone (default UTC). There is one schedule per flow.
- Webhooks defines incoming or outgoing webhooks with URL, secret key and an events filter. Outgoing webhooks are signed when a secret is set and retried on temporary failures.
- API keys generates a key with name, endpoint, scopes and expiry. The full key is shown once only; afterwards just the prefix is kept.
- Alerts notifies the addresses in Notify Emails when a failed log entry matches an active alert.
#5. Operate the queue
- Queue shows flow, entity, event type, status, attempts and priority. A worker takes pending items about every 30 seconds.
- A failed attempt is retried with a growing delay until the maximum attempts (3 by default) is reached; the item then moves to Dead Letter.
- In Dead letter queue choose Replay for one item, Replay all (optionally for one flow) or Discard, which marks the item cancelled.
- Logs records each dispatch with direction, status, method, URL, status code and duration. Reconciliation shows queued, sent, acknowledged and failed items per flow and day for the last 7, 14, 30 or 90 days.
| Status | Meaning |
|---|---|
| Pending | Waiting to be processed or retried |
| Processing | Locked by a worker |
| Completed | Processed successfully |
| Failed | Offered on the form; the Retry button appears on these rows |
| Dead letter | Retries exhausted; replay or discard |
#Other reference screens
| Screen | Use |
|---|---|
| Events | Catalogue of entity and event types. It is reference data only and does not drive triggering. |
| Data formats | Catalogue of data format definitions for reference. |
| Entity sync states | Links external ids to local records so a repeated inbound push updates the same row. |
About this guide
- Status
- Partially reviewed
- Application
- BSuit ERP
- Audience
- Administrators and integration engineers
- Owner
- BSuit documentation team
- Reviewer
- Not yet reviewed
- Last verified
- Never
- Checked against
- Generated from source revision a36c7a086 on 2026-10-02
- Seen on a running system
- Not yet
- Help version
- 2026.0.0-preview
- Guide ID
erp:article/guide/integration-setup
Was this helpful?