How to bulk delete contacts
This article covers how you can bulk delete contacts in Bird using a file upload.
Go to Workflows > Data flow. You can also access it from Admin console > AI and Automation > Data flows
Create a new data flow with following source and destination
Source: CSV Upload
Destination: Delete contact

Once created, go to Configuration > Source
you can upload a csv containing either email, phone or contact IDs to be deleted
You can export contacts from a list or segment or the contacts page, and upload here in the data flow.

Click on Save Configuration after upload
Move to Transformation section and click on Open transformation editor

Then, click on JSONata under Transformation

Adding JSONata
You will need to add the following in JSONATA expression if your key identifier is phonenumber:
{
"identifierKey": "phonenumber",
"identifierValue": "+" & $.Phone
}
If your key identifier is email, then use below
{
"identifierKey": "emailaddress",
"identifierValue": $.Email
}
You can also delete contacts based on simply Contact ID irrespective of any identifier, in this case you would need to change the column name on csv to ID and use below:
{
"contactId": $.ID
}
Once done click on Save.
Enable and Run the data flow
Click on Enabled and then click on Run Now
You can Edit data flow to upload more files under Source and then again click on Save configuration > Run Now.

Last updated
Was this helpful?