• Using Siri Shortcut Parameters

@Hemmik#146722 thanks voor het laten weten, we gaan het sowieso workarounden in de app als er siri shortcuts binnen komen :)

    Love this a lot so far but I have (so far) one small issue. The "Show card" command does not seem to pass the value further. What I am trying to do is to make a shortcut to switch card between two accounts based on the current one, but if I put If condition after the Show card it only allows me to check whether there is a value or not and not for the actual contents of the value (even though the value shows correctly during runtime). Am I doing something wrong?

      @Mar#146763 What exactly are you trying to do? ("Show Card"'s output is the account that the card is linked to currently)

        @Andreas#146773 Basically I want to have a shortcut that switches between two accounts similar to this:

        But I’m not able to set the condition as it only allows to check whether there is some value but doesn’t allow me to check for a specific value.

          @Mar#146774 You're running into a limitation of Siri Shortcuts: you cannot compare objects such as bank accounts to anything useful. If you want to compare against the name of the bank account, you have to convert it to text first:

          It's a bit of a hassle, but Siri Shortcuts is pretty limited with custom objects (such as Bank Accounts) at the moment.

            @Mar#146774 alternatively, this could also work:

            Except that you can't reference the name later on as text

              @Andreas#146777 Awesome, thanks a lot. I didn't realize that the name would resolve into the text value of the account.

                This is really awesome!
                I have been wanting this so badly!

                My only nitpick would be, that the "top up from own account" Action does not allow us to specify a description.
                But now it is possible to automate the cash tracking so much! No more clicking through the sending dialog and launching the app :D it all works from the shortcut widget! very awesome.

                  Is it possible to use shortcuts without open the bunq App? Every time I will use a shortcut there is an error and I should open the app. If I have open the app and login I can return to shortcuts and use it without an error.
                  Do you use an other setting for login/logout?

                    @seppo#146963 You can try to configure the shortcut steps with your user instead of having it set to "Logged in user"

                      @Roeshimi#146964 That‘s what I have. Every step is with my useraccount and not logged in user.

                      If I should open the app before I can use a shortcut it’s buggy for automatations

                        @seppo#146965 OK. I have various shortcuts that work flawlessly and they do not prompt me to open the bunq app. It can happen that you are asked if you want to allow a shortcut to open bunq, which you have to allow but only once.
                        What did you configure your shortcut to do?
                        What is your autologout setting in the bunq app?

                          @Roeshimi#146967 Haha perhaps it’s the autologout setting which is 5 minutes. What are your setting for a flawlessly use?

                            • FMaster

                              @seppo#146968 What I do is at the start of the shortcut add the tasks 'Open App' bunq and 'Wait to return'. When you run the shortcut it opens the bunq app, you login there and tap the top-left corner of your screen '< shortcuts' to continue with the rest of the tasks.

                                @Xander#146972 But that’s not really a automation which do things in the background for me

                                  • FMaster

                                    @seppo#146974 Unless you replace the app tasks with raw API calls (get url contents) this is the best you can do with short auto logout times, while keeping the security reasons of that feature. The alternative being a long timeout like a day, so you only login once a day manually and the shortcuts run in the background. But then you could just as well disable it completely.

                                      @seppo#146968 One week in my case, but I'm sure that's not required. I would go for a few hours and see if it works for you

                                        @reckter#146886 that seems like a useful addition perhaps

                                          @JohnDo#146143 Habe auch versucht es so einzurichten. Sobald ich die Tankstelle erreiche wird die Karte meinem Tank Konto zugewiesen. Aber danach bricht das Script ab und die Karte bleibt beim Tank Konto. Wie hast du es eingerichtet?

                                            @JohnDo#146143 When you say "Arrive at the gas station" I assume you are using Shortcut automation and the "When I arrive at" trigger for that. Does the automation run without your interaction? When I'm using location based triggers, I always have to confirm that I really want to run the action.