Recently I have built an information-sharing platform called TReND-links.
It was designed to allow users (scientists) to insert contact information, allowing other scientists to contact them.
Read about the design here.
Part of the design was to automatically add files to Github, which I thought I could do with Zapier.
Unfortunately, there was no option under “DO THIS” to add a file to Github.
Instead, I had to use Github’s API and Zapier’s “Webhook” output.
All we have to do now is make an Http PUT request to Github’s API.
If you don’t know what this means (as I didn’t) then just follow the steps below!
Set up your triggers according to the input of your Zap (mine was Google Sheets, but it could be any of the others that are supported).
:valuemeans your repo/username/whatever.
Now you’re done!
This Zap will listen for an event you define (Google Sheet row addition in my case), and then create a Github file automatically!