Automation library · Money admin

Create and send multi-item PayPal invoices

Started by someone submitting a form. It calls services over plain HTTP rather than through connectors. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 1Logic 15Service 6

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

  1. 1Collect Invoice DetailsForm triggerStarts it
  2. 2Reformat JSONCodeLogic
  3. 3Prompt for Additional Line-ItemFormService
  4. 4Merge Base Invoice & Add-Item DecisionMergeLogic
  5. 5Loop: More Items?SwitchLogic
  6. 6Strip Add-Item Loop MetadataCodeLogic
  7. 7Remove Add DecisionCodeLogic
  8. 8Set Invoice Number and DateCodeLogic
  9. 9PayPal | Encode Basic Auth TokenCodeLogic
  10. 10Add Another ItemFormService
  11. 11Combine New Items Into Master ListMergeLogic
  12. 12Remove Client ID and Secret KeySetLogic
  13. 13Fetch OAuth TokenHttp RequestService
  14. 14Reformat newItem JSONCodeLogic
  15. 15Append newItem into items with currency_codeCodeLogic
  16. 16Merge Invoice Creation Response & Preview DataMergeLogic
  17. 17Merge Updated Items & Add-Item DecisionMergeLogic
  18. 18Prompt for Additional Line-Item 1FormService
  19. 19Call PayPal Create InvoiceHttp RequestService
  20. 20Add href link for PreviewMergeLogic
  21. 21Get Preview URLCodeLogic
  22. 22Dispatch Invoice via PayPalHttp RequestService

How it's built

Starts on
Someone submitting a form
Steps
22, with 1 branch
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 someone submitting a form.

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