Soliddeploy

The Policy Check Agent Setup

An AI agent that runs through your entire bol.com listing and checks it against the official policy before you go live. Title, description, images. Everything.

Written by Founder of SolidDeploy ·

How it works

  1. Google Sheet → read EANsThe script reads your EANs from the Policy Input tab. Set the status to controleren to trigger a check.
  2. bol.com API → fetch the full listingTitle, description, specifications and all images are fetched via the Retailer API and Assets API.
  3. Claude API → text + vision in one callAll text and images go to Claude in a single prompt. Concrete output: exactly which words, images or claims are a problem.
  4. Results → sheet + Slack notificationEvery violation is written to Policy Output with category, location, evidence and severity. Then a Slack notification follows.

What you get

01

Installation instructions

From setting up the repo to the first run. Including a step-by-step Google Cloud Service Account setup.

02

Claude Skill file

System prompt with all 15 official policy grounds. Load it straight into claude.ai Skills.

03

Google Sheet template

Ready-made structure with Input and Output tabs. Copy it and you are done.

04

Weekly cron scheduler

Runs automatically in the background every Monday at 08:00.

What you need

  • Bol.com Retailer account with API access, Client ID + Client Secret via the seller dashboard under Settings → API.
  • Anthropic API key, via console.anthropic.com. At least $5 in credits to get started.
  • Google Cloud Service Account with access to the Sheets API. The setup is fully explained in step 3 of the installation.
  • Slack webhook URL for notifications, via api.slack.com/apps → Incoming Webhooks.
  • Node.js v18+ on your machine.

What the agent checks

Official bol.com policy, as of March 2026.

  • text
    Websites & contactProhibited: URLs, QR codes, email addresses, phone numbers in the title or description.
  • text
    PricesProhibited: references to prices, discounts, offers or price comparisons.
  • text
    DeliveryProhibited: claims about delivery time or shipping. E.g. "delivered tomorrow", "free shipping".
  • text
    Sales slogansProhibited: while stocks last, cheap, buy 1 get 1 free, order now, limited time, promotion, special offer.
  • text
    Sustainability claimsProhibited: environmentally friendly, eco, more sustainable, climate-friendly, CO2-neutral, slavery-free, responsible, and more.
  • text
    LanguageProhibited: description not fully in Dutch.
  • text
    Description too shortQuality warning below 150 words.
  • image
    Discount labelsProhibited: discount labels or percentage offers on images.
  • image
    WatermarksProhibited: watermarks from the seller or third parties.
  • image
    Third-party logos, criticalProhibited: App Store, Google Play, Apple, Samsung, Xbox, PlayStation, Adobe and other external brand names.
  • image
    Kieskeurig / ConsumentenbondProhibited: stickers or labels from Kieskeurig or Consumentenbond.
  • image
    Promotional text on imagesProhibited: "buy now", "cheap", "free shipping", "extended warranty" on images.
  • image
    Generic illustrationsProhibited: drawings that are not a real product photo.
  • image
    Comparisons, criticalProhibited: comparisons with other products, brands or websites.
  • image
    Reviews in imagesProhibited: stars, customer quotes or customer experiences visible on images.

Step-by-step installation

1

Set up the repository

Create a new folder and install all dependencies.

mkdir policy-check-bot && cd policy-check-bot
npm init -y
npm install dotenv @anthropic-ai/sdk googleapis node-cron axios
npm install -D typescript ts-node @types/node @types/node-cron
2

Create .env

Create a .env file in the project folder. See step 3 for the Google credentials.

BOL_CLIENT_ID=
BOL_CLIENT_SECRET=
ANTHROPIC_API_KEY=
GOOGLE_SHEETS_SPREADSHEET_ID=
GOOGLE_SERVICE_ACCOUNT_EMAIL=
GOOGLE_PRIVATE_KEY=
SLACK_WEBHOOK_URL=
3

Create a Google Service Account

console.cloud.google.com

This is the part most installation questions are about. Follow these steps exactly.

  1. Go to console.cloud.google.com and create a new project.
  2. Go to APIs & Services → Library → search for "Google Sheets API" → click Enable.
  3. Go to APIs & Services → Credentials → Create Credentials → Service Account.
  4. Give the service account a name → Create and Continue → Done.
  5. Click the service account → Keys → Add Key → JSON. Download the file.
  6. Copy client_email to GOOGLE_SERVICE_ACCOUNT_EMAIL in .env.
  7. Copy private_key to GOOGLE_PRIVATE_KEY. Put it in quotes and keep the \n characters.
  8. Open the Google Sheet → Share → paste the client_email address → give Editor rights.

Note: A private_key without quotes or without the \n characters is the most common installation error.

4

Create the Google Sheet structure

// Tabblad 1: Policy Input
EAN | Product name | Status | Check date

// Tabblad 2: Policy Output
EAN | Product name | Category | Location | Violation | Evidence | Severity | Check date

Set the status of the EANs to be checked to controleren. After the run, it is automatically updated to checked.

5

Upload the skill file in Claude

claude.ai → Settings → Skills

Go to claude.ai → Settings → Skills and upload the .skill file. See the skill preview below.

6

Running it

// Handmatig uitvoeren
npx ts-node run-policy-check.ts

// Wekelijkse cron (elke maandag 08:00, blijft actief na sluiten terminal)
nohup node schedule-policy-check.ts &

