Welcome to FlowZap, the App to diagram with Speed, Clarity and Control.

Feature Toggle Workflow

patterns

Feature toggle pattern with flag configuration, user targeting rules, percentage rollouts, and instant kill-switch capability for production features.

Full FlowZap Code

user { # User
  n1: circle label:"Start Feature Toggle"
  n4: rectangle label:"Execute Feature Toggle action"
  n7: rectangle label:"Monitor Feature Toggle status"
  n10: circle label:"End Feature Toggle"
  n1.handle(bottom) -> app.n2.handle(top)
  n4.handle(bottom) -> app.n5.handle(top)
  n7.handle(bottom) -> app.n8.handle(top)
}

app { # App
  n2: rectangle label:"Receive Feature Toggle event"
  n5: rectangle label:"Record Feature Toggle outcome"
  n8: rectangle label:"Monitor Feature Toggle status"
  n2.handle(bottom) -> service.n3.handle(top)
  n5.handle(bottom) -> service.n6.handle(top)
  n8.handle(bottom) -> service.n9.handle(top)
}

service { # Service
  n3: rectangle label:"Validate Feature Toggle conditions"
  n6: diamond label:"Monitor Feature Toggle status"
  n9: rectangle label:"Monitor Feature Toggle status"
  n9.handle(right) -> user.n10.handle(bottom) [label="Valid"]
  n6.handle(left) -> app.n5.handle(left) [label="Retry/Rejected"]
  n6.handle(right) -> user.n7.handle(left) [label="Success"]
  n3.handle(right) -> user.n4.handle(left) [label="Processed"]
}

Related templates

Canary Deploy Workflow

patterns

Canary deployment pattern with gradual traffic shifting, real-time metrics monitoring, automatic rollback triggers, and progressive rollout to full production.

Api Gateway Workflow

patterns

API Gateway pattern with request authentication, rate limiting, request routing to backend services, response aggregation, and error handling.