# Chatbot - Unarchive Contacts

At SprintHub, reactivating archived Contacts is simple: just contact them again through support and go through a chatbot configured to perform automatic unarchiving.

{% hint style="danger" %}

### **Important:**

The Contact will only be unarchived if the instance is still within the Lead limit allowed by the subscribed plan.
{% endhint %}

To learn more about how to archive a Contact, see the article: **Contacts - How to Archive**.

{% content-ref url="/pages/575ec9f94362c885255d6aed924aa4de1c8ac697" %}
[Leads - Archiving Leads in SprintHub: How It Works and Necessary Precautions](/en/topics/general/contacts/leads-common-questions/leads-archiving-leads-in-sprinthub-how-it-works-and-necessary-precautions.md)
{% endcontent-ref %}

### How to configure the chatbot to unarchive Contacts

Follow the steps below to create and configure your chatbot.

#### 1. Create the Chatbot

Access the **Chatbot** module through **“Find Services”** or type the name in the search to locate the feature.

To create a new chatbot, click **“+ New”**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcTLjhJcitAz1hZShH7N5sUaKkd36npEvHaoXxC8Csuin_zA0oYSzCwfJEQlfBRCwbwnSMdO_O_YAMxU37iGG3JrQixklzjWTsMYPLmRnGwRJpMRRBR5uc5fRMw7aepRf-6m8jB?key=2FhNYqUJB_XhuZ6qFmWoWBuA" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfsssmyX1Rad3rqu8ZP8UurFGjxn5PgRgRBV0e69AZIexcT92Ga9Ut3oA_toX_6qYqYIu6WbO768dEZOboq54U80ipLAHH-eCraLw21UgUP2lY7tIUOg2tAd5bD4xO9CGi-UsEj?key=2FhNYqUJB_XhuZ6qFmWoWBuA" alt=""><figcaption></figcaption></figure>

**To learn more about how to create a chatbot, see the article below:**

{% content-ref url="/pages/814f3ed48090f41c2a4a03be93aacb12f5def0df" %}
[Chatbot - First Steps](/en/topics/convert/chatbot/chatbot-tutorial-videos/chatbot-first-steps.md)
{% endcontent-ref %}

***

#### 2. Configure the Chatbot

Fill in the information below:

**Title**\
Set a descriptive name to easily identify the chatbot.

**Description**\
Add a description detailing the chatbot’s purpose and operation.

**Trigger**\
Configure when the chatbot will be triggered. At this stage, it is possible to define:

* Triggers;
* Conditions;
* Business hours;
* Startup settings;
* Other additional options.

These settings ensure that the chatbot works according to the desired strategy.

After configuration, click **“Open Builder”** to create the bot flow with its actions and conditions.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXePBQVTts_u-P7XeNJofOakNSZomTlr3nVmxl-nbEu6W_RSNIz1wzGaQgH_F9ztdeTir7jWwljZ81SOHMRBNdsT0CBnxMlvsvJx6ZR6b1jXMMwLes7VrRV1QaY17m0P07ZdfbiA?key=2FhNYqUJB_XhuZ6qFmWoWBuA" alt=""><figcaption></figcaption></figure>

#### Important settings

**Allow Leads to chat with the bot multiple times?**\
This option should be defined according to your strategy.

* **YES:** the Lead will go through the chatbot every time the configured trigger is activated;
* **NO:** the Lead will go through the flow only once.

#### **Automatically unarchive the Lead when starting the chatbot?** When selecting **“YES”**, the chatbot will automatically unarchive the Contact.

> **Attention:** unarchiving will only happen if the instance is within the Lead limit allowed by the plan.

### How to use this feature

After configuration, when an archived Lead contacts you again through support and the chatbot is triggered, it can be automatically unarchived, allowing service to resume and new conversion opportunities to arise.

{% embed url="<https://youtu.be/KWE9XAzP5uc>" %}

### Conclusion

The automatic unarchiving feature via chatbot allows archived Leads to be recovered in a practical and automated way, making it easier to resume the relationship with the contact.

However, it is important to monitor the Lead limit available in the instance, as this can directly impact the automatic reactivation of archived Leads.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinthub.com/en/topics/convert/chatbot/chatbot-initial-settings/chatbot-unarchive-leads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
