Postman

Postman is the world's leading API platform.

Integrate the Postman API with the Bash API

Setup the Postman API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Postman and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Monitor Run Completed from Postman API
Postman + Bash
 
Try it
New Monitor Run Completed from the Postman API

Emit new event when a monitor run is completed. See the documentation

 
Try it
Create Environment with the Postman API

Creates a new environment in Postman. See the documentation

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Run Monitor with the Postman API

Run a specific monitor in Postman. See the documentation

 
Try it
Update Environment Variable with the Postman API

Updates a specific environment variable in Postman. See the documentation

 
Try it

Overview of Postman

The Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.

Connect Postman

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    postman: {
      type: "app",
      app: "postman",
    }
  },
  async run({steps, $}) {
    const data = {
      "auth_token": `=user:NNNNNN`,
    }
    return await axios($, {
      url: `https://api.getpostman.com/me`,
      headers: {
        "X-Api-Key": `${this.postman.$auth.api_key}`,
      },
      data,
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS