Loading

Mass Unfollow Records in Chatter With Salesforce Data Loader

Publiceringsdatum: Jul 7, 2025
Beskrivning

Users have the ability to follow a maximum of 500 records in Chatter. 

See also:
Increase limit on the number of records or Users that you can 'Follow' in Chatter

Lösning

Data Loader can be used to run an export on the 'Entity Subscription (EntitySubscription)' object and generate a list of the records that are currently followed. That export file can then be used to perform a delete operation against the same object to effectively unfollow those records. For a Data Loader installation guide, you may watch our Salesforce Support YouTube video How to Download and Install Data Loader.

A. Export the records that the impacted user(s) is currently following. Make sure to include the following fields:
 

Id
ParentId
SubscriberId


ParentID refers to the record that the user is following.
SubscriberId refers to the User who is following the record.

 

To Export:

 

  1. Launch the Data Loader.
  2. Click Export.
  3. Login using Salesforce credentials.
  4. Click Next.
  5. Select Show all Salesforce objects.
  6. Click Entity Subscription (EntitySubscription).
  7. Choose the target for extraction and make sure to specify the name of the export file and its location.
  8. Click Next.
  9. Select the fields. Select at least ID, ParentID and SubscriberID.
  10. Add a condition, by selecting the SubscriberID equals to UserID of the User who is following the record(s).
  11. Click Add Condition.
  12. Click Finish.
  13. Click Yes on the prompt.

Note: Salesforce recommends that you save a copy of this file to a safe location as a backup of the current data in the organization. 

Review the exported file to delete the rows for records the User wants to continue following. 



B. Use the exported file to mass unfollow the records using 'Delete' in Data Loader.

 
  1. Launch the Data Loader.
  2. Click Delete.
  3. Select ‌Show all Salesforce objects.
  4. Click Entity Subscription (EntitySubscription).
  5. Browse for the .csv file that you extracted.
  6. Click Next.
  7. Click Ok on Data Selection pop-up.
  8. Click Create or Edit a Map.
  9. Map the ID or simply click on Auto-Match Fields on Columns.
  10. Click OK.
  11. Click Next.
  12. Select the directory where your success and error files will be saved.
  13. Click Finish.
  14. Click Yes on the warning.


Note:  You can do the opposite to mass follow records if you have a .csv file set up properly with the correct Parent Id & Subscriber IDs while keeping your Follow Limit in mind upon import.

Knowledge-artikelnummer

000385905

 
Laddar
Salesforce Help | Article