I followed this short guide by Thiago Alves for sending arbitrary data to Google Sheets from iOS via an iOS Shortcut and a Google Form and it worked like a charm.
In brief, here are the steps:
- Create a Google Form
- Link it to a Google Sheet
- Copy the pre-filled link to your form and edit it to end with
&submit=Submit
and sayformResponse
instead ofviewform
- Use a “Text” shortcut action to insert your data into that link
- Use a “Get contents of URL” action to send your data to your form results sheet
A response link for a form with one question will look something like this:
https://docs.google.com/forms/d/e/<form-id>/formResponse?usp=pp_url&entry.<question-id>=<answer>&submit=Submit
Here’s what my shortcut to save the current URL looks like: