Porter

WordPressContentful

Stage 02 · structured output, human approval

Field mapping: Article

Claude reads the source fields (with real sample values) and the target type's rules, and proposes which source fills each field and with which transform. It can only choose from a fixed menu; code checks the proposal, you fix and approve it, and code applies it.

Cleared · approvedprompt map-v1 · replay mode

Claude's questions and leftovers

  • Question: Should topics come from categories, tags, or both? If both, which ones should be kept when a post has more than 4?
  • Question: Titles like 'The Best Pastéis de Nata in Lisbon (2019 Edition)' are dated. Should they be kept as is?
  • Question: The author 'Tom B.' has an abbreviated name. Should the author entry use his full name?
  • Question: Should region be left empty for posts that cover several regions or none, rather than being classified?
  • Question: How should tables in post content (for example, day-by-day stats) be handled in Rich Text?
  • post.modified_gmt not used: The article type has no last-modified field.

Review

Proposed by claude-opus-5-5 (replay) · approved 2026-11-19 04:50 UTC

Titletitle · Symbol · required
Source fields for fill from

Copy the text as it is

high confidence

Slugslug · Symbol · required
Source fields for fill from

Copy the text as it is

Source fields for if empty or invalid

Lowercase, accents removed, words joined by hyphens

high confidenceThe sample slugs already match the required pattern; if a slug is missing, one is made from the title.

Published atpublishedAt · Date · required
Source fields for fill from

ISO date in UTC

high confidence

Summarysummary · Symbol · required
Source fields for fill from

Copy the text as it is

Source fields for if empty or invalid

Written from the sources by the agent, checked against them (stage 04)

medium confidenceOne sample excerpt is empty, so the fallback is needed; excerpts outside 40..200 characters also need the fallback.

Bodybody · RichText · required
Source fields for fill from

HTML to Rich Text, word-for-word (stage 01)

medium confidenceThe HTML is inconsistent: some posts use bare text with <br /> instead of <p>, and one contains a table that Rich Text may not support.

Authorauthor · EntryLink · required
Source fields for fill from

Link to the matching author entry (stage 03)

high confidenceThe author 'Tom B.' has an abbreviated name in the source.

Topicstopics · EntryLinks
Source fields for fill from

Links to matching topic entries (stage 03)

medium confidenceCategories plus tags can exceed the limit of 4 links; the Lisbon post already has at least 4.

Hero imageheroImage · AssetLink
Source fields for fill from

Link to the image, uploaded as an asset

medium confidenceSome posts have no featured image (null), so this field will be left empty for them.

SEO descriptionseoDescription · Symbol
Source fields for fill from

Copy the text as it is

Source fields for if empty or invalid

Written from the sources by the agent, checked against them (stage 04)

medium confidenceOne sample Yoast description is empty; the fallback must stay within 160 characters.

Regionregion · Symbol
Source fields for fill from

Written from the sources by the agent, checked against them (stage 04)

medium confidenceNo source field holds the region, so it is classified from the text; all samples (Lisbon, Alps, Chamonix) point to Europe.

0 errors · 0 warnings

The saved mapping applied to “Vienna to Venice by Sleeper Train”. Nothing is written anywhere.

Checks

  • Every filled field passes the content type's rules.
  • region: written in stage 04 from post.title, post.content.

Entry draftarticle-vienna-to-venice-by-sleeper

{
  "contentType": "article",
  "id": "article-vienna-to-venice-by-sleeper",
  "fields": {
    "title": "Vienna to Venice by Sleeper Train",
    "slug": "vienna-to-venice-by-sleeper",
    "publishedAt": "2021-02-18T19:00:00.000Z",
    "summary": "Fall asleep in Austria, wake up to the lagoon.",
    "body": "‹rich text, see the post page›",
    "author": {
      "sys": {
        "type": "Link",
        "linkType": "Entry",
        "id": "author-sato"
      }
    },
    "topics": [
      {
        "sys": {
          "type": "Link",
          "linkType": "Entry",
          "id": "topic-rail"
        }
      },
      {
        "sys": {
          "type": "Link",
          "linkType": "Entry",
          "id": "topic-sustainable"
        }
      }
    ],
    "heroImage": {
      "sys": {
        "type": "Link",
        "linkType": "Asset",
        "id": "asset-sleeper-cabin-jpg-1o86trz"
      }
    },
    "seoDescription": "What the Vienna to Venice night train is like, and which ticket to book."
  }
}

Model calls

3 calls logged · live spend $0.0000 (replays cost nothing)

#PurposeModeTokens in / outCostTime
3topic linking link-v1replay6,168 / 1,564($0.06)12.8 s
2author linking link-v1replay1,979 / 476($0.02)7.9 s
1field mapping map-v1replay4,030 / 1,591($0.05)17.6 s