# Architecture — Fetcher, Extractor, Processing

> How Sapier moves data: scheduled retrieval, field mapping and transformation, queue-based processing, autoscaling workers and full record-level traceability.

Source: https://sapier.io/architecture

SAPIER / ARCHITECTURE

ENTERPRISE INTEGRATION ARCHITECTURE

## Complex data workflows. Transparent processing.

After configuring objects, filters and schedules in the workflow, Fetcher retrieves data, Extractor maps and transforms it, and Processing synchronizes the prepared records.

DATA PROCESSING FLOW

### From workflow configuration to destination sync.

Metadata and query rules are configured in the workflow editor. At runtime, Fetcher, Extractor and Processing perform separate, consecutive responsibilities.

SOURCE SYSTEMS

SAP Business One · Zoho CRM · Kulcs-Soft · Shoprenter

00 / WORKFLOW

#### Configuration

Metadata · filters · schedule · mapping

01 / FETCHER

#### Scheduled source retrieval

02 / EXTRACTOR

#### Field mapping and preparation

03 / PROCESSING

#### Destination synchronization

Fetcher → Message queue

Extractor → Processing queue

Processing → Destination write

DESTINATION SYSTEMS

ERP · CRM · E-commerce · Invoicing

Fetcher → message queue → Extractor → processing queue → Processing. Caching and audit logging support the flow.

METADATA-DRIVEN INTEGRATION

### Not every connection starts with a fixed endpoint list.

Metadata discovery happens when configuring a workflow, not during a Fetcher run. Supported providers can expose discoverable objects and fields, while other providers use static object definitions. Fetcher executes the configured query on schedule.

01

Discover objects and fields

02

Configure filters and schedule

03

Configure field mapping

Filters, schedules, objects and mappings are configured in the workflow editor; Extractor executes the mappings and type conversions at runtime.

PROCESSING STAGES

### What does each component do?

Fetcher retrieves; Extractor maps and transforms; Processing writes to the destination.

01 / FETCHER

#### Scheduled source retrieval

Fetcher retrieves records from the source based on filters and schedules configured beforehand in the workflow, then sends the data stream to an asynchronous message queue.

- Scheduled and incremental retrieval
- Remote and local filtering rules
- Pagination and large dataset retrieval
- Handoff to the message queue

02 / EXTRACTOR

#### Field mapping and preparation

Extractor consumes the data stream after the fetch has completed. It performs field mapping, type conversion and transformation pipelines, then puts prepared records into the processing queue.

- Consumption after the complete fetch
- Source-to-target field mapping
- Type conversion, such as number → text
- Transformation pipelines and processing queue preparation

03 / PROCESSING

#### Destination synchronization

Processing reads already prepared records from the processing queue and writes them to the destination using single-record or bulk operations. Field mapping and transformation have already been completed.

- Reads prepared records from the processing queue
- Single-record and bulk operations
- Create and update destination records
- Tracks processing states, failures and retries

DATA TRANSFORMATION AND QUALITY

### Data is prepared before synchronization begins.

Extractor applies type conversions and configurable transformation pipelines during field mapping. Dictionary value mapping and AI-assisted checks extend the transformation capabilities.

PIPELINES

#### Data transformation steps

Field values can be transformed using configurable rules: value replacement, case conversion, hashing and dynamic values such as the current date.

"BUDAPEST" → "Budapest"

DICTIONARY

#### Cross-system value dictionaries

Mapping rules reconcile different codes and labels used by business applications. For example, an SAP Business One payment method code can map to a human-readable Zoho CRM value.

"02" → "Cash"

AI VALIDATION

#### AI-assisted data quality

AI-assisted checks complement deterministic processing. Example uses include address validation and suggested corrections for malformed email addresses.

Validation → Suggested correction

Values shown are illustrative examples, not official SAP code mappings.

RELIABLE OPERATIONS

### Mechanisms supporting every stage.

Several cross-cutting services support the workflow; they are not additional sequential processing stages.

ASYNC

#### Asynchronous data handoff

Separating retrieval from preparation supports continuous processing and helps manage workload.

CACHE

#### Caching

Caching frequently used record identifiers and lookup results can reduce repeated API calls, especially during bulk synchronization.

RETRY

#### Error handling and retries

Controlled retry mechanisms and processing-state tracking support recovery from transient failures.

AUDIT

#### Logging and traceability

Processing logs help identify what happened to a record and where a workflow may need attention.

SUPPORTING CAPABILITIES

### What supports the data flow.

Sapier's modular architecture combines asynchronous messaging, workload-driven automatic scaling, processing queues, caching and detailed logging. These capabilities support efficient and reliable processing across varying data volumes.

#### Message Queue

Asynchronous messaging separates data retrieval from data preparation, supporting reliable transfer of large data streams.

#### Automatic Scaling

Processing capacity adapts to workload demands. Additional processing workers can be started when needed, while resource consumption can be reduced during periods of lower activity.

#### Processing Queue

Stores prepared records and tracks their processing status until destination synchronization. Supports both individual and bulk processing operations.

#### Caching

Reduces repeated API calls by caching frequently used record identifiers and lookup results, particularly during large-scale synchronization.

#### Persistent Storage

Stores workflow configurations and processing data while maintaining visibility into processing states.

#### Audit Logging

Detailed logging of synchronization events and processing errors supports traceability and troubleshooting.

SAPIER / INTEGRATIONS

### Explore the business systems Sapier can connect.

Explore integrations

Contact us
