Now that you have a running snap-in, you can start an import.
Go to DevRev app and click AirSyncs > Start AirSync > Your snap-in.
Starting an import begins with establishing a connection to the external system. The AirSync snap-in prompts for specific information needed to create this connection. Afterwards, the snap-in verifies that the connection is successful and you should see a success message.
Once the connection is established, the snap-in collects information from the external system about the data unit to be exported. This phase is called external sync units extraction. An external sync unit is the data unit from the external system to be imported to DevRev. At this point, the DevRev app prompts the user to select an external sync unit from the list.
The snap-in then extracts data from the external system.
Afterwards, the DevRev app requests the mapping of data from the external system to DevRev. The user can decide which fields from each system should match.
Once mapping is complete, the snap-in saves the data to DevRev.
Finally, the snap-in streams any possible attachments from the external system to DevRev.
The process described above is called the initial sync. In all subsequent syncs, the first two steps are skipped.
The snap-in constantly communicates with the AirSync platform, which manages its behavior. When an action occurs in the DevRev app, AirSync sends a message to the snap-in with details about the event. The snap-in performs an action based on the event type. For example, when a user starts a new import for the first time, AirSync instructs the snap-in to perform an external sync unit extraction. The snap-in carries out the task and sends back available sync units to the AirSync platform.