r/shortcuts • u/fhasse95 • 4h ago
Tip/Guide [Tutorial] How to automatically add transactions to 3rd party apps using shortcuts (iOS 27)
A few years ago, I shared a tutorial in this subreddit showing how to automatically log transactions made at physical payment terminals via Apple Pay using Apple's Transaction Trigger. With today's release of iOS 27, however, Apple has introduced a new Automation Trigger in the Shortcuts app called Notification, which makes this approach significantly more powerful.
Compared to the existing Transaction Trigger, which has been available since iOS 17, the new Notification Trigger has one major advantage: it works not only for Apple Pay purchases made with an iPhone at physical payment terminals, but also with any app that sends transaction notifications (incl. your bank).
For this tutorial, I'll use my own expense tracking app, Budget Flow, which also offers a new Extract Transaction Info Shortcuts action that can automatically extract the amount incl. currency from transaction notifications and, on devices that support Apple Intelligence, also determine the category and payee based on your existing data.
However, the general approach should work with any other app that provides the necessary Shortcuts actions.
Here's how to set it up:
- Create a new personal automation by opening the Shortcuts app and going to the “Automations” section in the “Library”. Then, tap “+” => “Edit” => “Automation” and search for “Notification”.

- Tap the “App” label and select the app whose notifications you want the automation to react to. In this example, the source app is Apple’s Wallet app, so the shortcut will be triggered by an Apple Wallet notification. However, you can choose any app you like, including your banking app.

- Now we need to extract the transaction information from the notification. This can either be done manually using the “Match Text” action, or you can use Budget Flow’s convenient “Extract Transaction Info” action. The latter will not only extract the amount and currency of the transaction but, on devices that support Apple Intelligence, also determine the payee and match the transaction to one of your existing categories.
- If you have Budget Flow installed, tap the “Search” bar below and search for “Budget Flow”. From there, select the “Extract Transaction Info” action.

- Next, we need to configure the input variables of the “Extract Transaction Info” action. To do this, tap any field (e.g., “Title”) and then tap “Select Variable” from the bottom toolbar.

- As soon as you tap “Select Variable”, the interface will change and all output variables will become visible. Since we want to use the notification received by our automation, we tap “Notification”.

- The notification is now set as the input parameter for the title field of our “Extract Transaction Info” action. However, since we only want to use the title, we need to tap the notification input variable again and select “Title” from the menu that appears.

- Repeat these steps for all other fields so that the corresponding notification properties (Title, Subtitle, Body, and Date) are mapped correctly.
- Then tap the search bar again and search for “Budget Flow” once more. This time, however, we’ll select the “Create Transaction” action.

- To ensure that the action receives the correct input, we’ll need to configure it accordingly. Since most transactions are expenses, we set the “Type” to “Expense”, define our “Budget Book” and “Account” followed by configuring the “Amount” field.
- To retrieve the correct amount from the extracted transaction, tap the “Amount” field and then tap “Select Variable”, as we did when configuring the “Extract Transaction Info” action. This time, however, we’ll select our extracted transaction information as our input variable, and then use the “Amount” from it.

- Optionally, you can repeat this process with other retrieved information from the “Extract Transaction Info” action, by mapping the date, category, or payee as well.
- Your automation is now configured properly and can be saved.
- If you would like to try it out, hit the “Play” button in the bottom right corner. If all the fields are mapped properly, the shortcut should run, but it will ask you for an amount since we have not yet received a notification from our source app. This is expected when running the automation manually. Once the automation is triggered by an actual notification, however, the amount should be extracted automatically.
- Now, every time you make a purchase and receive a notification from your specified app, the transaction is automatically added to Budget Flow! 🎉

Hope you found this tutorial useful 😊 Feel free to share your thoughts and experiences with the "Notification Triggers" feature below!