Automation library · Money admin

Extract invoice data from PDF with Claude

Started by another system calling it. It calls services over plain HTTP rather than through connectors. 24 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 4Logic 13Service 7

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

  1. 1Receive Invoice PDFWebhookStarts it
  2. 2PDF to Base64Extract From FileService
  3. 3ConfigurationSetLogic
  4. 4Prepare Claude RequestCodeLogic
  5. 5Claude AI ExtractHttp RequestService
  6. 6Parse ExtractionCodeLogic
  7. 7Error ResponseRespond To WebhookStarts it
  8. 8Odoo AuthenticateHttp RequestService
  9. 9Prepare Duplicate CheckCodeLogic
  10. 10Search Duplicate InvoiceHttp RequestService
  11. 11Duplicate Found?IfLogic
  12. 12Handle DuplicateCodeLogic
  13. 13Prepare Vendor SearchCodeLogic
  14. 14Duplicate ResponseRespond To WebhookStarts it
  15. 15Search VendorHttp RequestService
  16. 16Vendor Exists?IfLogic
  17. 17Use Existing VendorCodeLogic
  18. 18Prepare Create VendorCodeLogic
  19. 19Prepare InvoiceCodeLogic
  20. 20Create Vendor in OdooHttp RequestService
  21. 21Create Invoice in OdooHttp RequestService
  22. 22Get New Vendor IDCodeLogic
  23. 23Build ResponseCodeLogic
  24. 24Success ResponseRespond To WebhookStarts it

How it's built

Starts on
Another system calling it
Steps
24, with 2 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 another system calling it.

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 24 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 24 steps before you point it at anything that matters.