Automation
Fystack's automation tools help businesses streamline their crypto operations, reduce development time, and minimize operational overhead. Instead of building complex fund management systems from scratch, teams can focus on their core business while ensuring secure and efficient treasury operations.
Key Benefits
- Development Efficiency: Implement automated fund movements without writing complex blockchain monitoring code
- Operational Excellence: Reduce manual treasury operations and minimize human error
- Team Management: Simplify fund consolidation across multiple business units and wallets
- Risk Reduction: Automate the movement of funds to secure storage based on configurable thresholds

Sweep Tasks
A sweep task automatically transfers funds from source wallets to a destination wallet based on configured triggers.
Common Use Cases
- Exchange Operations: Automatically sweep user deposits to hot wallet, cold storage
- Payment Gateway: Process merchant settlements to operational wallets
- Treasury: Consolidate funds from multiple business wallets
- Risk Management: Move funds from hot wallets to secure storage
Read more about automation use cases and best practices in our detailed guide.
Creating Sweep Tasks
During Wallet Creation (API, SDKs)
You can set up automatic sweeping when creating a new wallet through our API or SDKs:
// Create wallet with new sweep task
await sdk.createWallet({
name: 'User Payment Wallet',
walletType: WalletType.Standard,
sweepTaskParams: {
minTriggerValueUsd: '100.00',
destinationWalletId: '123e4567-e89b-12d3-a456-426614174001',
destinationType: 'internal_wallet'
}
})
You can also attach an existing sweep task to reuse the same configuration across multiple wallets:
await sdk.createWallet({
name: 'User Payment Wallet',
walletType: WalletType.Standard,
sweepTaskId: '987f6543-e21c-43b2-a654-321098765432' // Reuse existing task
})
This simplifies management as updating one sweep task affects all attached wallets.
See Create a Wallet for complete wallet creation details.
Create Sweep Task Manually

- Navigate to Automation > Add Sweep Task

- Enter task name and select "periodic" strategy

- Trigger Configuration
- Minimum Trigger Value (USD): Balance threshold that triggers a sweep
- Check Frequency (Seconds): How often to check source wallets
Wallet Configuration
- Source Wallets
- Select wallets to monitor for sweeping
- Multiple wallets can be selected

- Destination Wallet
Choose either:
- Internal Wallet: Select from workspace wallets
- Address Book: Use saved wallet addresses

Source wallets are automatically excluded from destination options to prevent circular sweeping.
Updating Sweep Tasks
You can modify existing sweep tasks:
- Change Destination Wallet
- Click on the task you want to update
- Click on the destination wallet dropdown
- Choose a new destination wallet

-
Adjust Trigger Settings
- Modify minimum trigger value
- Update check frequency
-
Task Status
- Toggle the task status switch to activate/deactivate the sweep task
- Deactivating a task temporarily stops all automatic sweeping
- Reactivate anytime to resume sweeping with the same configuration

Deleting a Sweep Task
Before deleting a sweep task, ensure that:
- All attached wallets have alternative sweep configurations if needed
- Any ongoing sweeps are completed
To delete a sweep task:
- Navigate to the sweep tasks list view
- Find the task you want to delete
- Click the kebab menu (⋮) on the right side of the task
- Select "Delete" from the menu options

Once deleted, the sweep task will be permanently removed and all automatic sweeping for attached wallets will stop immediately.
Best Practices
- Test with small amounts first
- Start with higher check frequencies for critical operations
- Verify destination addresses before activating
- Monitor initial transfers to ensure correct setup