Skip to content

Website Change Alerts to Linear: Issues from a Signed Webhook

Create a Linear issue whenever AyeWatch finds a change, such as a competitor release. A signed relay runs Linear's GraphQL issueCreate mutation, or n8n, Make or Zapier does it.

By AyeWatch Team6 min read

Short answer: To send website change alerts to Linear, point AyeWatch's signed webhook at a relay that checks the signature and runs Linear's issueCreate GraphQL mutation, or at an n8n, Make or Zapier workflow that creates the issue. AyeWatch has no Linear integration, so that step does the translation. Webhooks need a paid AyeWatch plan.

How the pieces fit

Product teams that live in Linear often want competitor moves next to their own roadmap: a rival ships a feature you planned, drops a plan, or changes what its free tier includes. AyeWatch monitors the public changelog and pricing pages, and each alert becomes one Linear issue in a team set aside for it, where someone decides whether it changes a plan.

A made-up alert:

{
  "topic_id": 8620,
  "topic_name": "https://brightmeadow.example/changelog",
  "update_id": 143355,
  "headline": "Brightmeadow ships offline mode for its mobile app",
  "content": "The changelog announces offline mode for iOS and Android, with sync when the device reconnects. It is available on all paid plans.",
  "created_at": "2026-12-07T13:06:00Z",
  "evidence": [
    { "quote": "Offline mode is here", "source_url": "https://brightmeadow.example/changelog" }
  ]
}

Sample rule: Alert me when Brightmeadow's changelog announces a new feature, a plan change or the end of a feature. Ignore bug-fix lists and performance notes.

Get the key and the team ID

Linear's API is GraphQL at https://api.linear.app/graphql. Create a personal API key in Linear's settings. Linear's docs pass a personal key in the Authorization header as the bare key; OAuth access tokens are the ones that take the Bearer prefix.

Issues belong to a team, and the mutation wants the team's ID, not its name or its short key. Ask for it once:

curl https://api.linear.app/graphql \
  -H "Authorization: YOUR_LINEAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ teams { nodes { id name key } } }"}'

Copy the id of the team that should receive the issues. A small team named Market or Intel keeps these issues out of the engineering queue.

The relay

Store AYEWATCH_SECRET, LINEAR_API_KEY and LINEAR_TEAM_ID as Worker secrets. SEEN is an optional KV namespace.

export default {
  async fetch(request, env) {
    // 1. Check X-AyeWatch-Signature against the raw request bytes.
    const raw = await request.arrayBuffer();
    const header = request.headers.get("x-ayewatch-signature") || "";
    const hex = header.startsWith("sha256=") ? header.slice(7) : "";
    if (!/^[0-9a-f]{64}$/i.test(hex)) return new Response("Bad signature", { status: 401 });
    const sig = new Uint8Array(hex.match(/../g).map((h) => parseInt(h, 16)));
    const key = await crypto.subtle.importKey(
      "raw",
      new TextEncoder().encode(env.AYEWATCH_SECRET),
      { name: "HMAC", hash: "SHA-256" },
      false,
      ["verify"]
    );
    if (!(await crypto.subtle.verify("HMAC", key, sig, raw))) {
      return new Response("Bad signature", { status: 401 });
    }

    // 2. Skip an update that was already delivered (SEEN is an optional KV namespace).
    const e = JSON.parse(new TextDecoder().decode(raw));
    const id = String(e.update_id);
    if (env.SEEN && (await env.SEEN.get(id))) return new Response("Already sent");
    const title = e.headline || e.topic_name;
    const link = e.evidence && e.evidence[0] ? e.evidence[0].source_url : "";

    // 3. Create the issue. A personal API key goes in Authorization without "Bearer".
    const query =
      "mutation ($teamId: String!, $title: String!, $description: String) {" +
      " issueCreate(input: { teamId: $teamId, title: $title, description: $description })" +
      " { success issue { id title } } }";
    const description = [
      e.content,
      link ? "[Source](" + link + ")" : "",
      "Monitor: " + e.topic_name + " | AyeWatch update " + id,
    ]
      .filter(Boolean)
      .join("\n\n");
    const res = await fetch("https://api.linear.app/graphql", {
      method: "POST",
      headers: { Authorization: env.LINEAR_API_KEY, "Content-Type": "application/json" },
      body: JSON.stringify({
        query: query,
        variables: { teamId: env.LINEAR_TEAM_ID, title: title, description: description },
      }),
    });
    const out = res.ok ? await res.json() : {};
    const ok = !!(out.data && out.data.issueCreate && out.data.issueCreate.success);

    if (!ok) return new Response("Destination refused", { status: 502 });
    if (env.SEEN) await env.SEEN.put(id, "1", { expirationTtl: 1209600 });
    return new Response("OK");
  },
};

