Create an AI request block for your flow

You use AI Request blocks to interact with AI models, which can help you evaluate different models, add AI to your workflows, prototype AI agents, and much more. You can add AI Request blocks to flow modules and actions.

Create a new flow module

You can use an existing flow module or create a new one. If you choose to use an existing flow module, skip to Add a new AI request block.

To create a new flow module, do the following:

  1. Choose an existing workspace or create a new one.
  2. From the Postman sidebar, select Flow icon Flows.
  3. Click Add icon Create a new folder or flow, then select Add-On Lego icon Create flow module from the dropdown list.
  4. In the sidebar, hover over your new flow module and click Options icon View more actions, then select Rename from the dropdown list.
  5. Rename your new flow module.
  6. Click the Return or Enter key.

Add a new AI request block

To add a new AI request block, do the following:

  1. In the canvas toolbar, click Add icon Block.
  2. Select Magic icon AI Request. You can also search for the block by entering "AI Request" in the search box.
  3. Move your cursor to the location on the canvas where you want to place your new block, and click.

Set up your new AI request block

To set up your new AI request block, do the following:

  1. Click Find or create new request to open a list of your collections that contain AI requests.
  2. Select an AI request. If you want to search for the request, enter your search term in the search box.
  3. If you want to create a new AI request, click Add icon Create a new request (at the end of the list) to open the request editor. For complete instructions, see Create a new AI request.

Run the flow module

From the canvas toolbar, click Run icon Run.

Your new AI request block is ready to use to interact with an AI model.

Last modified: 2025/05/01