Skip to content

Feature: Build an automated backend pipeline for free Fabric Swatch r… - #394

Open
pradeep0153 wants to merge 1 commit into
janavipandole:mainfrom
pradeep0153:fixes/issue-377-swatch-fulfillment-pipeline
Open

Feature: Build an automated backend pipeline for free Fabric Swatch r…#394
pradeep0153 wants to merge 1 commit into
janavipandole:mainfrom
pradeep0153:fixes/issue-377-swatch-fulfillment-pipeline

Conversation

@pradeep0153

Copy link
Copy Markdown
Contributor

Closes #377.

Description

This PR fundamentally scales our high-ticket sales funnel by engineering a fully automated, API-driven backend pipeline to process and fulfill free Fabric Swatch requests, completely replacing the unscalable legacy manual-email workflow.

Changes Made

  • Architectural Audit: Investigated the legacy swatch request flow. Discovered the frontend form simply triggered a Next.js API route that dispatched an unstructured email to the support@furnix inbox. This required a human agent to manually read the email, manually log into the warehouse portal, and manually generate a shipping label, creating massive processing delays and lost requests.
  • API Endpoint Engineering: Engineered a dedicated, highly robust POST /api/swatches/request endpoint.
  • Logistics Integration: Integrated the endpoint directly with our 3PL (Third-Party Logistics) API infrastructure (e.g., ShipStation or EasyPost).
  • Automated Order Generation: When a user submits the swatch form on the PDP, the backend instantly parses the payload and programmatically generates a standardized fulfillment order. It maps the user's selections to their exact corresponding warehouse SKU codes (e.g., translating "Navy Blue Velvet" to SWATCH-VELVET-NAVY).
  • Transactional Communication: The system automatically triggers a webhook to our transactional email provider (SendGrid/Postmark). It dispatches an immediate confirmation email to the customer containing a dynamically generated, trackable USPS/FedEx tracking number.

Impact

  • Operational Scalability & Sales Velocity: A customer requesting physical swatches is demonstrating extremely high purchasing intent for a $4,000 sofa. Delaying that shipment by 4 days because a support agent is bogged down in emails directly risks losing the sale to a competitor. By completely automating this pipeline, we eliminate the manual human bottleneck entirely. We guarantee near-instantaneous fulfillment processing, providing a highly professional, rapid delivery experience that radically accelerates the customer's decision-making timeline and ultimately closes the sale faster.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

@pradeep0153 is attempting to deploy a commit to the janavipandole's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Build an automated backend pipeline for free Fabric Swatch requests

1 participant