Turn Grain highlights into Linear product backlog items in real time

By General Input

When you highlight a customer moment on a Grain call, an agent classifies it and files a clean Linear backlog item with the verbatim quote and customer name attached.

Integrations

  • Grain
  • Linear

Type

Agentic Task

Categories

  • Product
  • Customer Support

Build me an agent workflow that turns Grain highlights into Linear product backlog items in real time.

Trigger: a Grain webhook on the highlight.added event. During setup, register the webhook against my Grain account using the Create Webhook operation so new highlights from any of my recordings reach the agent immediately. The webhook payload will carry the highlight id, the parent recording id, the highlight timestamp, and the highlight text.

What the agent should do on each fire:

1. Use Grain Get Recording on the parent recording with the transcript and participants included so it has the verbatim transcript and the meeting participant list. Pull the 30 to 60 seconds of transcript surrounding the highlight timestamp as the snippet for analysis.

2. Classify the snippet into one of four categories based on the language used: feature request, bug, friction, or praise. Feature request is asking for something that does not exist. Bug is something broken or wrong. Friction is something that works but is slow, confusing, or painful. Praise is the customer saying something they love.

3. Low signal filter: if the snippet reads as off topic chitchat, an internal aside between teammates, a logistics moment like scheduling or screen sharing, or has no clear product signal, stop and do not create an issue. Do not spam the backlog.

4. Identify the customer or company name from the Grain participants. Treat any participant whose email domain does not match my company domain as the customer. If multiple external participants are present, use the company name implied by their shared domain, or fall back to the first external participant's full name.

5. Use Linear Create Issue to file the backlog item in my product team's intake project. The title should be a short, plain-English summary of the ask in 8 to 12 words written from my team's perspective, not the customer's. The description should include: the verbatim customer quote pulled from the transcript snippet in a blockquote, the customer or company name, the meeting title and date, a link back to the Grain highlight at the exact timestamp, and the classification. Attach a Linear label that matches the classification (feature-request, bug, friction, or praise).

During setup, ask me which Linear team and project should receive these issues, and confirm the four label names exist on that team (creating them if I want). Also confirm my company email domain so external participant detection works.

Keep this focused on one highlight per run. Do not batch or summarize across recordings, and do not create executions for highlights you skip.

Related prompts

Explore more prompts
Catch feature flags that never got switched on in productionWeekly alert noise review board for incident.io on-callMorning triage board for your Kernel browser agent runsTrack every half finished LaunchDarkly rollout in one boardFind the customers stuck contacting support again and againTurn shipped Linear work into Intercom product announcementsVoice agent QA review board for your Hume EVI callsClose the loop between Front tickets and Linear bug fixesOpen a Heroku release war room the moment production looks wrongFind the themes Help Scout tags miss and file them in Linear