Shortcuts
Automatically Log Apple Pay Transactions in Lode
With iOS Shortcuts, you can automatically save Apple Pay purchases to Lode right after you tap to pay.
This setup uses Lode's Add Transaction shortcut action. It reads the Apple Pay amount, merchant, and date from the Wallet automation, then creates an expense in Lode and tries to match the category automatically.
Requirements
iPhone with
iOS 18or laterApple Pay set up with at least one card
LodeinstalledAt least one account already created in Lode
Step-by-Step Setup
Step 1: Create a New Automation
Open the
Shortcutsapp on your iPhone.Open the
Automationtab.Tap
+.Select
Wallet.

Step 2: Choose the Wallet Trigger
Select the card you want to track.
Select the payment categories you want the automation to react to.
Set the automation to
Run Immediately.Turn off
Notify When Run.Tap
Next.

Step 3: Add the Lode Action
Tap
Create New Shortcut.Search for
Lode.Select
Add Transaction.

Step 4: Pass the Apple Pay Data to Lode
Now map the Wallet values into the Lode action.
Set Amount:
Tap the
Amountfield.Tap
Select Variable.Choose
Shortcut Input.Tap
Shortcut Inputagain and selectAmount.

Set Merchant:
Tap the
Merchantfield.Tap
Select Variable.Choose
Shortcut Input.Tap
Shortcut Inputagain and selectMerchant.

Set Date:
Tap the
Datefield.Tap
Curent Date.Leave
Default settings

Set Account:
Tap the
Accountfield.Choose the Lode account that matches this card.
This step is important. Setting the account manually is the most reliable setup.

Step 5: Final Shortcut Settings
Turn off
Show When Run.Tap
Doneto save the shortcut.Tap
Doneagain to save the automation.

You're all set. The next time you pay with Apple Pay using that card, Lode will try to save the transaction automatically.
How It Works
Every time you pay with Apple Pay using the selected card:
The Wallet automation runs automatically.
Apple Pay sends the transaction data into the
Add Transactionaction.Lode reads the amount, infers the currency when possible, and uses your selected account as the fallback currency.
Lode uses the merchant name to pick the closest matching expense category.
Lode saves the transaction to the account you selected.
If the merchant cannot be matched confidently, Lode falls back to the closest available expense category.
Tips
Create one automation per card and set the
Accountfield explicitly in each one.Match your Lode account names to your Wallet card names if you want better fallback account matching.
Unlock your iPhone before tapping to pay. Wallet automations are more reliable when the phone is already unlocked.
Important Notes
This setup creates
expensetransactions only.Category selection is based on the merchant name and your existing expense categories in Lode.
If the account currency differs from the payment currency, Lode will try to convert the amount before saving.
Some merchants, terminals, online checkouts, or card providers may not trigger the Wallet automation consistently. This is a Shortcuts limitation, not a Lode-specific one.
Troubleshooting
The automation does not run
Make sure the automation is set to
Run Immediately.Make sure
Notify When Runis turned off and the automation is enabled.Unlock your phone before paying.
Check that you paid with the same card selected in the automation.
Test again with an in-store Apple Pay payment. Some online flows do not trigger Wallet automations reliably.
The transaction is not saved
Make sure the shortcut action is
Add Transaction.Check that the
Amountfield is mapped fromShortcut Input -> Amount.Open Lode and verify that at least one account exists.
The wrong account is used
Open the shortcut and set the
Accountfield manually to the correct Lode account.If you leave
Accountempty, Lode may fall back to matching by card name or use the first available account.
The wrong category is used
Lode chooses a category from your existing expense categories based on the merchant name.
Rename categories to be clearer if similar merchants keep landing in the wrong place.
The amount or currency is wrong
Re-check that
Amountis mapped toShortcut Input -> Amount.Check that the selected
Accountin Lode uses the currency you expect for this card.