Santekno
Projects/Add Business Line to Campaign Management
Backend / APILive

Add Business Line to Campaign Management

Extended campaign flows to carry business-line context across budget-management pages and download workflows — with contract-first, cross-region delivery.

2026-campaign-business · main
# E-Commerce / Campaign
$ go -X POST /2026-campaign-business/v1/sync
→ 201 Created
{ "status": "ok" }
publish 2026-campaign-business.synced
Role
Backend Engineer
Timeline
2025–2026
Team
3
Domain
E-Commerce / Campaign
Stack
9 tech
Status
Live
01

Overview

This project added Business Line support inside the campaign management / budget-management platform ecosystem so campaign pages, product detail views, and download flows could correctly surface and process business-line data. I joined mid-flight and took ownership of the technical assessment, interface changes, and cross-team alignment.

A backend has no screens, so its "UI" is the operational surface: the API contract, the download/ops flow, and release dashboards.

API contract — business line fields on campaign endpoints
Ops view — page download flow with business line columns
Grafana — post-release stability across regions
03

Problem & Solution

Problem

Existing campaign flows did not consistently carry business-line context through page rendering and download paths. That created risk for downstream teams, unclear interface expectations, and potential data-correctness issues when budget-management-platform-related features shipped.

Solution

I ran a high-level end-to-end assessment of the page download flow and the product detail page flow, identified the new columns and fields required, and updated the relevant RPC and HTTP contracts before downstream implementation. I aligned with service owners on data availability, presented the design to regional stakeholders, and defined a delivery timeline from assessment through release.

04

Workflow

Three actors interact with the service; the diagrams are written in English to stay consistent across both languages.

flowchart diagram

view campaign page

render business line

download data

rpc

User / Buyer

Campaign Service

Budget Management Page

Download Service

Seller Profile Service

Use case interaction
sequence diagram
Download ServiceRPCCampaign APIFrontend / Budget Management UIDownload ServiceRPCCampaign APIFrontend / Budget Management UIGET campaign page (business line)fetch business line databusiness line fieldspage payloadrequest downloadfile with business line columns
Sequence flow
05

Architecture

flowchart diagram

metrics

Web / Budget Management Page

API Gateway

Campaign Service · Go

RPC · Seller Profile Service

Download Service

RDS

Prometheus / Grafana

System architecture
Architecture notes

A thin API layer resolves business-line context and calls the seller-profile-service over RPC for the required fields. The download service was extended to include business-line columns. Contracts were updated first to unblock downstream teams, and all paths run across multiple regions with Prometheus/Grafana monitoring.

state diagram

define fields

downstream build

assessment

contract_update

integration

release

Contract rollout lifecycle
06

Features

Buyer / User
  • Campaign pages show correct business-line context
  • Consistent product detail experience
Operations
  • Download files enriched with business-line columns
  • Reliable page download flow
System
  • Contract-first RPC & HTTP updates
  • Cross-service business-line data propagation
  • Multi-region compatibility
07

Tech Stack

language
Go
framework
RPC frameworkHertz
protocol
RPCHTTP
database
Managed RDS (relational database)
infra
Multi-region
observability
PrometheusGrafana
08

Engineering Challenges

01
Complex download flow with unclear integrations

The download mechanism spanned multiple services and downstream dependencies. Fix: proactive stakeholder communication to clarify the flow, then update RPC contracts first so downstream teams could build against stable interfaces.

02
Late entry into an in-flight project

I joined after the project had started, with limited context. Fix: a fast end-to-end assessment plus a clear timeline from assessment to release to re-align PM, QA, and engineering across regions.

09

Outcomes

6
API / RPC contracts updated
2
core flows assessed (page + download)
3
multiple regions aligned
100%
on-time delivery
10

Lessons Learned

Joining a project mid-flight rewards fast context building and proactive communication. Prioritizing contract clarity and early risk identification (the download flow) kept the project continuous and reduced integration risk for everyone else.

11

Related Santekno Tutorials

Interested in working together?

Order, payment, or high-traffic event pipelines — let's talk architecture and trade-offs.