For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
        • Overview
        • Use TypeScript in an Evaluate block
        • Iterate through a list using a For loop
        • Select data from complex JSON
        • Persist data outside a flow
        • Use the AI Agent block as logic for a flow
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Recipe
  • Try it out
Postman FlowsFlows cookbook

Select data from a complex JSON response

||View as Markdown|
Was this page helpful?
Previous

Iterate through a list using a For loop

Next

Persist data outside a flow

Built with

Selecting and processing data from responses is a fundamental function in Postman Flows. Understanding how to pull data from specific fields in a response is vital to designing effective flows. For example, you might want to extract an address field from several levels down in a complex JSON object from an API response.

Recipe

The following recipe shows how to extract a specific field from a complex JSON response:

  1. Create a flow and add an HTTP Request block with a GET request to the following URL:

    1https://data.sec.gov/submissions/CIK0000320193.json

    This will return a large, multi-leveled JSON object describing details about Apple Inc.

  2. Connect a Select block to the HTTP Request block’s Success port.

  3. Run the flow and click Enter path… in the Select block. A dropdown list appears showing the top-level fields in the JSON object from the response.

  4. In the dropdown list, click the arrow next to body to view its nested fields.

  5. Scroll down the body object and click the arrow next to the addresses field. More nested fields appear.

  6. Click the arrow next to mailing to view its nested fields and select street1. The dropdown list closes and the following path appears in the Select block:

    1body.addresses.mailing.street1
  7. Run the flow and click the Select block’s Output tab view the street1 field’s value.

Pulling specific data from a complex JSON response lets you isolate that data so you can use it in the flow’s logic.

Try it out

To see this recipe’s completed flow, check out Cookbook: Select data from a complex JSON response. You can also clone this flow to your workspace to experiment with it.