Automation library · Money admin

Post approved Trello bookkeeping drafts to Xero

Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. 49 steps, 10 branches: large, and worth reading before you trust it with anything live.

Large

49 stepsLarge: read it before trusting it with anything live
10Branches: places the flow splits
0Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 1Logic 27Service 21

The steps in the order they run, from what starts it.

  1. 1When Trello Card UpdatedTrello triggerStarts it
  2. 2Human Initiated ApprovalCodeLogic
  3. 3Fetch Trello Card CommentsHttp RequestService
  4. 4Parse Draft and Verify UniquenessCodeLogic
  5. 5Check Posting Status to XeroIfLogic
  6. 6Create Error CommentCodeLogic
  7. 7Check If Bank Account NeededIfLogic
  8. 8Send Already Posted CommentHttp RequestService
  9. 9Send Merge Failure CommentHttp RequestService
  10. 10Retrieve Xero AccountsHttp RequestService
  11. 11Configure Xero Posting SetupCodeLogic
  12. 12Label Card as Xero FailureHttp RequestService
  13. 13Check Reference ConfirmationIfLogic
  14. 14Delete Approved Label from CardHttp RequestService
  15. 15Verify Bank Account PreparedIfLogic
  16. 16Draft Reference Confirmation MsgCodeLogic
  17. 17Route by Entry TypeSwitchLogic
  18. 18Prepare Bank Confirmation MessageCodeLogic
  19. 19Determine Reference Comment PostIfLogic
  20. 20Create Spend Money PayloadCodeLogic
  21. 21Create Bill PayloadCodeLogic
  22. 22Retrieve Open BillsHttp RequestService
  23. 23Create Manual Journal PayloadCodeLogic
  24. 24Decide Bank Comment PostingIfLogic
  25. 25Send Reference Required AlertHttp RequestService
  26. 26Delete Approved Label (Ref. Pending)Http RequestService
  27. 27Transmit To Xero APIHttp RequestService
  28. 28Associate Bill with PaymentCodeLogic
  29. 29Send Bank Account Required MsgHttp RequestService
  30. 30Delete Approved Label (Bank Pending)Http RequestService
  31. 31Generate Xero Deep LinkCodeLogic
  32. 32Validate Bill ReadinessIfLogic
  33. 33Send Xero URL CommentHttp RequestService
  34. 34Construct PAY_BILL PayloadCodeLogic
  35. 35Compose Bill Confirmation MessageCodeLogic
  36. 36Refresh Card AttachmentsHttp RequestService
  37. 37Choose Bill Comment PostingIfLogic
  38. 38Setup Attachments for XeroCodeLogic
  39. 39Send Posted Confirmation CommentHttp RequestService
  40. 40Send Bill Required NotificationHttp RequestService
  41. 41Delete Approved Label (Bill Pending)Http RequestService
  42. 42Check for Trello ImagesIfLogic
  43. 43Delete Review Label from CardHttp RequestService
  44. 44Unpack Trello Images for XeroCodeLogic
  45. 45Shift Card to Done ListHttp RequestService
  46. 46Retrieve Trello ImageHttp RequestService
  47. 47Check Trello Download ValidityCodeLogic
  48. 48Compile Attachment ResultsCodeLogic
  49. 49Add Xero AttachmentHttp RequestService

How it's built

Starts on
An event in a connected app
Steps
49, with 10 branches
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 49 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 49 steps before you point it at anything that matters.