Postbot in Flows

Postman's AI assistant Postbot can help build and debug your flows. You can tell Postbot what you want to do in plain language, and Postbot will add the necessary blocks and write your FQL and TypeScript.

Postbot in Flows is a beta feature available to users with the Postbot add-on. The Postbot add-on is available with Postman Free, Basic, and Professional plans.

Use Postbot to help build your flow

Postbot understands plain language and can help build the flows you describe. For example, you can open a chat with Postbot focused on an HTTP Request block and enter "Output how many keys are in the headers field". Postbot will create blocks and write FQL or TypeScript to output the result.

To have Postbot help build your flow, do the following:

  1. In your flow, drag and drop Postbot icon the Postbot icon from the upper right corner of the canvas onto a block, or select a block and use the P keyboard shortcut. A shadow around the block indicates Postbot is focused on it.

    Postbot in Flows
  2. Select Prompt Postbot and enter a prompt telling Postbot what you want to do.

  3. Select Send message button the Send message button. Postbot adds the necessary blocks and FQL or TypeScript.

    Postbot helps build a flow

    In this example, Postbot added Evaluate and Display blocks, and wrote the TypeScript in the Evaluate block.

  4. To close the Postbot chat, drag and drop the Postbot icon to an empty space on the canvas or select the Esc key.

Last modified: 2024/06/05