Linear's issue description is markdown, so [Source](url) renders as a link and the summary keeps its paragraphs. Like other GraphQL APIs, Linear can answer 200 with an errors list, so the relay reads issueCreate.success before it tells AyeWatch the alert was delivered. If it is false, the relay answers 502 and AyeWatch retries with exponential backoff, up to 10 attempts.

Without code: n8n, Make or Zapier

Each of the three has a Linear step that creates an issue after you connect your Linear account, so you skip the API key and the team ID query. Receive the AyeWatch webhook first, check the signature where the tool can, then map headline to the title and content plus the source link to the description. Send one real update before you map fields, because AyeWatch has no test-send button.

  • n8n can check the signature with its Crypto node before the Linear step.
  • Zapier can check it with Catch Raw Hook and a Code step.
  • Make cannot check it byte for byte in a standard setup, so treat the hook URL as a secret.

What this setup won't do

  • Group related changes. Three alerts about the same launch are three issues. Mark the extras as duplicates in Linear.
  • Read the product. AyeWatch reads what a competitor publishes on public pages. It cannot sign in to try the feature.
  • Know what matters to you. The rule decides that. A loose rule fills the team with noise, so name the kinds of change you care about.
  • Beat the schedule. Checks run on a schedule: hourly on Pro, ASAP mode on Pro+.

Cost and a credit budget

Webhooks need a paid plan, trial included. AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial.

A competitor feed for a product team tracking four rivals:

  • Two web page monitors covering six changelog and pricing pages, daily: 2 × 1 × 30 = 60 credits
  • One Reddit search for "brightmeadow alternative" with an "Only alert me about" filter, daily: (1 + 1) × 30 = 60
  • One X search for the rivals' product accounts, every 6 hours: 2 × 120 = 240

Total: 360 credits a month, inside Pro's 500.

Linear issues in six steps

  1. Create a personal API key in Linear's settings.
  2. Run the teams query and copy the ID of the team that should receive the issues.
  3. Deploy the relay with the key and team ID as Worker secrets.
  4. Open Notification settings, Webhook in AyeWatch, paste the relay URL and select Save Webhook. Reveal the signing secret and store it as AYEWATCH_SECRET.
  5. Create the changelog and pricing monitors in AyeWatch with a rule for each.
  6. Wait for the next real update and check the issue's title, description and source link.
AyeWatch fieldissueCreate inputNote
headline (or topic_name)titlePlain string
contentdescription, first paragraphMarkdown
evidence[0].source_urldescription, [Source](url)Left out when an update has no evidence
topic_name, update_iddescription, last lineLets you trace an issue back to the alert
Your settingteamIdThe team's ID from the teams query
update_idNot stored in LinearKV key that stops a retry from creating a second issue

Start a monitor in under a minute

Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.

Try it free for 7 days

The bottom line

Create a separate Linear team for competitor issues, point two monitors at it and read what arrives for two weeks. Keep the rules that produced issues someone acted on.

FAQ

Can AyeWatch create Linear issues directly?

No. AyeWatch sends a signed webhook. A relay that runs Linear's issueCreate mutation, or an n8n, Make or Zapier workflow, creates the issue.

Does a Linear personal API key need the Bearer prefix?

No. Linear's docs pass a personal API key as the bare Authorization header value. OAuth access tokens use the Bearer prefix.

How do I find a Linear team ID?

Send the GraphQL query { teams { nodes { id name key } } } to https://api.linear.app/graphql with your API key, and copy the id of the team you want.

Why does my relay report success when no Linear issue appears?

GraphQL APIs can answer 200 with an errors list. Check that issueCreate.success is true before you reply 2xx to AyeWatch.

Can a Linear issue description hold links?

Yes. The description is markdown, so a link written as [Source](https://...) renders as a link in Linear.

website change alerts to linearlinear issuecreate graphqllinear api create issue from webhookcompetitor release tracking linearchangelog monitor to linear

Related articles