---
schema_version: "1"
id: a7d134c59d5091cf05aab9626abcde5c0a49e48de46c5953867ac2cc06b0bb5f
title: Automate Cleanup for Custom Recommendations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/sales_workspace_clean_custom_recommendations_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.sales_workspace_clean_custom_recommendations_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 523dc9087b5919551ba9691919fc10d76832a3a2a478e3eceddd1d661682c997
description: To automatically remove expired or declined recommendations from the feed, activate a Clean Custom Recommendation flow.
products:
  - Sales Cloud
release: "264"
---
# Automate Cleanup for Custom Recommendations

To automatically remove expired or declined recommendations from the feed, activate a Clean Custom Recommendation flow.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Agentforce 1 Sales</strong> editions with the Sales Foundation add-on.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="vertical-align:top;" id="d56317e66">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d56317e66 ">To create and modify flows:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d56317e66 ">Manage Flow</td>

          </tr>
        </tbody>
      </table>

Configure an expiration date formula in your custom recommendation flows.

Keep your feed relevant by clearing out expired and declined recommendations. This flow uses the expiration date defined in your creation flows. Use a separate cloned cleanup flow for each custom signal type.

1. From Setup, in the Quick Find box, enter and select **Flows**.
2. Find and select **Clean Custom Recommendations** and then click **Save As New Flow**.
3. To configure the custom signal of which you want to remove the expired recommendations, click **Get Custom Definition**.
4. For the Name field, replace the value with the developer name of the custom signal.
5. Click **Save** and **Activate**.