Overview
This template schedules file cleanup on selected devices or groups, then creates a bulk deletion task at the chosen time. It supports deleting specified files, clearing a folder's contents, or removing a folder with its contents. The workflow also sends a result email, making it suitable as a repeatable operating step for routine device storage cleanup.
The Problem This Workflow Solves
Teams responsible for managed devices often need to remove retired content, temporary files, or outdated folders from a known device path. They must choose the device scope, confirm the folder path, select the cleanup method, and know whether the task finished or needs follow-up.
- Defined scope. The workflow targets specific devices, groups, or all devices from one configuration.
- Clear result email. It sends a result message that helps teams review success, warnings, or failures.
- Reduced manual checking. It waits for task completion and then summarizes device results in pages.
Who This Is For
- Device operations teams. They clean up managed devices on a schedule and need a consistent deletion process.
- Teams managing shared groups. They can apply cleanup to selected groups, including subgroups under a parent group.
- Administrators handling temporary content. They remove files left after events, training sessions, or projects end.
What Sets This Workflow Apart
- Flexible cleanup modes. It supports deleting files, clearing folder contents, or removing the whole folder.
- Scope matching. It resolves directly named devices and group selections before creating the deletion task.
- Repeated status checks. It checks deletion progress every minute and stops when devices are no longer processing.
- Paged result review. It reads task results in pages and keeps warning and failed device details for the email.
How It Works
- Prepare the cleanup scope
- The workflow reads the selected devices, groups, folder path, cleanup mode, and notification addresses, then checks that the configuration is usable.
- Create the deletion task
- At the scheduled time, it resolves the target scope and submits the bulk deletion task for the chosen files or folder path.
- Wait for completion
- The workflow checks task progress every minute and stops waiting when no target devices are still processing, or after 15 checks.
- Summarize and send results
- It reads the deletion results in pages, counts successes, warnings, and failures, then sends the report to valid email addresses.
What You'll Need
- AirDroid Business and Gmail credentials
- Authorized connections are needed so the workflow can create deletion tasks and send result emails.
- Target scope and cleanup settings
- Enter device names, group names, or both, plus a full folder path and the cleanup method.
- Notification email addresses
- Provide one or more valid recipient addresses for the result email.
- Schedule setting
- Select the execution time, and choose one-time run only when the cleanup should happen once.
How to Use
- Step 1. Connect the required accounts
- Step 2. Set the schedule
- Step 3. Enter the cleanup details
- Step 4. Confirm the scope carefully
Bind the AirDroid Business and Gmail credentials so the workflow can run the task and send the report.
Choose when the cleanup should run, and select a one-time run only if you need a single execution.
Provide device names, group names, a full device path, the cleanup mode, and the recipient email addresses.
Check that the path and selected targets are correct before running, because deletion cannot be undone.