I have set up the Connection to the Xero app. When I was redirected to Xero to authorise, it said that the token will only be active for 30 minutes.
The flow I set up to create a new Xero Invoice when a new email is received in Gmail worked great, however, the next day it failed because the Xero Token Expired.
It is not really useful to have these flows that only work for 30 minutes after the app connection is made.
I did some looking and it seems that it is because Activepieces uses the Xero Access Token, when it needs to use a Xero Refresh Token that automatically refreshes the tokens until the connection with the app is disconnected manually. See here
Can someone please tell me if I am wrong and how to fix it or can the Xero connection be updated to allow for long term authorisation please?
Thank you.