Skip to main content
Version: 4.2 (2027 H1)

Interfaces & Integrations

primedocs can be integrated into existing systems as well as be called from other systems, from data retrieval and web embedding to automated document generation. In addition, user data can be kept up to date via user synchronization.

Interface Options​

  • Connect: Automate document creation processes via the Connect interface. Connect allows partial or complete automation of document generation.
  • Select: Access address data and generic data from various systems via primedocs Select.
  • API: Call primedocs information and document generation via the Web API (Admin API, Connect API, Connect Session API).
  • MCP: Expose primedocs capabilities to AI agents (e.g. Microsoft 365 Copilot) via the Model Context Protocol.
  • Connected Services: External services that primedocs authenticates against on the user's behalf (used by InvokeUrl, HttpDataProvider, and Connect Sessions).
  • Export as Template: Export primedocs templates for third-party systems as "normal" Office templates stamped with meta information, in case the target system does not offer any extension options.
  • Protocol Handler: Invoke the primedocs Desktop Client from other applications, links or scripts via the primedocs: URL protocol (create a new document, control the window, trigger Connect).
  • Use cases: how individual third-party systems and services are connected in practice (embedding primedocs Web into CMI, SharePoint, Teams or a web application of your own, and preparing documents for e-signature services).

3rd Party / Product Integrations​

Depending on the product, primedocs connects to business applications and surrounding systems in different ways. Most integrations follow one of four patterns. The list below shows which pattern is used for which product.

Integration patterns​

PatternBuilding blocksTypical use
Start: create a document from the business applicationConnect, Connect API, Connect Session API with Connect Session Templates, Protocol handlerThe business application passes data such as case number, recipient or subject and triggers document creation (see Connect Variants).
Data: retrieve data in primedocsSelect with HttpDataProvider, SqlDataProvider, LdapDataProvider, ExcelDataProvider, CsvDataProvider and ProviderPipelineUsers search for addresses or master data directly in the surrounding system. For REST APIs with OAuth sign-in, a Connected Service handles authentication on behalf of the user.
Handover: pass on or file the document after creationCommands after document generation (e.g. InvokeUrl), Output ManagementThe finished document goes to a DMS, a signature or delivery service, or back to the business application.
Sign-in and usersActive Directory or Entra ID, User synchronisation, SCIMUsers sign in with their existing account, and their data is taken over from the directory.

A system that is missing from the list below can usually be connected using one of these patterns. If it offers a REST API, the HttpDataProvider (with a Connected Service where needed) is the usual way to retrieve data, and the Connect Session API is the usual way to start from within the system.

Integration examples​

info

The following list is not exhaustive and illustrates example integrations with business applications and surrounding systems.

The Implementation column shows how the integration is achieved:

  • Product integration: primedocs ships a dedicated building block for this product, such as a ready-made embedding, a dedicated DataProvider or a dedicated address interface.
  • Configuration: the integration uses general building blocks such as the HttpDataProvider, the Connect Session API or Output Management.
  • Integration approach: the integration can be built with general building blocks but has to be assessed per project.
