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

Persist data outside a flow

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

Select data from a complex JSON response

Next

Use the AI Agent block as logic for a flow

Built with

Data in flows is transient by default. Whatever data the flow retrieves or processes is cleared or replaced when the flow runs again. But you can design flows to persist data by sending it to an external data store, where you can retrieve it later.

Recipe

The following recipe shows how to persist data with JSONbin.io:

  1. Create a JSONbin.io account and locate the x-master-key API key.

  2. Create a flow and add an HTTP Request block with a GET request to this URL:

    1https://openlibrary.org/subjects/love.json?limit=5
  3. Connect an Evaluate block to the HTTP Request block’s Success port.

  4. In the Evaluate block, change value1 to items and give it the path body.works. Then click Start writing TypeScript and enter the following code:

    1items.map((work: any) => work.title)

    This will create an array of book titles from the HTTP Request block’s response.

  5. Add an HTTP Request block and create a POST request with the following URL:

    1https://api.jsonbin.io/v3/b
  6. Add an x-master-key header to the request. Use your JSONbin.io API key as the header’s value.

  7. Add a variable named {{body}} to the POST request’s body.

  8. Connect the Evaluate block’s Result port to the HTTP Request block’s body variable input port.

  9. Run the flow. The POST request sends the array of book titles to a new bin at JSONbin.io.

To access the posted data, you can send a GET request to https://api.jsonbin.io/v3/b/(binId)/latest using your x-master-key API key. You can find the binID in the POST response body’s metadata.

Try it out

To see this recipe’s completed flow, check out Cookbook: Persist data outside a flow. You can also clone this flow to your workspace to experiment with it.