How to bulk delete contacts

Note: You will need to have data flows enabled for this in your workspace

  • Go to Workflows > Data flow. You can also access it from Admin console > Workflows > Data flows

  • Create a new data flow with following source and destination

  1. Source: CSV Upload

  2. Destination: Delete contact

  • Once created, 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
}
  • Now, you can export contacts from a list or segment or the contacts page, and upload here in the data flow.

  • Click on Save and then click on Run Now

  • You can Edit data flow to upload more files and then again click on Save > Run Now.

Last updated

Was this helpful?