Skip to content

Add docs guide: Transform Route Parameters for URL Rewrite#988

Open
zuplo-integrations-app[bot] wants to merge 1 commit into
mainfrom
content/transform-route-params-url-rewrite
Open

Add docs guide: Transform Route Parameters for URL Rewrite#988
zuplo-integrations-app[bot] wants to merge 1 commit into
mainfrom
content/transform-route-params-url-rewrite

Conversation

@zuplo-integrations-app
Copy link
Copy Markdown
Contributor

Summary

  • New docs guide explaining how to transform route parameter values in an inbound policy before the URL Rewrite handler forwards the request
  • Addresses content gap identified in zuplo/www#2406 (P1 Intercom escalation requiring Loom video demo)
  • Covers the recommended context.custom pattern, step-by-step example, lookup maps, multiple parameter transforms, and body transformation
  • Fact-checked against Zuplo documentation

Content

Title: Transform Route Parameters for URL Rewrite
Type: Docs Guide
Slug: guides/transform-route-params-url-rewrite
Sidebar: Added under Development > Guides (next to related routing guides)

Fact-Check Results

  • 16/18 claims verified against official Zuplo docs
  • 0 incorrect claims found
  • 2 claims about internal ${params.*} resolution behavior were softened since exact runtime behavior is not explicitly documented (the context.custom approach is well-documented and confirmed in multiple existing guides)
  • All internal doc links verified to point to existing files
  • All code examples follow correct function signatures, import paths, and configuration formats

Reviewer Feedback Applied

  • Restructured heading hierarchy: merged "The Pattern" summary into "Step-by-Step Example" for better flow
  • Moved anti-pattern explanation ("Why Not Modify request.params Directly?") after the tutorial as a "Common Pitfall" section with a :::caution admonition
  • Grouped variation sections (Lookup Map, Multiple Parameters, Body Transformation) under a "Variations" heading
  • Removed redundant headers parameter from ZuploRequest constructor example

Closes zuplo/www#2406

Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zuplo-integrations-app zuplo-integrations-app Bot added the intercom-support Content opportunities identified from Intercom support conversations label Apr 20, 2026
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Apr 20, 2026 0:45am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

intercom-support Content opportunities identified from Intercom support conversations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants