The six agent connections
Under Administration → Agent connections (/app/agent-connectors), owners and administrators set up the connections. The page is also linked from the business connections and the agent editor.
| Area | Included actions | Setup |
|---|---|---|
| Outlook / Microsoft 365 | Read messages, contacts and calendar; create draft replies and appointments; shared mailboxes | OAuth and documents |
| CRM and service cases | Search, read, create and update your own SIHub CRM with version checks; conversation as a service case; follow-up task; optional HubSpot/Zendesk connection | CRM agents |
| Document knowledge and OCR | OneDrive, SharePoint, Google Drive; read selected files, import them as knowledge and update them; text recognition for scans | Documents and OCR |
| Shipping and returns | Track DHL shipments and returns; create a return request with an order reference as a CRM service case | See below |
| Bank and tax advisory firm | finAPI accounts and transactions; traceable reconciliation suggestions; CSV in an explicitly specified firm/BMD profile | Bank and tax advisory firm |
| Messages and handovers | Incoming WhatsApp messages in the inbox, replies and templates; Slack team handover | WhatsApp and Slack |
Connection and agent actions
- Choose the service and a name. Enter credentials or sign in with the provider. SIHub checks external credentials before saving. No credentials are required for the internal CRM and the local firm export.
- Open actions shows the supported actions and their input fields. Read requests return results. Changes first show a preview and require Confirm and apply change. A CSV export can be done via Download file to save a CSV export.
- Select the required actions in the agent editor and switch Use actions in work orders on. Private work orders use the saved assignment directly.
- Use the agent via a private work order or the Agent center. Regular public widgets do not receive these connections. The existing live approval and a running agent worker are required. Live approval also applies to manually triggered external actions.
- With Edit access empty password fields remain unchanged. To renew an OAuth connection, sign in to the provider again. Disable immediately blocks the related agent actions from further calls. Document copies that have already been imported remain in knowledge management and must be removed there if needed.
A service creates a separate action for each capability. Read and write permissions can therefore be assigned separately. API keys remain encrypted in the workspace; they appear neither in the prompt nor in the tool model. General SIHub API keys cannot use this connection management.
The new connections are bound to the workspace. They are not automatically approved as a source for every tax client. The existing client-specific sevdesk, Shopify, PayPal, Klarna and cash register paths keep their own setup process.
DHL and returns
A DHL developer account with access to the Shipment Tracking – Unified API is required. The API key and a reachable tracking number of your own are entered for the connection test. Retrieval uses only the fixed DHL endpoint and returns the shipment status, events and the delivery forecast, if available. The data and rate limits depend on the DHL product you have subscribed to. See DHL documentation.
Returns are tracked using their own tracking number. Create a return request as a service case stores the order number, tracking number, return reason and, optionally, an existing customer contact in the SIHub CRM. This action does not create a shipping label or trigger a refund.
Concurrent use and retries
Different connections can be used by different agents at the same time. For each connection, a persistent lock prevents concurrent credential updates. A busy connection reports a conflict; once the operation finishes, it is available again. If a process is aborted, the lock expires after two hours at the latest. The longer period accounts for document batches with text recognition.
Confirmed write calls receive an encrypted execution receipt. The same request ID with the same data returns the existing result. Different data under the same ID is rejected. An interrupted write call remains unresolved and is not retried automatically. Check the status in the external system first. A new request ID means a new job.
Operation and verifiable limits
The modules are part of the existing Flask app and agent worker; no additional database tables are needed. Connection metadata and actions use entities, credentials and execution receipts workspace_secrets. The existing MariaDB installation and its encryption key remain required. Web and worker must be run together with the updated code.
Tesseract must be installed for OCR, and Poppler as well for PDFs. App registrations, provider permissions, bank authorization, the Meta webhook and a suitable BMD test import must be set up with your own accounts. The local tests simulate external providers; they do not confirm production account access or deliveries.
Outlook creates drafts; sending happens in Outlook. Document refresh processes selected imported sources in limited batches and has no background schedule of its own. finAPI reads bank connections that are already authorized. The firm export is a configurable file exchange; it does not report direct posting in BMD. WhatsApp media appear as a notice; media download and full delivery history are not included.