Open link generated by triggering webhook

We’re triggering a webhook to accomplish the following:

  1. Client wants to download statement :white_check_mark:
  2. Clicks button :white_check_mark:
  3. Statement downloads

Between 2 and 3 we want the following to happen:

  • Glide sends data to webhook :white_check_mark:
  • Airdocs generates a download link to the correct statement
  • Glide/the client’s browser opens the URL

We have created the webhook in Pipe Dream that calls the Airdocs API and generates the correct download URL. This is a temporary URL to allow a private document to be downloaded. The webhook returns the URL in it’s response.

However, we aren’t sure how to “tell Glide” to open the download URL.

You either have to pre-generate that link before the user wants to download it, and set the button action to “open link” so the user can download, OR generate the doc on click, and send it via email to the user.

Your initial idea would require updating the doc link back to Glide, and it is likely to be too slow for the user experience.

1 Like