Skip to main content

Create a Flow

A flow is a collection of mock APIs that work together to simulate a complete user journey or scenario.

info

When a flow is enabled, other individually mocked APIs will be disabled.

For example, you can simulate these common user journeys using Flow:


Flow 1: Logged-in User → Cart → Checkout (COD) → Order Confirmation

  • User logs in
  • Adds two products to cart (Inventory & Marketplace)
  • Goes to the checkout page and selects Cash on Delivery (COD)
  • Reaches the order confirmation page

Flow 2: Guest User → Cart → Checkout (Credit Card) → Order Confirmation

  • Guest user adds a Marketplace product to the cart
  • Proceeds to checkout and pays using Credit Card
  • Lands on the order confirmation page

Use Flow to streamline complex mock API setups and replicate real-world app behaviors with ease.