# CRM - Automation to Archive Opportunities

### In this article, you will learn how to set up an automation in your CRM to archive Opportunities, preventing them from continuing to be affected by automations and future updates. This practice will also help reduce the number of Opportunities in your pipeline, ensuring that only active Opportunities are considered in the CRM.&#x20;

{% hint style="danger" %} <mark style="color:red;">**Archiving an opportunity will not delete it, but it will no longer be able to participate in any automated system in SprintHub.**</mark>
{% endhint %}

{% hint style="danger" %} <mark style="color:red;">**It is not possible to unarchive an Opportunity through automations; this process must be done manually. To learn how to unarchive it, follow the instructions provided at the end of this article.**</mark>
{% endhint %}

1. **Create an Automation:**

* Access your CRM: Through “Find Services”. Or just type the name, and the function appears.
* Go to the Automations section.
* Start creation: Click "Create Automation" using the "+" button.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe0IEg9LHx1E_l0f429TsPUB5NNma9R0nrASoEDdHgP5yPmECBcA0qPV_aRFMGEKPS9gIAucPXBZAMW0ljiESKxLMPqVEWTzMEvTMNM-yT1T5jHpk4Hv_b593NRMF0xDKh8MVnByirtcTE4ky7ZnmR1bvo?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd2qF0YzJTLT2rBD9WOnXY3ahsmlhAOpWXOvJ_rCa6U_2Z9IMIp7oYnA4BwLWpjVZDQ0VYFNytQAIG9TiaWaMo-p7l6P5oM0WrHBlqeFvRrby1z1J7EjDI2rHdy99akKjT3yjjAhilPWSA_fMYr51Hvqwh9?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

2. **Configure and Save:**

* **Enter a Title:** Give the automation a descriptive name.
* **Set up a Trigger:** You can use a trigger of your choice.
* **Configure the Condition:** You can use a condition of your choice.

> But note: without using triggers, it will be necessary to enable condition checks. These checks will occur at varying time intervals, which can range from minutes to hours, depending on the number of automations and leads in your instance.

* **Choose the Action:** Archive Opportunities.
* **Configure the Action.**
* **Describe** exactly what the action will do.
* **Save the Automation:** After configuring, save the automation.

{% hint style="info" %}
*<mark style="color:blue;">In this example, no triggers or conditions were used, because the archiving will be triggered directly by the movements on the Opportunity Cards themselves.</mark>*
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXchT7PK_PrAHFBTuMCQbTgt9f4ytzfiq3XKRqvAN3M7qPOgjQGSMzTHWAnQWjgk9aZhpLZp3kffSD93fIlXTmR-q2UHcxYBIfy36OgwP7g7Lwuq3osY2YO7LCYfuGXWJgKEc90_tXGBphBHooVRtdfUTUc?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcSsROARVeHvZK0SjDNWOWux-IKdk4-YrQ1ok1GTFb--QbkX_VEpIZR8RmbZFxy9QPflwXtNNE3ZA8yNYogA1zvH0BJ7i73BKfXd-jwYRvh_QzW1mNzTHtCmA8enM6icgdw_4jtwBaFYYHxEO_HOaVqu_eY?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcYCpEGr3RGLoA1aGxrHkdfboatjLd7W0rmpoMAd5fVar9PkKrnz7tvic9YlOxBKbykSdsHvXuqo3vrOyiM63qeNNDKOskp2FH54qXTJ5zjAtZKCb4tyxe8kKq7vWRgrZZt3DDIT_0UwffprpFPyYfFSVs?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

3. **Run the Automation:**

* **Start the Automation:** Press “play” to begin execution.

*Done! Your automation is configured and running.*

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeZdJyLuRTmTsbCOlotYPqkpUv-l_1Uft1W0onLZLbOA3COaXCtFAm0DF3TY_kxNfEzdLwNLVef6VNNIDwcBEcwMcLnL3rZKvGdm-mFMcSueak5372Ks7dLX_eTUMd_JLvbw7-kEObNTYxd7xZKXPcJfRM?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:blue;">To create this automation in the funnel. Switch to the “Funnel Automations” tab and click “+ New Automation.”</mark>*
{% endhint %}

*By following these steps, you will ensure that your Opportunities are archived.*

## **Unarchive the Opportunity**

1. Return to your pipeline screen to view the Opportunities. You can identify archived Opportunities by the icon on the Card, and you can also filter specifically to display only archived Opportunities. After that, click the Opportunity title;
2. Click the settings ⚙️ and then click “Unarchive”. To confirm, click “Yes”

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfyhcfQIO4ZcV-jg6YkqwNZpAIVpvvCnISidW0IEA7dpNn-ahKbtRu0v0XVzWMr9FlmPM3EXW77Dm3LoGSZ8SSsH5S1hEdKiKn4iEslofTSCFcqlTq20IH0_OFJL0uJSemnlK0WSCvYTWmixwjRKGTbgFpb?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdupjgYX6weEBntuCnWypZb2HjSfdH_IaP3k3awNjuQ4wxuQjn2XQJqWArfpeYTe8uvjPpFEX7rn1pf3jT2uGlsJIp9oyPGAFl3YidNNhl7XQ16SFZ18iv966o76PyhYldSa7X1jOG7UW_QGpOfKR50XyNl?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXehARraJHJh3seSoCh3t5eIa_zPkZObCCrREdDb_TpLEGnDZid6gAC4b8mO5qyV20K_r9iXcPYHhVCoV5jdaIX3Bwst0WtOhK9uLmfokt3JhDk0dRXMbj45sSnj8o7iRPi6S8vYfel3yqShZcYpYEynW9j1?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf33UczcE_tpQxxhli2P_hTd1cE_GnMoH-ifpqIbYq-moh4HkdHiyFyE20eXv05Uyf-I2fufTkzlHMD4AlmN8TrM5MzrrDvt-SvCdwW759W7F_6lsjbrDT0OsmAuDuWQOXfZoMc0NYysuvIic9yMTrkvro7?key=evyfUvZDYjTapcJA2q2E2g" alt=""><figcaption></figcaption></figure>

*Done! The Opportunity has been successfully unarchived!*
