Docs AI suggestions
Documentation

AI suggestions

When Relink finds a fitting page, each broken link gets one suggestion. This page explains where it came from, why it was chosen, and when to trust it.

How a suggestion is generated

When the scan finds a broken URL, Relink builds a shortlist of candidate live pages from your store, then runs them through a single LLM call via OpenRouter. The model sees:

  • The original broken URL slug.
  • Anchor text and surrounding HTML where the link appears.
  • The page type — product, collection, page, or article.
  • The candidate shortlist with titles, descriptions, and tags.

The model is required to pick from the shortlist (or return "REMOVE" if nothing fits), so Relink can never suggest a URL that doesn’t exist in your store.

Suggestion sources

Every suggestion is tagged with a source that tells you how it was chosen. This is shown as a pill in the drawer and in the dashboard table.

Suggestion source badges
AI suggestion
Picked by the model from your live pages.
AI
Heuristic suggestion
Exact handle / title hit — no AI call needed.
Heuristic
Fallback page
Business plan, Redirect all mode — your fallback page.
Fallback page
Manual pick
You chose this from the drawer’s autocomplete.
Manual
Remove link
No good suggestion — Relink removes the link. The words stay.
Remove

AI  AI

The model picked a candidate from your live pages and Relink validated the choice exists. Used when the page names didn’t match — i.e. when the answer requires semantic judgment, not string matching.

Heuristic  Heuristic

A suggestion made without AI. Used when:

  • The broken slug exists on a different resource type (e.g. /products/foo dead, /pages/foo live).
  • An exact title match exists.
  • Your AI quota is exhausted (Free plan) — Relink falls back to handle/title matching rather than block the fix.

Fallback page

Business plan. In Redirect all mode, Relink sends every broken link to the fallback page you set in Settings, without asking the AI. Useful for stores where unrecoverable 404s should land on a single hub page. In other modes the fallback page is not a suggestion.

Manual  Manual

You overrode the AI’s pick using the drawer’s autocomplete. Manual picks are tracked separately so future scans don’t overwrite them.

Remove  Remove

The model returned "REMOVE" because nothing in your store is a reasonable fit. Applying it removes the link. The words stay. Only the link goes. No redirect is added. You can’t undo a removal.

Real before-and-after examples

Before · AI
/products/aqua-throw-blanket-discontinued
Anchor text on the homepage: "shop the aqua throw"
→
After
/products/turquoise-throw-blanket
Suggested on colour family + product type, even though the slug shares no tokens.
Before · Heuristic
/products/about-us
A merchant linked to /products/about-us by mistake.
→
After
/pages/about-us
Same handle exists as a Page — no AI call needed.
Before · Remove
/pages/team-photo-shoot-bts-2021
One-off campaign page from 2021 referenced in a blog footer. Nothing similar exists today.
→
After
(link removed)
The words stay. Only the link goes.

Reviewing a suggestion

Click a broken link’s address on the dashboard to open the side drawer. You’ll see:

  • The original broken URL with the source page(s) where it appears.
  • The suggestion with its source pill (AI / Heuristic / etc.).
  • An autocomplete to pick a different live page if you disagree.
  • Actions to apply the suggestion (Apply to this page), ignore the link, or remove it.
Tip

If a URL appears on multiple pages, Relink groups them. Apply to 12 pages changes the link on all of them and adds the Shopify redirect once.

Overriding the AI

Type into the drawer’s autocomplete to search every live product, page, article, and collection. Pick one and the source flips to Manual. Your override sticks — future scans won’t replace it.

AI quotas

  • Free — 5 AI-generated suggestions per month. After that, Relink falls back to suggestions from page names until the counter resets.
  • Pro & Business — unlimited AI suggestions.

The 5-suggestion limit on Free is intentionally low to make the AI quality obvious without burning model credits. Most stores exhaust it on the first scan.

Need a hand?

Email shopify-support@tryrelink.app — average reply under one business day.

Install Relink