Skip to content
FlowHubFluxonLab
C
General Automationfree

Post approved Trello bookkeeping drafts to Xero with receipt attachments

by Kristianadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeHTTP RequestHTTP Request
Share Post Share
TrWhen Trello Card UpdatedWhen Trello Car…HRFetch Trello Card CommentsFetch Trello Ca…CoParse Draft and Verify UniquenessParse Draft and…IfCheck Posting Status to XeroCheck Posting S…IfCheck If Bank Account NeededCheck If Bank A…HRSend Already Posted CommentSend Already Po…SwRoute by Entry TypeRoute by Entry …CoCreate Spend Money PayloadCreate Spend Mo…CoCreate Bill PayloadCreate Bill Pay…CoCreate Manual Journal PayloadCreate Manual J…HRTransmit To Xero APITransmit To Xer…CoGenerate Xero Deep LinkGenerate Xero D…HRSend Xero URL CommentSend Xero URL C…HRSend Posted Confirmation CommentSend Posted Con…HRDelete Review Label from CardDelete Review L…HRShift Card to Done ListShift Card to D…CoCreate Error CommentCreate Error Co…HRSend Merge Failure CommentSend Merge Fail…HRLabel Card as Xero FailureLabel Card as X…HRDelete Approved Label from CardDelete Approved…HRRetrieve Xero AccountsRetrieve Xero A…CoConfigure Xero Posting SetupConfigure Xero …IfVerify Bank Account PreparedVerify Bank Acc…CoPrepare Bank Confirmation MessagePrepare Bank Co…HRSend Bank Account Required MsgSend Bank Accou…HRDelete Approved Label (Bank Pending)Delete Approved…HRRetrieve Open BillsRetrieve Open B…CoAssociate Bill with PaymentAssociate Bill …IfValidate Bill ReadinessValidate Bill R…CoCompose Bill Confirmation MessageCompose Bill Co…HRSend Bill Required NotificationSend Bill Requi…HRDelete Approved Label (Bill Pending)Delete Approved…CoConstruct PAY_BILL PayloadConstruct PAY_B…IfCheck Reference ConfirmationCheck Reference…CoDraft Reference Confirmation MsgDraft Reference…HRSend Reference Required AlertSend Reference …HRDelete Approved Label (Ref. Pending)Delete Approved…IfCheck for Trello ImagesCheck for Trell…CoUnpack Trello Images for XeroUnpack Trello I…HRAdd Xero AttachmentAdd Xero Attach…CoCompile Attachment ResultsCompile Attachm…HRRefresh Card AttachmentsRefresh Card At…CoSetup Attachments for XeroSetup Attachmen…IfDetermine Reference Comment PostDetermine Refer…IfDecide Bank Comment PostingDecide Bank Com…IfChoose Bill Comment PostingChoose Bill Com…HRRetrieve Trello ImageRetrieve Trello…CoHuman Initiated ApprovalHuman Initiated…CoCheck Trello Download ValidityCheck Trello Do…
1/5
STEPS · 67
Starts on a Trello event

Quick overview This workflow listens for an “Approved” label on a Trello card, reads the AI draft bookkeeping JSON from card comments, and posts the corresponding transaction to Xero. It then adds a Xero deep link back to Trello, uploads receipt images as Xero attachments, and moves the card to Done. How it works Triggers in Trello when a user adds the configured Approved label to a card on the target board. Fetches the card’s comments, extracts the ` payload, validates required fields, and skips processing if a ` sentinel comment already exists. For SPEND_MONEY and PAY_BILL entries, pulls active Xero bank accounts and resolves the bank account and payment reference from the draft and any reviewer comments, pausing to request confirmation on the Trello card if values are ambiguous. For PAY_BILL entries, fetches open supplier bills from Xero and either matches the payment to a single ACCPAY invoice or asks the reviewer to confirm the bill in a Trello comment. Builds and posts the appropriate Xero record (Bank Transaction, Bill, Payment, or Manual Journal) via the Xero API and generates a Xero deep link for the created entity.

Tags

n8nreference-only
Connects
CCodeWHTTP Request
CategoryGeneral Automation
Triggermanual
Complexityadvanced
Nodes49
AddedJul 5, 2026
CW
free

Draft bookkeeping entries from Trello cards with OpenRouter and Xero

Quick overview This workflow triggers from Trello card activity to draft bookkeeping entries by extracting transaction details with OpenRouter and enriching them with live Xero chart-of-accounts, tax rates, contacts, and bill context, then posts a review-ready summary and embedded JSON back to the Trello card. How it works Triggers from Trello when a card is moved to the Ready list or when the Retry AI label is added. Fetches the current Xero chart of accounts, bank accounts, and tax rates to use as live reference data. Loads the Trello card details, recent comments, and attachment metadata and stops with an error note if the text lacks enough detail for extraction. Sends the card title/description/comments to OpenRouter to extract a structured bookkeeping draft and normalizes key fields like dates, line items, and payment reference. Uses Xero Contacts (and, for bill payments, Xero Invoices) to resolve the vendor and refine PAY_BILL vs SPEND_MONEY before optionally asking OpenRouter to classify expense line items to Xero account codes. Validates and maps any suggested account codes against the live Xero chart of accounts, embeds Xero configuration needed for posting later, and reco

by Kristian
CW
free

Upload CSV test cases to Qase and send completion alerts to Slack

Quick overview This workflow upload test cases from a CSV file into Qase App and sends a confirmation message to your Slack channel. How it works Receives a form submission containing a public CSV URL and a selected Qase project option. Downloads the CSV file from the provided URL and extracts its rows into individual test-case items. Maps each row into the JSON payload Qase expects (including project code, fields like severity/priority/type, and optional parsed steps). Creates the test cases in Qase by sending a POST request per item to the Qase Cases API for the mapped project. Aggregates the upload responses into a single result. Sends a Slack incoming-webhook message confirming the test case upload is complete. Setup Create a Qase API token and add it to the Qase HTTP Header Auth credentials used for the Qase API request. Create a Slack Incoming Webhook, paste the webhook URL into the Slack notification HTTP request node, and customize the message text if needed. Ensure the uploaded CSV is publicly accessible via URL and uses the expected columns (for example: title, description, preconditions, postconditions, severity, priority, type, layer, behavior, automation, and optional

by Viktor Mikeska
CW
free

Poll and download received invoice PDFs with KSeF Gateway to disk storage

Quick overview This workflow runs every 20 minutes to poll a self-hosted KSeF Gateway for newly received KSeF invoices, maintains a cursor checkpoint in n8n static data, downloads each new invoice PDF via the gateway API, and saves the files to local disk. How it works Runs every 20 minutes on a schedule. Reads the last successful polling checkpoint from the workflow’s static data and calls the KSeF Gateway /ksef/invoices/received/new endpoint with the since cursor. If the gateway response is unsuccessful, records the error details for alerting and leaves the checkpoint unchanged so the next run retries the same window. If the response is successful, stores the returned nextSince value as the new checkpoint. If new invoices are returned, processes each invoice summary individually. Downloads each invoice PDF from the KSeF Gateway /ksef/invoice/{ksefNumber}/pdf endpoint and saves it to the configured local folder. Outputs invoice metadata (number, seller, amount, and saved file path) as a placeholder where you can plug in notifications (Slack, email, or Discord). Setup Deploy and configure a self-hosted KSeF Gateway (https://github.com/jurczykpawel/ksef-gateway) with a token or cert

by Pawel Jurczyk