Postman is the world's leading API platform.
Emit new event when a monitor run is completed. See the documentation
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Updates a specific environment variable in Postman. See the documentation
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.
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,
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}