Publish a flow to the Postman cloud

You can publish a flow to the cloud so it can be triggered with a webhook. This enables your flow to be run automatically in the cloud.

Basic concepts of Postman Flows and webhooks

Webhooks are a way for one system to tell another system that some information has changed. It works similarly to push notifications on a phone. Instead of constantly checking your email app to see if there's any new mail, the email app sends a notification to you that a new email has been received. Many services today with APIs also offer webhooks as a way to communicate between their system and yours.

When a flow is published to the cloud, the flow will run each time it receives a webhook event from another service. This is useful because the flow can be run automatically and doesn't need your computer to be on, since these flows run on Postman's cloud.

Publish your flow

In the sidebar, under Applications, select Webhook to generate a webhook and upload your local flow to Postman's cloud.

Publish to the cloud

You can use the generated webhook in a request to trigger your published flow. The Webhook section in the sidebar counts how many requests your flow's webhook has received. Select the number of requests to see more details about them.

Inspect requests

Select Preview to test the webhook locally. You can add a request body to simulate incoming webhook data.

Select Publish to re-upload your flow to Postman's cloud after making changes to your flow.

Select the more actions icon More actions icon to configure the webhook, view the published version of your flow, or unpublish the flow. You can configure what incoming data your webhook receives (Only Body or Full Request), and if the server will respond with the default response or with an empty body.

Important

Every time you publish a flow, Postman saves your collections and environments. If you make any changes to these, you will need to republish.

To see a published flow's live logs, select the more actions icon More actions icon > View published version > View Live Logs.

View live logs

Trigger the webhook

Often when working with webhooks, a third-party service sends data to your published flow's webhook. You can give the webhook URL under Webhook in the sidebar to the other service so they can send data to it. Once that's set up, you can view the live logs and see what the requests from the other service looks like to use as your test data. Flows can also be manually run by making a request to the Webhook URL.

Last modified: 2024/06/05


Postmanaut dancing. Illustration.