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 can also find and fix errors in your flows.
Postbot understands plain language and can help build the flows you describe. For example, you can open a chat with Postbot focused on a Send 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:
In your flow, drag and drop the Postbot icon onto a block, or select a block and use the keyboard shortcut P. A shadow around the block indicates Postbot is focused on it.
Select Send a message here and enter a prompt telling Postbot what you want to do.
Select the Send message icon . Postbot tells you what it's going to do and then adds the necessary blocks and FQL or TypeScript.
In this example, Postbot added the Evaluate and Display blocks, and wrote the TypeScript in the Evaluate block.
To close the Postbot chat, drag and drop the Postbot icon to an empty space on the canvas or select the Esc key.
Postbot automatically detects errors in your flow and offers to fix them. When you select a block with an error, you can select Fix with AI to fix the error using Postbot.
To fix an error in your flow with Postbot, do the following:
Select the block with the error, and select Fix with AI.
Postbot analyzes the error, fixes it, and describes what it did.
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