Skip to content
Gallery
DEMO: Habit Tracking with Apple Shortcuts
Share
Explore

icon picker
DEMO: Habit Tracking with Apple Shortcuts

1-circle-c

OVERVIEW

suitcase

Use Case

I have an Apple Shortcut to log my habits. I want to send this data to Coda as well.
spotlight

Highlights

This demo uses the Streaks pack, which gives you the number of days completed between two dates.
You can send a JSON payload with the shortcut. In this case, we’re triggering the webhook with empty data.
Don’t forget to turn on the automation. It’s turned off by default.

us-dollar

Total Cost

Coda Plan: Free | Pack Cost: Free
do-not-drop

Packs Required


Did you enjoy this?
Subscribe to The Coda Magic Daily to get a new demo EVERY DAY, plus all the latest updates on packs and releases! And it’s FREE!

2-circle-c

SUPPORTING PAGES IN THIS DOC (TABLES AND FORMULAS)

None
disney-movies-

THE DEMO!

My Habit
1
2
3
4
5
Date
Completed
Streak
4/5/2024
1
4/6/2024
2
4/7/2024
3
4/8/2024
4
4/9/2024
5
There are no rows in this table

Setting Up The Shortcut

Copy this doc.
Open Shortcuts on your Mac or iPhone
Click the “+” button at the top ​
CleanShot 2024-04-09 at 19.23.38@2x.png
Search for and select “URL” ​
CleanShot 2024-04-09 at 19.24.08@2x.png
Search for and select “Get Contents of URL” ​
CleanShot 2024-04-09 at 19.28.55@2x.png
Create a new webhook automation in your copy of this Coda doc (). ​
CleanShot 2024-04-09 at 19.33.24@2x.png
Click Test Rule to verify that it works.
Turn on the automation at the top of the automation section.
Double-click the URL block at the top and paste the webhook URL. ​
CleanShot 2024-04-09 at 19.29.43@2x.png
On the Get Contents of URL block, click Show more.
Choose POST as the method. Add the Authorization header. ​
CleanShot 2024-04-09 at 19.30.33@2x.png
Click the playbutton to test.
CleanShot 2024-04-09 at 19.34.07@2x.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.