Feeling (Cronios + IFTTT) is shortcut that asks you hourly how you are feeling. Working with Cronios, the shortcuts scheduler for iOS, Feeling (Cronios + IFTTT) records your dictated text to a Google Sheet via the IFTTT Maker Webhook.
This post shows you how you can integrate four services:
- Google Sheets
- IFTTT
- Shortcuts
- Cronios
to create complex, automated actions. For a simpler version of this shortcut that just writes to a tab-delimited text file, look at Feeling (Cronios + Text).
Let’s set up each of the four services:
Google Sheets Set Up
This shortcut requires a free Google account.
- Go to Google Sheets.
- Create a new sheet.
- Give it the name `Feeling Log`. Record the Google Sheet ID (it’s the long string at the end of the URL).
IFTTT Configuration
This shortcut requires a free IFTTT account.
- Create a New Applet.
- Tap `+ this`.
- Choose `Webhooks`.
- Tap `Receive a web request`.
- Enter `Feeling` in the Event Name field.
- Tap `Create trigger`.
- Tap `+ that`.
- Choose `Google Sheets`.
- Tap `Add row to spreadsheet`.
- Enter `Feeling Log` in the Spreadsheet name field.
- Enter `{{OccurredAt}} ||| {{EventName}} ||| {{Value1}} ||| {{Value2}}` in the Formatted row field.
- Tap Create action.
- Tap Finish.
Shortcuts
- Get Cronios, if you don’t already have it.
- Get the Feeling (Cronios + IFTTT) shortcut.
- Open Feeling (Cronios + IFTTT).
- Go through the configuration screens. These will appear the first time you run the shortcut.
- Enter your IFTTT Maker Webhook API key.
- Enter the IFTTT Maker Event Name `Feeling`.
- Enter the ID of your Google Sheet.
- Enter the language Siri should use.
- Enter the voice Siri should use.
- Enter the language you’ll be responding in.
- Enter the prompt to be spoken to you prior to dictation.
Cronios Set Up
Here’s how you get it set up:
- Get the Feeling (Cronios + IFTTT) shortcut.
- Create a new cron job in Cronios.
- Set a schedule for the cron job (i.e. * 8-22 1-31 1-12 *).
- Point the cron job to run the `Feeling (Cronios + IFTTT)` shortcut.
- Enable the cron job.
- Save your changes.
- Run Cronios.
What you’ve done is you have set up a new scheduled shortcut that runs every hour from 8 am to 8 pm every day. As long as Cronios is running, the Feeling (Cronios + IFTTT) shortcut will run each hour. Your response will be recorded to the Google Sheet Feeling Log
using the IFTTT webhook applet.