Idealista automation
Deactivate a rented Idealista listing and archive its contacts
The contract is signed, but the ad is still on Idealista and the messages keep coming. Taking it down is one click; telling the people who already wrote and clearing their conversations is the part that gets skipped.
Cotlet does it in your own Idealista account with list_listings, list_contacts, reply_to_contact, deactivate_listing and archive_conversation, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Official options
Can Idealista do this on its own?
Idealista lets you deactivate an ad only in your account or by phone, with no API (checked 12 Oct 2026). Ads also lapse on their own when not renewed, after 180 days for sale and 60 days for rent, but that leaves a rented flat listed for weeks and does nothing about the people who already wrote.
By hand
How you do it in Idealista today
- Click Iniciar sesión, open Tus anuncios and choose Desactivar tu anuncio; with several ads, select the property and open Gestionar tu anuncio first.
- Idealista also lets you take the ad down by phone, calling from one of the numbers you put in the listing.
- In the idealista/tools Inbox, search for the property to find every conversation about it and answer the ones still waiting.
- Archive each finished conversation so the Activas list only holds live leads. With several rentals closing in a month, the ad stays up for days and the same "is it available?" keeps arriving.
With an agent
How to deactivate a rented Idealista listing and archive its contacts
Prompt
The Lisbon room is rented: tell everyone still waiting about it, take the ad off Idealista and archive its conversations. - 01
Pin down the right ad
list_listings finds the active ad by address or reference. When the same property is listed twice, for sale and for rent, the agent asks which one closed rather than taking both down.
- 02
Tell the people still waiting
list_contacts for that listing shows every conversation. Contacts with an unanswered question get one short note that the property is no longer available, sent with reply_to_contact after your OK; people who never wrote back after your last reply get nothing.
- 03
Take the ad down
deactivate_listing removes it from search results right away. This step does not ask first: it messages nobody and the ad can be reactivated later.
- 04
Archive, but keep open threads
archive_conversation clears the finished conversations. Contacts whose thread mentions another of your properties, or a visit still to come, stay in the active list and are named in the report.
What you get back
Example data
Arroios room (108274590): deactivated at 10:12, no longer in search results.
7 conversations about it.
Told 3 people still waiting that the room is rented, after your OK.
Archived 6 conversations.
Kept active: Inês M., she also asked about the Graça room. Other ways to ask
- Every Friday, deactivate the Idealista listings I marked as signed in my sheet and archive their conversations.
- The Calle Fuencarral flat is sold: deactivate it but leave the conversations as they are.
- Reactivate the Ruzafa ad; the buyer pulled out.
Before you automate it
What Idealista allows, and what to know first
- Idealista recommends taking an ad down (dar de baja) once the property is sold or rented, and a deactivated or expired ad can be reactivated later from the website or the idealista app.
- Idealista sale ads expire every 180 days and rental ads every 60 days unless renewed, so a rental left up after signing can keep drawing contacts for up to two months.
- An archived Idealista Inbox request can be brought back from the option at the top right of the conversation.
reply_to_contact asks for your OK by default. To run it on a schedule without you, switch confirmation off for that tool in your dashboard.
Sources: Idealista help: Modificar tu anuncio · Idealista help: Cómo dar de baja tu anuncio · Idealista help: Cómo y cuándo renovar tu anuncio · idealista/tools help: Inbox
REST
Call deactivate_listing from a script
curl
curl https://cotlet.dev/api/v1/idealista/deactivate_listing \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"listing_id":"108274590"}' Example response
{
"listing_id": "108274561",
"status": "inactive"
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the tool is idealista_deactivate_listing. Example data.
Schedule it in n8n, Make, Zapier or cronTools
Idealista tools this automation uses
| Tool | Parameters |
|---|---|
| list_listings | status, operation, limit, cursor |
| list_contacts | listing_id, state, since, cursor |
| reply_to_contact | contact_id, body |
| deactivate_listing | listing_id |
| archive_conversation | contact_id |
Give your agent access to Idealista.
Free 7-day trial with 5,000 credits, no card needed. Cotlet is independent and not affiliated with Idealista.