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
          • Overview
          • Get basic values
          • Select conditional data
          • Return structured data
          • Manipulate data
          • Function reference
        • Deployed flows overview
        • Connector blocks overview
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
  • FQL compared to TypeScript
  • Extract fields from data with FQL
  • Things you can do with FQL
  • Using Agent Mode with FQL
  • FQL reference
Postman FlowsFlows referenceFlows Query Language

Introduction to Flows Query Language

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

Route response data with TypeScript in Flows

Next

Get basic values in FQL

Built with

You can use Flows Query Language (FQL) to parse and transform JSON data to get the fields and structure you want.

FQL compared to TypeScript

The logic blocks in Postman Flows (If, Condition, and Evaluate) support both FQL and TypeScript. While FQL is designed for querying and transforming data, TypeScript offers the robustness and flexibility of a full programming language within your Postman Flows. This makes TypeScript more suitable for complex logic and large-scale projects. Also, if you are familiar with both the JavaScript and TypeScript ecosystems, you may prefer using TypeScript over FQL.

Extract fields from data with FQL

FQL example

You can use FQL to extract specific fields from data passed between blocks. In this example, the Template block holds a customer_info JSON object. The variable data_field receives the formatted data and passes it into the Evaluate block where it can be queried with FQL. FQL in the Evaluate block prints out the values of customer_info. This example also includes a comment that uses the FQL /*comment*/ syntax.

Things you can do with FQL

The following pages show examples of things you can do with FQL:

  • Get basic values
  • Conditional data selection
  • Return structured data
  • Data manipulation

Using Agent Mode with FQL

Not sure how to write an FQL statement for your flow? Use Agent Mode! Tell Agent Mode what you want to do using plain language, and it will generate a FQL statement for you.

In the Evaluate block, drag the Agent Mode icon Agent mode icon to the block’s text box or anywhere on the canvas to open Agent Mode. Enter your query as plain text in the Agent Mode text box and press the Return or Enter key. Agent Mode will suggest a query for you based on your prompt.

To learn more about how you can use Postman’s AI to help you use Flows, visit Agent Mode.

FQL reference

For a complete reference for all FQL functions, see the FQL function reference.