Your progress is saved locally. to save it permanently.

0 of 6 steps0%
1

Set Up Agent Mode and Create Environment File

Set up Agent Mode by selecting Claude Sonnet 4.6 as your model and configuring Agent Mode to Auto Run.

You can set Agent Mode context in one of two ways:

  • Click on the element you want to use as context, such as a collection name or request.
  • Use the @ command and select your desired context.

Use Agent Mode to create an Environment file called Banking.local — set the collection as context and send this prompt:

Agent Mode Prompt: Create an Environment Variable file called Banking.local

Switch to your new environment using the Environment Selector dropdown in the top right corner.

Important: After setting values, click the Share button (or Persist All) in the environment editor to sync your values to the cloud. LiftOff validates via the Postman API, which can only see shared/initial values — not local current values.

2

Set the Base URL as a Collection Variable

Use Agent Mode to replace all hardcoded localhost URLs with a reusable collection variable. Ensure the Collection is set as the context before running.

Set the collection as context and send this prompt:

Agent Mode Prompt: For all the requests in this collection, add https://ai-powered-bootcamp-production.up.railway.app as a environment variable called baseUrl and update all the URLs in the collection to use {{baseUrl}}.

Verify that the baseUrl variable has been automatically populated in the Variables tab.

Important: After setting values, click the Share button (or Persist All) in the environment editor to sync your values to the cloud. LiftOff validates via the Postman API, which can only see shared/initial values — not local current values.

3

Generate and Set the API Key

Send the Generate API Key GET request, then verify that the environment variable has been set in the Environment tab next to the AI Panel on the top right corner.

Note: Go to your Environments on the side panel and set the apiKey value to sensitive.

Important: After setting values, click the Share button (or Persist All) in the environment editor to sync your values to the cloud. LiftOff validates via the Postman API, which can only see shared/initial values — not local current values.

4

Add Post-Request Script for fromAccount

Set the fromAccount request as context and send this prompt:

Agent Mode Prompt: Programmatically add a post-response script that parses the response body, reads the accountId field, and saves its value as an environment variable called fromAccount in the Banking.local environment.

Send the fromAccount request and verify that the variable appears in the Variables tab.

5

Add Post-Request Script for toAccount

Set the toAccount request as context and send this prompt:

Agent Mode Prompt: Programmatically add a post-response script that parses the response body, reads the accountId field, and saves its value as an environment variable called toAccount in the Banking.local environment.

Verify the variables are populated by sending both requests, then send the GET List All Accounts request to view the randomly generated accounts.

6

Add Post-Request Script for New Transaction

Set the Create new transaction request as context and send this prompt:

Agent Mode Prompt: Programmatically add a post-response script that parses the response body, reads the transactionId field, and saves its value as an environment variable called transactionId in the Banking.local environment.

Send the request to see the ID populated. Now, if you send the GET Transaction by ID request, you should see a 200 OK response.