1. Feature Overview
The Bulk Export and Delete Data feature allows you to export and delete custom activities from your account. You can also delete these activities in a single action, without exporting it. This feature lets you efficiently manage your storage by exporting and removing older data that your business no longer requires.
Key benefits include –
- Simplified Data Management: Identify and export older records in bulk before deletion.
- Storage Optimization: Free up storage space by clearing unnecessary data while retaining a backup.
Note:
- To export activities from your account without deleting the activity data, refer to Export Activities.
- This feature allows you to export and delete, or delete, up to 200,000 activities in a single request.
2. Prerequisites
- To enable this feature, contact your account manager, or write to support@leadsquared.com.
- You must be an admin to access this feature.
3. How it Works
- In the first step, select if you want to export and delete the data, or only delete the data (without exporting a backup).
- Then, select the custom activity you want to export and/or delete.
- Select a date range date range (30 days, custom range, etc.) outside of which you want to export and/or delete this activity.
- Only activities modified outside the selected date range will be exported and/or deleted.
- Activities modified within the date range will remain in your account.
- For example, suppose today’s date is April 30th and you want to export and delete the “Document Collection” activity, and you select a 30-day date range. In that case, only activities modified before April 1st (more than 30 days ago) will be exported and deleted. Activities modified within the last 30 days, regardless of their creation date (such as a Document Collection activity posted on February 15th but modified on April 18th), will remain in your account.
If you choose to export and delete the activities, a CSV file will be generated in your LeadSquared account. You can download it anytime within 30 days from the date the request was created.
If you choose to delete the activities without exporting them, they will be permanently removed from your account, and no further action will be needed.
4. Create Bulk Export and Delete Data Request
To export and delete data –
- Navigate to My Profile>Settings>Data Protection & Privacy>Bulk Export & Delete Data.
- Click Create, and select Export & Delete.
- From the Activity Type dropdown, select the activity you want to export.
- From the Activities with ‘Modified On’ date older than dropdown, select the date range for which you want to export and delete the activities. Only activities modified outside the selected date range will be exported and deleted.
- For instance, if the current date is April 30th and you select 30 days, activities modified before April 1st will be exported and deleted.*
- You can also select Custom and enter a custom date range to export and delete activities modified outside this range.
- Once you’ve entered the relevant information, click Export and Delete.
Note:
- *Activities modified within the last 30 days, regardless of their creation date (e.g., Document Collection activity posted on February 15th but modified on April 18th), will remain in your account.
- You can select only one custom activity type at a time.
- Core Activities, Service CRM Ticket Activities and Account Activities will not be displayed in the Activity Type dropdown.
On the Confirm popup –
- You’re shown a summary of what you’ve selected to be exported and deleted, which includes –
- The activity type and date range you’ve selected
- The data that will be deleted (All Activity field data and All Activity & CFS Attachments)
- Before proceeding with data deletion, click Confirm.
- This is to confirm your understanding of region-specific compliance guidelines.
- Then, on the Request In Progress popup, click Okay.
5. Create Delete Only Request
To delete your data without exporting a backup of it –
- Navigate to My Profile>Settings>Data Protection & Privacy>Bulk Export & Delete Data.
- Click Create, and select Delete Only.
- From the Activities with ‘Modified On’ date older than dropdown, select the date range for which you want to delete the activities. Only activities modified outside the selected date range will be deleted.
- For instance, if the current date is April 30th and you select 30 days, activities modified before April 1st will be deleted.*
- You can also select Custom and enter a custom date range to delete activities modified outside this range.
- Once you’re done, click Delete.
On the Confirm popup –
- You’re shown a summary of what you’ve selected to be exported and deleted, which includes –
- The activity type and date range you’ve selected
- The data that will be deleted (All Activity field data and All Activity & CFS Attachments)
- Before proceeding with data deletion, click Confirm.
- This is to confirm your understanding of region-specific compliance guidelines.
- Then, on the Request In Progress popup, click Okay.
6. Bulk Export & Delete Data Grid
After creating the request, it will appear on the Bulk Export & Delete Grid with the following details –
Element | Description |
Entity Name | Name of the activity. |
Request Type | Shows whether the request is for export and deletion, or deletion only. |
Created By | The name of the user who created the request. |
Created On | The date and time when the request was created. |
No. of Records | The number of activities in the request. |
Status | The status of the request –
|
You can also perform the following actions from the actions grid –
6.1 View Report
Once the request is completed, you can download and view a report anytime.
- On the Bulk Export & Delete Data grid, under Actions, click .
- Select View Report. The report will be automatically downloaded as a CSV file to your device.
6.2 Download CSV File
Once the export request is completed, you can download the export data as a CSV file.
- On the Bulk Export & Delete Data grid, under Actions, click .
- Select Download, and on the Download Exported Data popup, click Download. The system will download the data as multiple CSVs.
6.3 Revoke Request
All requests are processed during off-business hours. You can revoke the requests you’ve made when it’s in the ‘In Queue’ status.
- On the Bulk Export & Delete Data grid, under Actions, click .
- Select Revoke, and on the Message popup, click Yes, Revoke Request.
7. Notifications
When you create a request, you’ll receive a confirmation email (to the email ID used to create your LeadSquared account) with details such as the activity name, the date and time the request was created, the total number of records, and the request status. The email subject will specify the status and type of request (Export & Delete or Delete).
When the request is successfully executed, all the admin users in your account will receive an email. The subject of the email will indicate the status of the request, in this case, “Success.”
If a request fails to execute, only the user who created it will receive an email. The email subject will indicate the status of the request, in this case, “Failed.”
8. Errors
8.1 Exceeding Limit Within a Single Request
A maximum of 200,000 records can be processed per request. If you attempt to process more, the request will not proceed, and you will be prompted to reduce the number of records by adjusting the date range.
8.2 Exceeding Limit While Creating Multiple Requests
You can create multiple export and delete requests on this page, but the total number of records in the queue cannot exceed 1,000,000 (one million). If the queue already contains 1,000,000 records, you will need to wait until the existing requests are processed before creating a new one.
If you attempt additional requests, an error message will appear – “Multiple requests to export and delete data are in queue. Please wait till the existing requests are processed.”
8.3 Another Request Already Exists
You can create only one request at a time for a single activity type. For example, in the image below, “Document Collection” cannot be processed because an existing request to export and delete the this activity is already in the queue. Attempting to create another request for the same activity type will result in an error message – “Another request for the same Activity Type already exists.”
8.4 Access Denied
Only admins have access to the Bulk Export & Delete Data page. If users with other roles attempt to access the page, they will see an “Access Denied” error message.
Any Questions?
Did you find this article helpful? Please let us know any feedback you may have in the comments section below. We’d love to hear from you and help you out!