Отсканируй на iPhone, чтобы установить
📊 Next Payments Widget – Workflow Description
This shortcut creates a widget that displays your upcoming payment information in one glance. It automatically fetches the next scheduled payment and shows the amount, due date, and payment status.
🔄 How it works
-
Trigger
- The shortcut runs automatically when the widget refreshes or when you tap the widget.
-
Fetch Payment Data
-
Sends a request to the payment API / data source.
-
Retrieves:
- Next payment amount
- Due date
- Payment description (subscription / bill name)
- Payment status
-
-
Parse & Validate Data
- Extracts the relevant fields from the API response.
- Checks if a next payment exists.
- Handles empty, overdue, or error states gracefully.
-
Format Display
- Formats the date into a readable format.
- Formats the amount with currency.
- Builds a short summary text for the widget.
-
Display in Widget
-
Shows:
- 💰 Amount
- 📅 Due date
- 🧾 Payment name / reference
- ⚠️ Status if overdue or failed
-
-
Optional Actions
- Tap widget to open the payment page or dashboard.
- Refreshes automatically on widget update.
✅ Benefits
- Quickly see your next payment without opening an app.
- Always up-to-date information.
- Clean and minimal widget display.
- Saves time and avoids missed payments.
Что нового
Версия 1.0
First release
Что делает
Действий: 2-
Text
-
Quick Look
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color teal
#define glyph creditCard
const Text = "📅 Next Payments\n\nNetflix – 12 Feb – €9.99\nSpotify – 18 Feb – €5.99\niCloud – 25 Feb – €2.99"
quicklook(Text)
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Вам также может понравиться
Реклама