Data Sync - Getting Started

Updated by Devinder Singh

Introduction

Byteline allows users to synchronize data of two different databases or CMS systems with ease. Whether you want to keep the data of two CMS systems synchronized or want to ensure your databases are synchronized, the platform lets you do it effortlessly. 

How to Sync Data between two applications

In this guide, we have uncovered a few simple steps to help you synchronize data between two applications, namely Airtable and Webflow, using Byteline. These instructions are applicable for any two CMS systems or databases.

We have divided this article into four sections to make it easy for you to understand the process of data synchronization on Byteline, as illustrated below:

  1. Configuring Data Sync
  2. Handling Existing Data
  3. Preview
  4. Start Sync
  5. View Records Sync History

Let’s begin. 

Configuring Data Sync

In this section, you will learn how to configure two applications, Airtable and Webflow, for data synchronization between them with Byteline. 

Select Apps

To configure data synchronization, you first need to select two different applications, which can be done by following the steps mentioned below. 

Step 1: On the New Sync page, click on the Add New button next to the My Syncs in the sidebar menu. 

Step 2: Click on the "Pick first app to sync" field and select the your app from the dropdown list. 

Step 3: Sign in to Airtable by clicking the Sign in button next to the dropdown. 

Ensure that pop-ups are disabled, as the new connection dialogs appear in pop-up windows.

Step 4: Once you have signed into Airtable, select the desired base from the Airtable base dropdown list. 

Step 5: Click on the "Pick second app to sync" dropdown and select Webflow from the dropdown list. Now, create a connection to Webflow like how you did for Airtable

Step 7: Once you have signed into Webflow, select the "object type" along with the Site from the dropdowns. 

Step 8: Click on the Save & Proceed button.

Select Table(s)

Step 1: Once you select the Airtable base and Webflow site, you can view available tables for both. Choose the desired table from Airtable and Webflow dropdown list. Byteline performs mapping automatically based on the table names.

Note: Users can manually add a table mapping. All they need to do is click the Add another Table button and choose the desired tables from the drop-down list. Multiple tables can be mapped on this screen.

Step 2: After selecting the desired table(s) from Airtable and Webflow, delete all other tables displayed on the screen by clicking on the Trash Bin button. 

Note: Users can synchronize the data either two-way or one-way. By default, the sync is set to two-way. You can set the sync one way, either left to right or right to left.     

  • Two-way sync: In this type of sync, the data is synchronized bidirectionally whether you create, update, or delete in the Airtable or Webflow. 
  • One-way sync: In this type of sync, the data is synchronized only in one direction, right-to-left or left-to-right. 

                                              

Step 3:  Click on the Save & Proceed button.

Filters

In the table mapping screen, you can configure filter(s) on one or both sides of the sync. The filter only affects the data consumed from the side of the sync where it's configured. For example, if you add a filter on Airtable (above sync) to filter out the records with the empty "Name" field, then it will only sync the Airtable records with some value in the "name" field. It will not have any effect on the records read or created/updated on the Webflow.

Below is a sample filter on the Airtable "Name" field.

Date & Time Filters

Byteline offers robust filtering options, including support for date and time-based filters. These filters can handle both absolute date-times, such as 2020-10-26T16:56, and relative formats like -30d (for the past 30 days). For a detailed guide on using date and time formats in filters, visit our documentation on writing dates.

Configure Field Mapping

Once you select the tables, you need to configure the field mapping for both applications in the Byteline console by following the below steps. Byteline performs mapping automatically based on the field names.

Be sure to map all required fields, indicated by the "Required" tag next to each field.

Note: Users can manually map fields by simply dragging a field from the right section onto the mapping panel.
Field-Level Sync Direction

Byteline supports field-level sync direction for ongoing data sync, giving you detailed control over how data moves between systems.

With the blue direction buttons, you can easily set different sync directions for individual fields, ensuring data flows exactly where it’s needed. This feature helps you customize and optimize your sync process for greater flexibility and accuracy.

Generated or Read-only Fields

Every cloud app has read-only fields that can't be changed but can be read; these include record IDs, formulas, etc. These fields can only be the source of the sync. In other words, you can't update the value of a read-only field by taking value from the other app.

When you select a read-only field for the mapping and then select the mapped field from the other app, the icon in the center will change to indicate a one-way sync with the source being the chosen read-only field.

Below is an example of the "ID" field from Notion mapped to a "Notion ID" field in Airtable. When a new record is created in Notion (left), its ID will be sent to Airtable's "Notion ID" field. But if you manually change the "Notion ID" in Airtable, the change will not be synced.

Existing Data

Byteline allows you to sync your existing data for the tables configured for the sync. Simply choose the direction in which the data should be synced by selecting one of the arrow buttons on the screen below.

Once the direction is selected, click the "Save & Proceed" button to continue.

Preview (for existing data)

On the next screen, you'll see a preview with a summary of the records that will be impacted for each table. This includes the number of records that will be created, updated, and deleted for the selected CMS systems.

Note: The sync hasn't started yet. This is just a preview of what will occur once the sync begins.
Records to be deleted

When syncing existing data, some records may be marked for deletion. Byteline gives you the ability to review these records in advance, providing peace of mind by ensuring that only expected records are deleted.

To view the details of these records, click the red-underlined link for each "Will delete items" value. This will open a pop-up displaying the records to be deleted in a table format.

You can also export these records as a CSV file for backup purposes.

Start Sync

After you're satisfied with the Preview results, click on the Start Sync button. 

Once the synchronization is complete, a message will appear on the screen saying, Historical data sync completed successfully! and Sync successfully turned live! Changes will actively sync. After a few seconds, you will be automatically redirected to the Change History page. 

View Records Sync History

Byteline allows the users to view the record-level history of all the data synchronization made between CMS systems with ease. 

On the Change History page, you can view the history of any of the changes made in both Airtable or Webflow. For example, if you make any change in one of the CMS systems, it will be automatically reflected on the other system that you have connected for data synchronization.

In this case, whether you make any changes in Airtable or Webflow, it automatically changes in the other one. You do not need to make changes in both tables manually. 


How did we do?