Turn LiveChat transcripts into weekly Linear product issues
Every Monday, find the problems customers raised again and again in live chat, file the new ones in Linear, and rank them in Slack.
Every Monday at 9am, mine the previous week of LiveChat conversations for recurring product problems, file the real ones as engineering work in Linear, and post a ranked summary in Slack.
Trigger: cron, weekly, Mondays at 9am in the org's local timezone. LiveChat has no polling trigger on this platform, so the date range is handled inside the workflow rather than by the trigger.
Step 1. Pull the transcripts. Use LiveChat's List Archives to search archived chats from the previous seven days (last Monday at 00:00 up to this Monday at 00:00). List Archives pages, so read next_page_id from each response and pass it back as page_id on the next call, and keep going until there is no next_page_id. Do not read only the first page, a partial week silently under-counts every theme. Where the archive result does not carry the full message history, call Get Chat to fetch the chat and its thread, and use List Threads for any chat that spans more than one thread. Read what the customer actually wrote and ignore agent replies, canned greetings, and system events.
Step 2. Group the customer messages into themes by the underlying problem being described, not by shared keywords. Count the distinct chats supporting each theme, so one chat that mentions the same problem five times still counts once. Drop every theme supported by fewer than 3 separate chats. That threshold is the guard against noise, and I would rather see three solid themes than fifteen speculative ones.
Step 3. For each qualifying theme, run Linear's Search Issues with the plainest wording of the problem before creating anything. Try a couple of phrasings rather than one, since an existing issue is unlikely to be titled exactly the way I would describe the theme, and consider both open and recently closed issues. If a matching issue already exists, do not file a duplicate: keep the existing issue and carry it into the Slack summary as already tracked. If nothing covers the theme, call Linear's List Teams to resolve the id of our product team, then use Create Issue against that team.
Each new issue should carry: a title naming the problem in plain language a product manager would recognize; a description with a short paragraph describing the problem as customers experience it; the number of separate chats affected; and two or three verbatim customer quotes with the date of each chat. Copy the quotes exactly as written, typos and all. Do not paraphrase them and do not tidy them up, they are the evidence.
Step 4. Work out which themes are growing. Run List Archives a second time over the seven days before the reporting week, paging the same way, and count how many chats in that earlier window match each qualifying theme. A theme with a materially higher count this week than last is growing and should be flagged.
Step 5. Post the summary to Slack with Send a Message in our #product channel. Rank the themes by number of affected chats, highest first. For each theme give the theme name, the chat count, a one-line description of the problem, and either a link to the Linear issue that was just created or a note that an existing issue already covers it. Call out every growing theme explicitly with both numbers, for example 12 chats this week versus 4 last week. Keep it factual and skimmable rather than editorial.
Edge cases: if no theme reaches 3 chats, skip Linear entirely and post a short note to Slack saying nothing cleared the bar this week, with the total number of chats reviewed, so the team still knows the job ran. If LiveChat returns a 429, back off and retry rather than dropping pages. If the product team cannot be found via List Teams, post the summary to Slack with the themes written out in full and say the issues were not filed, rather than filing them into the wrong team.
What does this prompt do?
- Reads every live chat conversation from the past seven days, working from the full transcripts rather than chat titles or tags.
- Groups them into recurring problems and keeps only the ones that came up in at least three separate chats, so one-off complaints stay out.
- Checks your issue tracker before filing anything, so a problem that is already being worked on does not get logged twice.
- Files each genuinely new problem for your product team with the number of affected chats and real customer quotes, then posts a ranked Slack summary that flags anything getting worse.
What do I need to use this?
- A LiveChat account with access to your chat archives.
- A Linear workspace with a product team the agent can file issues into.
- A Slack workspace and a channel where the Monday summary should land.
How can I customize it?
- Change the day and time it runs, or widen the window from one week to a fortnight or a month.
- Raise or lower the three-chat threshold that decides when a recurring problem is worth filing.
- Point the issues at a different team, and send the summary to whichever channel your product team actually reads.
FAQs
Do our agents need to tag chats for this to work?
Will it file the same issue again every week?
What if we only get a handful of chats in a week?
How does it know a problem is getting worse?
Why quotes instead of a summary?
Related templates
When your flight moves, your calendar times get corrected automatically and you get a Slack note naming the meetings you're about to miss.
Every 15 minutes, forwarded phishing reports get traced back to the server that really sent them, with a verdict in Slack and the worst senders reported.
Every weekday at 7am, sign in to the tender portals you track, filter new notices against your bid criteria, and open a deal for the ones worth chasing.
On the first Monday of every month, find the alarms nobody watches and the monitoring you quietly pay for, then get a costed cleanup list in Slack and Linear.
Every Monday, rank the week's matches by expected demand, put the big ones on your venue calendar, and post a rota-ready summary to Slack.
Every Tuesday we pull your best new reviews, draft social captions, email testimonials and product page quotes, then stage them in Notion for approval.
Stop guessing which problems your customers keep hitting.
Connect LiveChat, Linear, and Slack once, and every Monday the recurring problems show up as issues with the customer's own words attached.