The skill file

bol-policy-check.skill

---
name: bol-policy-check
description: Analyzes bol.com product listings for policy violations.
---

Je bent een bol.com beleidscontrole agent. Analyseer de aangeleverde
listing op overtredingen van het officiële bol.com partnerplatform beleid.
Alle producttekst is in het Nederlands. Geef evidence en omschrijvingen
terug in het Nederlands. Strict JSON output. Geen markdown.

## TEKSTREGELS

WEBSITES & CONTACT
Verboden in titel/beschrijving: URLs, QR-codes, e-mailadressen,
telefoonnummers, externe website-verwijzingen.
Uitzondering: contactgegevens in specificaties zijn wettelijk verplicht
(DSA-verplichting) en mogen daar wél staan.

PRIJZEN
Verboden: prijsreferenties, kortingen, aanbiedingen, prijsvergelijkingen.

BEZORGING
Verboden: bezorgtijd- of verzendingsclaims.
Bijv: "morgen in huis", "gratis verzending", "snelle levering".

VERKOOPKRETEN
Verboden: op=op, goedkoop, 1+1 gratis, bestel nu, tijdelijk, actie,
aanbieding.
Uitzondering: producteigenschappen met vergelijkbare woorden zijn GEEN
overtreding. Bijv: "geen onderbrekingen", "tijdelijk gebruik",
"actieve kool", "de koelkast voor elke situatie".
Alleen vlaggen bij duidelijk promotionele intentie.

DUURZAAMHEIDSCLAIMS
Verboden (exacte bol.com lijst): milieuvriendelijk, eco, vriend van
de natuur, ecologisch, duurzaam (als milieuclaim), duurzamer, goed
voor het milieu, klimaatvriendelijk, niet vervuilend, biologisch
afbreekbaar, emissievrij, koolstofarm, CO2-neutraal, klimaatneutraal,
slaafvrij, bewust, verantwoord.
Uitzondering TOEGESTAAN: "duurzaam hout", "duurzame kwaliteit",
"recyclebaar", "energiebesparend", "70% gerecycled materiaal".

TAAL
Verboden: titel of beschrijving niet volledig in het Nederlands.
Uitzondering: specificaties mogen Engelstalige veldnamen bevatten.

BESCHRIJVING TE KORT
Vlag bij minder dan 150 woorden. Type: short_description, severity: low.
Evidence: "Beschrijving bevat X woorden (minimum 150)"

## AFBEELDINGSREGELS

Nota bene: bol.com handhaaft per 1 juli 2025 NIET meer op witte
achtergrond, modellen of stillevens. Onderstaande punten worden WEL
actief gehandhaafd.

KORTINGSLABELS
Verboden: kortingslabels of procentuele aanbiedingen op afbeeldingen.

WATERMERKEN
Verboden: watermerken van verkoper of derden.

LOGO'S VAN DERDEN, critical
Verboden: App Store, Google Play, Apple, Samsung, Xbox, PlayStation,
Android, iOS, Adobe, Alexa, Google Assistant, Coca-Cola, Starbucks,
en alle andere externe merknamen of logo's in afbeeldingen.

KIESKEURIG / CONSUMENTENBOND
Verboden: stickers of labels van Kieskeurig of Consumentenbond.

PROMOTIONELE TEKST OP AFBEELDING
Verboden: "koop nu", "goedkoop", "gratis verzending",
"uitgebreide garantie", "aanpasbaar" op afbeeldingen.

GENERIEKE ILLUSTRATIES
Verboden: illustraties die geen echte productfoto zijn.
Uitzondering: categorieën Hardware en Voertuigen & onderdelen.

VERGELIJKINGEN, critical
Verboden: vergelijkingen met andere producten, merken of websites.
Bijv: "wij vs. concurrent" tabellen, "andere merken" kolommen.

REVIEWS IN AFBEELDING
Verboden: sterren, klantcitaten, "1000+ tevreden klanten" in afbeeldingen.

## OUTPUT FORMAT

Geef ALLEEN strict JSON terug. Geen markdown. Geen uitleg.
Geen overtredingen = lege array [].

[
  {
    "category": "text|image",
    "location": "title|description|specifications|image_1|image_2|...",
    "violation": "websites|prices|delivery|sales_slogan|sustainability|
                  language|short_description|discount_label|watermerk|
                  third_party_logo|kieskeurig|promotional_text|
                  illustration|comparison|review",
    "evidence": "exacte Nederlandse tekst of beschrijving van wat zichtbaar is",
    "severity": "critical|high|low"
  }
]

Severity:
critical = logo van derde partij, vergelijking met concurrent
high     = URL in tekst, review in afbeelding, promotionele tekst
           op afbeelding, taalovertreding
low      = verkoopkreet, duurzaamheidsclaim, prijsreferentie,
           leveringsclaim, korte beschrijving

Maintenance

Keeping policy rules up to date

The bol.com policy changes from time to time. Check partnerplatform.bol.com periodically and update the system prompt when rules change.

Keeping track of Anthropic API credits

If you get a 402 or insufficient_credits error: go to console.anthropic.com and top up your credits.

Restarting cron after a machine reboot

Run nohup node schedule-policy-check.ts & again from the project folder.

What is the first thing we should tackle?

Tell us about a process that takes too long, an agent you have in mind or an opportunity you have not got round to yet. We show you what it delivers and how it fits your business.