Skip to main content

Configure connections

Integrate the Conversion Service into your environment by connecting input sources (for example a watched folder) to output destinations (for example an output folder) and configure how documents will be processed. To achieve this configure a connection using the Conversion Service Configurator, which is installed with the Conversion Service.

Integration tab of the Conversion Service Configurator

Set up a connection

A connection defines how the Conversion Service is integrated into an existing system. Each connection requires input and output connectors. To add and configure a new connection click the Add Connection button.

To edit or delete an existing connection, click on the respective icon. To copy an existing connection, click the Copy icon.

Configure a new connection with the Conversion Service Configurator
  • Name (required): Enter a connection name.
  • Description (optional): Enter a connection description.
  • Input(s) (required): Configure an input connector by clicking Add.
  • Processing (required): Select the workflow and profile for the conversion.
  • Output(s) (required): Configure an output connector by clicking Add.

Add a connector

Each connection requires at least one input connector and one output connector. You add them in the connection editor described in Set up a connection. After you select a connector, click Next to confirm the selection and configure its options, as described in Configure connectors.

Configure Connector window of Conversion Service Configurator

The following sections list the available input and output connectors.

Input connectors

Input connectors define where Conversion Service receives documents. Click Add in the Input(s) section, then select one of the following:

  • Poll AI Smart Redact: Periodically fetch finished redaction jobs from the Pdftools AI Smart Redact Orchestrator and forward each redacted PDF to a workflow.
  • REST input JSON: Convert files sent in the request body in JSON format, either as a single file or multiple files.
  • REST input plain HTTP: Convert files sent in the request body in HTTP format, either as a single file or multiple files.
  • Watched Folder: Convert all files placed into a configurable input directory.
  • Watched Mailbox (Exchange Online): Convert all emails placed into a configurable Microsoft Exchange Online mailbox.
  • Watched Mailbox (IMAP): Convert all emails placed into a configurable IMAP mailbox.

Output connectors

Output connectors define where Conversion Service sends processed documents. Click Add in the Output(s) section, then select one of the following:

Configure connectors

Set options for the selected connector. A summary for each option is documented with tooltips. For a detailed explanation of the connector, click on the title to open the documentation panel.

Important

You must restart the Conversion Service for any configuration changes to take effect.

When you add or edit connections, the Configurator detects changes and displays an unobtrusive notification. For your convenience, your changes are kept in memory until you click Save & Restart Service.

Configure connectors in Docker

To configure connectors in Docker:

  1. Use the Configurator UI to add connections and input or output connectors as described in the previous sections.
  2. The changes are storred in the Connections.xml file in the installation folder.
  3. Map the file from the host to /etc/connsrv/Connections.xml in the container.
  4. Set the IMPORT_CONNECTIONS environment variable to the mapped path.

Example Docker Compose configuration:

connector-service:
image: pdftoolsag/connector-service:${IMAGE_VERSION}
volumes:
- ./Connections.xml:/etc/connsrv/Connections.xml
environment:
- IMPORT_CONNECTIONS=/etc/connsrv/Connections.xml

This imports and applies the Connections.xml configuration to the Connector Service on startup.