Append row to Google Spreadsheet

1,944 views
Skip to first unread message

mr.ga...@gmail.com

unread,
Aug 29, 2016, 10:40:15 AM8/29/16
to Automate
Hi,

Has anyone come across a way to append a line of text to Google Docs/Spreadsheet?
The lack of which has resulted my flow having to
(1) Download the whole document from Google
(2) Append a line to that file
(3) Upload the modified document

As you can imagine over time as my file size increases this Download/Upload business is going to be slow and costly.

Henrik "The Developer" Lindqvist

unread,
Aug 29, 2016, 3:21:21 PM8/29/16
to Automate

Automate user

unread,
Sep 3, 2016, 12:08:58 PM9/3/16
to Automate
Thanks for the quick response. I found writing a Google Apps Script that receives JSON data works for me.
Here's a link for anybody else wanting to receive post data  https://developers.google.com/apps-script/guides/web

Wojtek Kuncewicz

unread,
Feb 17, 2017, 5:30:12 AM2/17/17
to Automate
Hello,
I found another solution to update Google Spreadsheets.

1. Plugin from tasker: 
2. curl via google forms -> google spreadsheet for example:
curl -k https://docs.google.com/forms/d/e/%FORM_NUMBER%/formResponse -d ifq -d entry.%FIRST%=%VALUE1% -d entry.%SECOND%=%VALUE2% -d submit=Submit

%FORM_NUMBER% - google form id
%FIRST% - 1st field-name
%VALUE1% - 1st field-value
etc

3. Via culr with Google API
%SPREADSHEET_ID% - google spreadsheet id number
%TOKEN_ID% - token from google api like  'ya29.Glv0A-bZjCzads[...]'

Is there any others solution for updating google spreadsheets with variables from automate?

Henrik "The Developer" Lindqvist

unread,
Feb 17, 2017, 3:29:42 PM2/17/17
to Automate
How many more solutions to you need, doesn't three suffice?

Automate user

unread,
Feb 19, 2017, 4:45:32 AM2/19/17
to Automate
Ahh nice one Wojtek. Google forms never crossed my mind. Well done :)

Wojtek Kuncewicz

unread,
Feb 20, 2017, 3:09:48 AM2/20/17
to Automate
yes, its ok but I was thinking sth like... function in automate like 'gmail send' or 'google drive upload'.
I would like to use function instead of alternatives tools for example curl. It would be easier i think.

Henrik "The Developer" Lindqvist

unread,
Feb 20, 2017, 4:29:36 AM2/20/17
to Automate
It's already on the to-do list. But there's so many APIs, making a custom block for each and every one has low priority.

freddix...@gmail.com

unread,
Jun 28, 2017, 11:19:43 PM6/28/17
to Automate
sorry to bring this up again. the spreadsheettasker plugin is having much difficulty updating the spreadsheet. 
so i found a tasker method to post to a google forms and have been trying to convert to automate [link here] and have gotten stuck on how to populate the block with the data.
I get an error , essentially a syntax error i guess trying to set the for variable to my data variable ie [entry.548313995 = %mydata1, entry.1410521298= %mydata2}. the error doesnt like the "."
I figured if it could work in tasker I could make it work, but as i said im stuck.
Reply all
Reply to author
Forward
0 new messages