LiveChat (Text) automation · runs daily
Tag and archive finished LiveChat chats
At the end of the shift the My chats list still holds a dozen finished conversations, and each one needs a topic tag and a Close and archive click before Archives and the tag reports show anything useful.
Cotlet does it in your own LiveChat (Text) account with list_chats, get_chat, list_tags, tag_chat and archive_chat, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can LiveChat (Text) do this on its own?
LiveChat offers tag suggestions on the Team, Business and Enterprise plans once you have tagged at least 100 chats (checked 17 Oct 2026). A suggestion still needs an agent click per chat. The official MCP can list a chat's tags but not set them, and the Agent Chat API has tag_thread, which you call with your own token and code.
How you do it in LiveChat (Text) today
- In the Chats section, an agent opens a finished chat in My chats and clicks the Add tag link at the bottom of the page, then picks one or more tags from the list.
- Tags come from Settings > Tags, where only admins and the owner can add them, up to 70 characters each, optionally limited to one group.
- The agent then hovers over the customer name and clicks x > Close and archive, or opens the three dots menu and chooses Stop this chat > Stop chat.
- When an agent archives an untagged chat, LiveChat can show a short reminder to tag it first, so the tag is a manual step on every conversation.
- Later, Archives filters by Tags with Match all or Match any, which only helps if the tagging was done and done the same way each time.
How to tag and archive finished LiveChat chats
Go through my open chats in LiveChat that the customer left. Tag each with the topic from the tags we already have, then close and archive it. Leave chats that are still active. - 01
Find chats that are over
list_chats reads My chats and your agent keeps the chats where the last message is from the customer long ago or the customer said goodbye. Active conversations are never touched.
- 02
Learn the tag list first
list_tags returns the tags your role can see, so the agent only uses names that exist. It never invents a tag, because creating tags is an admin task in Settings > Tags.
- 03
Read before tagging
get_chat returns the transcript, and the agent picks the tags that match what was asked, for example refund or shipping. A chat that fits no tag is listed for you.
- 04
Tag, then archive
tag_chat adds the tags and archive_chat closes the chat. Tags go first, so a stopped run leaves a tagged chat and never an archived chat without a tag. Closing ends the chat for the customer, so it waits for your OK by default.
- 05
Report what was left
Chats with no fitting tag, and chats that had new messages in the meantime, stay open and come back in the summary.
What you get back
Open chats checked: 14
Tagged and archived 11, e.g. PJ0MRSHTDG tagged refund
Left open because the customer is still writing: 2
Left for you, no fitting tag: 1 ("question about a reseller contract") Other ways to ask
- Every evening, tag chats from the last 24 hours that mention a refund with the refund tag, but do not archive them.
- List the archived chats from last week that have no tag at all and tag them from the transcript.
- Show me how many chats got each tag this week, using Archives, and name the busiest topic.
What LiveChat (Text) allows, and what to know first
- LiveChat tags are created in Settings > Tags by admins and the owner, with a name of up to 70 characters, so a non-admin account can use tags but not add new ones.
- A tag can be limited to one group; only agents in that group see it, while admins and the owner see all tags.
- Archives has a Tags filter with Match all and Match any, so a tag set once can be searched later by one topic or by a combination.
- Tag suggestions start after you have tagged at least 100 chats and are offered on Team, Business and Enterprise.
- Inactive chats, greyed out at the bottom of My chats, do not count toward the concurrent chats limit.
archive_chat asks for your OK by default. To run it daily without you, switch confirmation off for that tool in your dashboard.
Sources: LiveChat Help: Using tags for chats and tickets · LiveChat Help: Chats section · LiveChat Help: Archives section explained · Text Platform: MCP server
Call tag_chat from a script
curl -X POST https://cotlet.dev/api/v1/livechat/chats/PJ0MRSHTDG/tag \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"add":["refund"]}' {
"chat_id": "PJ0MRSHTDG",
"added": [
"refund"
],
"removed": [],
"tags": [
"refund"
]
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is livechat_write → tag_chat. Example data.
Schedule it in n8n, Make, Zapier or cronLiveChat (Text) tools this automation uses
| Tool | Parameters |
|---|---|
| list_chats | list, limit, cursor |
| get_chat | chat_id |
| list_tags | none |
| tag_chat | chat_id, add, remove |
| archive_chat | chat_id |
Frequently asked questions
Is it safe to connect LiveChat (Text) to Cotlet?
Yes. You sign in to LiveChat (Text) yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get LiveChat (Text) once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to LiveChat (Text).
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with LiveChat (Text).