ProductPatternImplementationDescription
Microsoft OfficeCore componentProduct integrationprimedocs integrates with Office both via COM add-ins and via Office.js-based web add-ins.
Active Directory / Entra IDSign-in and usersProduct integrationFor sign-in (see Server Installation), primedocs uses the existing Active Directory or Entra ID infrastructure. It also serves as the source for user synchronisation, for example via LDAP / AD or Microsoft Graph.
SCIMSign-in and usersProduct integrationSee SCIM.
LDAP directoriesData, sign-in and usersProduct integrationRetrieve contact data via the LdapDataProvider and synchronise users via LDAP / AD.
CMIStart, data, handoverProduct integrationStart document creation from CMI Desktop (Connect) or CMI Web (Connect Session Template), use CMI business cases as a data source, and write documents back to CMI. See CMI.
Microsoft SharePointStartProduct integrationEmbed primedocs Web in SharePoint. See SharePoint.
Microsoft TeamsStartProduct integrationEmbed primedocs Web in Teams. See Teams.
Microsoft 365 CopilotStartProduct integrationProvide primedocs functions to Copilot via the Model Context Protocol. See MCP.
Microsoft Information Protection (Purview)Core componentProduct integrationApply sensitivity labels during generation. See the MIP document function.
Microsoft Dynamics 365Data, handoverConfigurationRetrieve data from the Dynamics 365 Web API via the HttpDataProvider with a Connected Service (Entra ID). In primedocs Desktop, the Dynamics CRM address interface and the «Dynamics CRM Integration» document function are also available. The latter saves the Word document to the CRM via the «In Dynamics CRM speichern» button. It uses the organisation service of classic Dynamics CRM installations with Windows sign-in.
SalesforceStart, dataIntegration approachStart document creation from Salesforce via the Connect Session API, for example with a button that opens primedocs Web with the passed data. Retrieve data from the Salesforce REST API via the HttpDataProvider with a Connected Service (OAuth).
OdooStart, dataIntegration approachRetrieve data from the Odoo Web API via the HttpDataProvider and start document creation via the Connect Session API.
innosolv (innosolvcity, innosolvenergy)Data, handoverProduct integrationRetrieve contact data via the innosolv address interface. In classic Word templates, the «nest/is-e» document function takes a target path when started via Connect. Its directory must already exist. The «Zur Weiterverarbeitung freigeben» button saves the document there, as .docx or, if the extension is .pdf, as PDF/A.
VertecDataConfigurationRetrieve data via the HttpDataProvider, which also processes XML responses. For classic templates, the VerTec and Generic HTTP address interfaces are available.
search.ch (TelSearch)DataConfigurationSee the example in HttpDataProvider. For classic templates, a dedicated address interface is also available.
ZefixDataConfigurationRetrieve company data via a ProviderPipeline. See the example.
Microsoft SQL ServerCore component, data, sign-in and usersProduct integrationprimedocs database. Retrieve data via the SqlDataProvider and synchronise users via SQL.
Oracle, MySQL, MariaDB, IBM System iData, sign-in and usersProduct integrationSee SqlDataProvider and user synchronisation via SQL.
Microsoft Excel / CSVData, sign-in and usersProduct integrationSee ExcelDataProvider, CsvDataProvider, ExistingListDataProvider and user synchronisation via CSV.
DeepSign / Adobe Acrobat Sign / DocuSignHandoverConfigurationAddress e-signature services via placeholder texts in the templates. See Electronic Signatures.
ePostHandoverIntegration approachHand documents over to the ePost Communication Platform via Output Management. See ePost.

Address interfaces (classic)​

For classic templates (Word, Excel, PowerPoint and Outlook), primedocs also ships address interfaces that load contact data directly from a third-party system. They are still delivered. For new templates, the data interface with its DataProviders is the recommended approach.

Address interfaceSystem
AbacusAbacus ERP
Cobra CRM Pluscobra CRM
Creativ OMOM by Creativ
Dynamics CRMMicrosoft Dynamics CRM
Microsoft Dynamics NavisionMicrosoft Dynamics NAV
ETV Accessdirectory data from directoriesDATA
Exchangecontacts from Microsoft Exchange
Generic HTTPany HTTP interface with JSON or XML responses
Generic SQLSQL databases
innosolvinnosolvcity (formerly NEST)
LDAPLDAP directories, Active Directory
Lotus NotesHCL Notes (formerly IBM Lotus Notes)
Outlookcontacts from Outlook
RUF wwSoft/geSoftwwSoft and geSoft by RUF Informatik
SAP C4CSAP Cloud for Customer
SAP PulsHR data from SAP
SharePointaddress lists in Microsoft SharePoint
search.chsearch.ch telephone directory
Excel and CSV listscustom address lists as Excel or CSV files
VerTecVertec
ZefixCentral Business Name Index (Zefix)
note

Is a use case missing from this list, or are there questions about a specific implementation? The Helpdesk can help. New integration possibilities are welcome.

Connect Variants​

To allow a business application to directly trigger the document generation process, the primedocs Connect integration option can be used. Depending on the type of application and the use case, different variants are available:

Type of applicationClient type of primedocsIntegration via...Data supplyInformation
Desktop Applicationprimedocs desktopConnect (see Start document generation)Yes
Desktop Applicationprimedocs Document Creation ServerConnect API (see Connect API)YesServer-side document generation without user editing.
Web Applicationprimedocs webConnect Session Template (see Connect Session Templates)YesEmbeds our web app into your own web application (see Use cases). Data is supplied via URL parameters and the initializers of the Connect Session Template.
Web Applicationprimedocs Document Creation ServerConnect API (see Connect API)YesServer-side document generation without user editing.
Web Applicationprimedocs desktopConnect call via Protocol HandlerYesThe web application can call the primedocs desktop client via protocol handler and pass a URL to an API that generates the Connect file.