Sign inGet started

How to bulk delete contacts

Note: You will need to have data flows enabled for this in your workspace
This article covers how you can bulk delete contacts in Bird using a file upload.
  • Go to Settings > AI and Automation > Data flows.
  • Create a new data flow with following source and destination
  1. Source: CSV Upload
  2. Destination: Delete contact
  • Once created, go to Configuration > Source (left-hand panel)
  • 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.