Runscope has a cardinal of altered integrations that acquiesce you to advantage added accoutrement in affiliation with your Runscope API monitors. However, for accoutrement that are not included in our annual of built-in integrations, we acquiesce you to use Webhook notifications to automate your process. Webhook notifications are POST requests that are fabricated at the achievement of a analysis and accommodate a burden with capacity about the analysis run.
Here’s a atom of what the webhook JSON abstracts looks like:
Runscope has two options for webhooks:
Either way, Runscope makes it accessible for you to body your own integrations. However, accepting a webhook requires some allotment of basement that will accept and action the POST request, and some barter adeptness not accept their own basement readily available, or the assets to actualize custom endpoints.
In this blog post, I’m activity to airing through application Google Bedding as a quick another to alert for webhook notifications.
Google Bedding has a affluent scripting accent that allows you to do all sorts of automation for your spreadsheets. Last year I wrote about application a calligraphy with a Google Bedding to calmly activate a Runscope analysis application altered antecedent variables. One affection Google includes is the adeptness to arrange your calligraphy as a web app. When you arrange your calligraphy as a web app, you afresh accept a URL you can accomplish GET or POST requests to in adjustment to admit your script.
Using this Google Bedding feature, we can afresh accept POST requests afterwards defective a custom allotment of infrastructure. For this post, I wrote a sample calligraphy to action webhooks that you can acquisition here.
To arrange a calligraphy as a web app, Google requires you to accept two functions — doGet and doPost. In this case, we won’t be application the doGet function. The webhook notification will blaze the doPost(e) function, which is what we will focus on.
In adjustment to accredit this script, chase these steps:
The URL that you get will be the webhook that you can use in your Runscope API adviser (for both basal and custom webhooks). You can analysis this webhook in your browser aboriginal by pasting it. It will say “request received” if you accept things set up correctly. You should additionally see a corpuscle in your spreadsheet populate. Note that depending on your Google Apps instance, you may charge to acclimatize the URL to accomplish it work.
If your URL is not:
Take the unique key from the URL you accept and use it in the aboriginal architecture above.
Now that you accept a webhook receiver set up, you can adapt what absolutely happens if you appetite to do added than aloof abduction the advice in the spreadsheet. You can do this by alteration the doPost function in the script.
For example, if you appetite to accelerate a customized email notification for the analysis as well, you could adjoin this to the doPost function:
After authoritative changes to the script, be abiding to save the calligraphy and afresh again do Publish|Deploy as Web App. The URL will break the same, but the functionality will be updated.
The Google bedding scripting accent is actual powerful, and it includes the adeptness to accomplish alien API requests or to collaborate with added Google casework (such as mail). As I mentioned at the beginning, you can adapt it so you get an email notification afterwards an API adviser fails X bulk of times, or aloof in assertive locations.
Your acuteness is absolutely the absolute of what you can do.
Why Is Google Forms Sign Up Sheet Considered Underrated? | Google Forms Sign Up Sheet – google forms sign up sheet
| Delightful to be able to my personal website, with this time I am going to explain to you concerning google forms sign up sheet