Skip to content

Weekly

Score your product sheet for missing data every week

Every Monday you get an email scorecard of how complete your product sheet is, and a Linear issue for each product with gaps.

Runs
Weekly
Apps
Google Sheets, Linear
AI
Not needed
Access
Sheets read; Linear write

Send this to your assistant

Create a ClickRuntime automation: every Monday, check my Products sheet for rows missing required fields, email me a scorecard, and open a Linear issue for each product that has gaps.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

An online shop keeps its catalog in a Google Sheet before it goes to the store. Descriptions, weights, images and prices are filled in by different people at different times, and gaps are only found when a product page goes live without a price or a shipping rate fails because the weight is blank.

A weekly check turns that scramble into a routine. Everyone sees the same completeness score each Monday, and every incomplete product has a ticket with an owner instead of living in someone's head.

What you get out of it

  • Catch gaps before customers do

    Missing prices, weights or images are found in the sheet, not on the live store. Fixing a blank cell is much cheaper than handling a wrong order.

  • A number the team can track

    The scorecard gives one completeness percentage each week. Watching it go up shows the cleanup is working, and a drop flags a new batch of incomplete products.

  • Each gap becomes assignable work

    A Linear issue per product lists exactly which fields are missing. It can be assigned, prioritised and closed like any other task.

  • No duplicate tickets

    Products that already have an issue are not ticketed again. The backlog stays the size of the real problem, week after week.

How it works

What happens, step by step

  1. Every Monday morning, ClickRuntime reads every row of your Products sheet.

  2. It checks each product for empty required fields and works out an overall completeness score.

  3. Products with gaps that do not already have a ticket get a new Linear issue listing what is missing.

  4. You receive an email scorecard with the score and the list of incomplete products.

Before it runs live

  • Connect your Google Sheets account and pick the spreadsheets it may use
  • Connect Linear

What you get

RunsWeekly
Score your product sheet for missing data every weektoday, 9:00Succeeded
Email · Catalog scorecardCatalog scorecard: 91% complete. 14 of 160 products have gaps. ACME-220: missing weight, image_url

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Google Sheets and Linear steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
weekly_data_quality_scorecard_to_linear.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, state, notify

SHEET_ID = "your-spreadsheet-id"
TEAM_ID = "your-linear-team-id"
REQUIRED = ["sku", "name", "price", "weight", "description", "image_url"]

@on_trigger
def run(event):
    sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    rows = sheets.spreadsheets().values().get(spreadsheetId=SHEET_ID, range="Products!A1:Z").execute().get("values", [])
    head, body = rows[0], rows[1:]
    ticketed = set(state.get("ticketed") or [])
    gaps = {}
    for r in body:
        rec = dict(zip(head, r))
        missing = [f for f in REQUIRED if not rec.get(f, "").strip()]
        if missing:
            gaps[rec.get("sku") or rec.get("name", "?")] = missing
    q = "mutation($i: IssueCreateInput!){ issueCreate(input: $i){ success } }"
    for sku, missing in gaps.items():
        if sku not in ticketed:
            http.post("https://api.linear.app/graphql", headers={"Authorization": credentials.secret("LINEAR_API_KEY")},
                      json={"query": q, "variables": {"i": {"teamId": TEAM_ID, "title": f"{sku}: missing {', '.join(missing)}"}}})
    state.set("ticketed", sorted(set(gaps)))
    score = round(100 * (len(body) - len(gaps)) / max(len(body), 1))
    lines = "\n".join(f"{s}: {', '.join(m)}" for s, m in gaps.items())
    notify.email_me(f"Catalog scorecard: {score}% complete", f"{len(gaps)} of {len(body)} products have gaps.\n\n{lines}")
    return {"score": score, "incomplete": len(gaps)}

FAQ

Common questions

Which fields count as required?
You list them when setting it up, for example price, weight, description and image URL. Any row with one of those cells empty is counted as incomplete.
What happens when a product is fixed?
Once all its required fields are filled in, it stops appearing in the scorecard. Its Linear issue can be closed, and a new one is only opened if gaps appear again later.
Can it check values, not just empty cells?
Yes, simple rules such as a price above zero or a URL that starts with https can be added. Those rules are checked the same way as missing fields.
What permissions does it need?
Sheets read; Linear write. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (weekly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Score your product sheet for missing data every week” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.