Add a web hook button to an email - zapier

Hey guys I use Zapier to pull row data from Google sheets and then use those values to send an email.
I want to give the recipient a way to click a button and this could change a cell in a Google sheet(I would use zapier to achive this)
My idea is to use a web hook to post the data to my zapier URL and then use this as a trigger.
Does anyone know how to embed a button in an email that allows this
Thanks
Rob

David here, from the Zapier Platform team.
That sort of thing is technically possible, but it will look weird to your end user. When you set up your "Catch Hook" Webhook trigger, it will provide you a url. You can put this into any email (or clickable location) and it will trigger the zap whenever it's clicked. You'll need to make sure you put parameters on it so there's data to pass into the zap. For instance:
https://hooks.zapier.com/hooks/catch/12345/abcd?name=Rob
When it's clicked, the user will the raw json response and the zap will be passed the following input:
{
"name": "Rob"
}
for use in other steps.
Hope this helps!

Related

How can I capture URL parameters sent to a google form, and save them to the connected spreadsheet?

I have 2 scripts - one to fire on open trigger, and one to fire on save, I'm not sure which one would work best with function scope etc...
But basically, users are sent to the survey form using a public link, and additional info is added to that link in the form of parameters/queries, such as:
booking=123456
start-at=1429952400
item=1702
I'm trying to have the script save these parameters, or even the entire URL that was used to open the form, preferably on the same row as the survey response, but even if the user doesn't submit the form, I would still like to save the URL as a non-completed survey (hence the on-open and on-save triggers).
I looked into:
function doGet(e) {},
function URL(text) {},
function doPost(e) {},
even console.log(params); and console.log(e);
as well as others and I cannot seem to get access to the URL.
What gives? Should I just code this on my own server and run my own form? I would really like to figure out google scripting but it seems just too cumbersome at this point. Any help or solution would be highly appreciated.
To be clear, I don't think I can use a pre-filled url, because I don't know that parameter values ahead of time, and I don't think you can use hidden fields for pre-filled anyway.
From the question
What gives? Should I just code this on my own server and run my own form? I would really like to figure out google scripting but it seems just too cumbersome at this point. Any help or solution would be highly appreciated.
To be clear, I don't think I can use a pre-filled url, because I don't know that parameter values ahead of time, and I don't think you can use hidden fields for pre-filled anyway.
A prefilled-url could be used to set the answers to all the questions in a Google Form.
Please bear in mind that Google Forms doesn't support hidden questions in the sense of an HTML form does, the way that you could do this is by putting the question on a section that the form response flow never show it but on the prefill view all the sections are displayed.
Regarding using Google Apps Script to handle Google Forms a custom URL query string that is not supported, so if that is a deal-breaker, then you should use other options.
If you like so much Google Apps Script you could use it to create a web application as doGet pass the URL query string / parameters to the server side code and also you could grab them from the client-side code by using the HTML Service.

Anyway to send data from Node-Red to Google Spread sheet for storing in table as dtb?

I'm try to put telemetry data from node red to google sheet for monitoring and stored as dtb. In the past I can create google form and used it as http request to put data to sheet. But now google form has changed link form that i can't use it anymore. Thanks
Thanks for reply. I just use this https://groups.google.com/forum/#!topic/node-red/IO3I0PI_u2g 1
but I need to change some part of url for http request. The new one of google form link has change but we can use old form like in that link and I can find the entityid by looking at parameter from network monitor function in browser :grin:

Can I create a Branch link and then immediately parse it for data without leaving the app?

In my app, a user taps a button and generates a branch link. Elsewhere in the app, I want to provide them the ability to paste that link and then to parse that link for its data, do an appropriate API call to get more data and then show the user some additional screen.
Is this possible in Parse? All of the stuff I've seen before has to do with unpacking a Branch link in didFinishLaunching rather than any random view controller in the app.
Thanks
The use case is possible using any of the two following methods:
1) Using the Branch SDK to parse the link and present the link data for routing. Docs: https://docs.branch.io/pages/apps/ios/#handle-links-in-your-own-app
2) Using Branch Link Read API to manually read the link and then display the link data in the app. Docs: https://docs.branch.io/pages/apps/api/#link-read
Both the methods can be used to read/process the link to get the link data.
Please feel free to reach out us at integrations#branch.io in case of any further questions!

What is the easiest way to send a tweet when a row is updated in a Google Spreadsheet?

So, I have a digital tap list for a bar and I'm using Google Spreadsheets as a back end for the data. When a keg runs out I want for the bar staff to be able to copy and paste the oncoming beer over the row of cells corresponding to the keg that just ran out. What would be the best way to automate a tweet when this happens? So when they change the keg, and once they update the spreadsheet that a tweet is automatically sent out saying what new beer has been put on tap.
As far as connecting to twitter, which uses OAuth, from Apps Script, you'll need to:
reference the sample OAuth1 apps script library. This github repo has the info on how to reference that library, along with sample code for reference.
wire up to Twitter. That repo also has a sample showing integration with Twitter.
The other code you'll need in Apps Script should implement onEdit(e), to handle the edit event. You'll have to do some work to inspect the range to make sure the edit is one you care about.

Double action links

I am building business websites for multiple clients and I would like to be able to create links that do two things at once. Specifically, when visitors click an image on the website, in addition to going to the location the link specifies, I would also like to send a pre-determined text to the business owner's cell phone. Is this possible.
It is indeed possible. You'll need to call a php file with two parameters. One parameter should be the link where the user should be redirected, the other parameter would need to be the message you want to send to the owner.
i.e. your link would need to look like this:
link text or image
Then you need to prepare your php to get these parameters. First you need to send the text message, (tutorial for this can be found on this link: http://davidwalsh.name/send-text-message , and after the message is sent you need to redirect to the link you've got from the parameter. In php, you can read the above sent parameters like
$redirectlink = $_GET['url];
$message = $_GET['message'];
I hope this helps you resolve your issue.

Resources