Skip to content

Automation examples

1. Start sync automatically at a specific time

Event trigger: Schedule
Action: StartSync
Use case: Automatically start a folderPair synchronization every morning at 8:00 AM.

2. Cancel sync if file transfer size exceeds limit

Event trigger: SyncAnalysisComplete
Condition: SyncTransferSizeMoreThan 1 GB
Action: CancelSync
Use case: Prevent large sync operations by canceling any sync that transfers over 1 GB of data.

3. Stop sync if too many files are deleted

Event trigger: SyncAnalysisComplete
Condition: SyncDeletedFilesMoreThan 100
Action: StopCurrentSync
Use case: Stop syncing if over 100 files are scheduled to be deleted to prevent accidental data loss.

4. Trigger a webhook after sync completion

Event trigger: SyncComplete
Condition: FolderPairPreviousSyncOlderThan 24 hours
Action: WebHook (send sync details)
Use case: Notify a system via a webhook about the sync completion, including information such as the number of transferred files or sync duration.

5. Disable scheduled sync when Wi-Fi disconnects (Android only)

Event trigger: WiFiDisconnect
Action: DisableSchedule
Use case: Disable scheduled syncing when the device loses a Wi-Fi connection to save mobile data.

6. Create backup after folder pair sync completes

Event trigger: SyncComplete
Condition: FolderPairPreviousSyncState "Success"
Action: CreateBackup
Use case: Automatically create a backup of the app’s database after every successful sync of a specific folder pair.

7. Start sync when connected to a specific Wi-Fi network (Android only)

Event trigger: WiFiConnect
Condition: SSIDIdentifierIs "MyHomeNetwork"
Action: StartSync
Use case: Automatically start syncing when the device connects to a specific Wi-Fi network (e.g., home or office).

8. Cancel sync if too many files are transferred

Event trigger: SyncAnalysisComplete
Condition: SyncTransferFilesMoreThan 500
Action: CancelSync
Use case: Cancel the sync if the analysis shows that over 500 files are queued for transfer.