Skip to main content

Integration and Sync Modes

Learn how to configure data integration and sync modes in Swapcard for efficient data flow between sources and destinations.

Integration involves configuring Swapcard to harmonize data between either a source and Swapcard or Swapcard and a destination. The available integration options offer diverse functionalities, covering the source of data, referred to as "Streams," and extending to the model that governs data replication on Swapcard. This encompasses:

  • Synchronization Schedule: Specifies the timing for periodically synchronizing data.

  • Stream: Pinpoints the source location for collecting data.

  • Destination: Specifies the target location where data is recorded.

  • Sync Mode: Determines how streams are replicated, encompassing both the reading and writing processes.

Synchronization schedule

Synchronizations can be triggered through either:

  • A user-initiated request (e.g., clicking Sync now in the Sync Configuration tab of the integration)

  • A scheduled synchronization

Upon enabling an integration, the initial synchronization occurs promptly. Subsequent synchronizations then run every 60 minutes from the moment the integration was enabled. A manual synchronization does not change this schedule: it runs in addition to the scheduled synchronizations. For instance, consider the following scenario for clarification:

The integration schedule is set to 60 minutes for this example; frequency and configurability depend on the integration.

  • November 1st, 2:00 pm: A user activates an integration, and the synchronization interval is 60 minutes.

  • November 1st, 2:01 pm: The initial synchronization job is executed.

  • November 1st, 3:00 pm: 60 minutes after the integration was enabled, a scheduled synchronization is triggered.

  • November 1st, 3:15 pm: The user manually initiates a synchronization from the UI.

  • November 1st, 3:16 pm: The manual synchronization job runs.

  • November 1st, 4:00 pm: Another scheduled synchronization is triggered on the hourly schedule, even though the manual synchronization ran at 3:16 pm.

  • November 1st, 5:00 pm: The next scheduled synchronization is triggered, and so on.

It's important to note that the synchronization time may vary based on factors such as the day and hour of integration execution, as well as external system speeds from which the integration collects data.

When importing is disabled for an integration, scheduled synchronizations stop and the Sync now and Re-sync all historical data buttons are unavailable. Scheduled synchronizations resume once importing is enabled again.

Destination

The selection of a destination depends on the integration capabilities, consistently adjusting to the integration capacity of Swapcard. Various destination types are offered, including:

The integrations also support intermediate links between destination types. For instance, linking People with Sessions, Items with Exhibitors, and Exhibitors with People. Refer to Object Model

Sync modes

Synchronization mode dictates how Swapcard interacts with a data source during reading and writing processes. Swapcard offers diverse sync modes to accommodate different use cases.

Full Refresh

The Full Refresh modes represent the most straightforward techniques employed by Swapcard for data synchronization. In these modes, Swapcard consistently retrieves all available information from the source, irrespective of whether it has been previously synced. This stands in contrast to Incremental Sync, which avoids syncing data already processed in previous syncs.

This synchronization mode involves overwriting the existing data mapped by the integration with the latest data obtained from the source.

Incremental Sync

Swapcard facilitates data synchronization in Incremental mode, wherein only new or modified data is replicated. This approach prevents redundant fetching of data already synchronized from the source. In the initial run of the sync, it behaves similarly to a Full Refresh since all data is considered as new.

Similar to Full Refresh, this synchronization mode entails overwriting the data mapped by the integration with the most recent data derived from the source.

In incremental mode, records that fail to import are not retried automatically. Each incremental sync only fetches the records created or updated in the third-party tool since the last successful sync. A sync counts as successful even when some records fail, so a failed record is not fetched again until it changes in the third-party tool.

Once you have fixed the cause of the errors, update these records in the third-party tool, or open the Sync Configuration tab of the integration and click Re-sync all historical data to import everything again. This button is only available when importing is enabled; avoid using it more than once a day.

Webhook

Swapcard supports the Webhook mode for real-time data synchronization. In this mode, updates are triggered directly from the data source through webhook events, ensuring that only new or modified data is synced as changes occur. This eliminates the need for periodic data polling, making it highly efficient for dynamic environments.
When a webhook event is received, Swapcard retrieves the relevant data from the source and overwrites the existing mapped data in the integration with the most recent information. Similar to Full Refresh and Incremental Sync modes, Webhook Overwrite ensures that the latest data is consistently reflected on the platform.
This mode is particularly suitable for use cases where real-time updates are critical.

Did this answer your question?