# Create and send multi-item PayPal invoices: n8n workflow

> Started by someone submitting a form. It calls services over plain HTTP rather than through connectors.

Source: https://millionrounds.com/workflow/create-and-send-multi-item-paypal-invoices (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Money admin](https://millionrounds.com/workflows?category=Money+admin#library)

# 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

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-and-send-multi-item-paypal-invoices)

**22 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Logic 15 Service 6

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

- 1 **Collect Invoice Details** Form trigger *Starts it*
- 2 **Reformat JSON** Code *Logic*
- 3 **Prompt for Additional Line-Item** Form *Service*
- 4 **Merge Base Invoice & Add-Item Decision** Merge *Logic*
- 5 **Loop: More Items?** Switch *Logic*
- 6 **Strip Add-Item Loop Metadata** Code *Logic*
- 7 **Remove Add Decision** Code *Logic*
- 8 **Set Invoice Number and Date** Code *Logic*
- 9 **PayPal | Encode Basic Auth Token** Code *Logic*
- 10 **Add Another Item** Form *Service*
- 11 **Combine New Items Into Master List** Merge *Logic*
- 12 **Remove Client ID and Secret Key** Set *Logic*
- 13 **Fetch OAuth Token** Http Request *Service*
- 14 **Reformat newItem JSON** Code *Logic*
- 15 **Append newItem into items with currency_code** Code *Logic*
- 16 **Merge Invoice Creation Response & Preview Data** Merge *Logic*
- 17 **Merge Updated Items & Add-Item Decision** Merge *Logic*
- 18 **Prompt for Additional Line-Item 1** Form *Service*
- 19 **Call PayPal Create Invoice** Http Request *Service*
- 20 **Add href link for Preview** Merge *Logic*
- 21 **Get Preview URL** Code *Logic*
- 22 **Dispatch Invoice via PayPal** Http Request *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-and-send-multi-item-paypal-invoices)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also money admin, with the same services where possible, closest in size first.

- [**Create cinematic quote videos with Google Drive** 22 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/create-cinematic-quote-videos-with-google-drive)
- [**Create daily quote videos from Google Sheets with Zvid** 22 steps · Google Sheets](https://millionrounds.com/workflow/create-daily-quote-videos-from-google-sheets-with-zvid)
- [**Invoice management system with Gmail and Google Sheets** 22 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/invoice-management-system-with-gmail-and-google-sheets)
- [**Send payment reminders and cancel unpaid Shopify orders** 22 steps · Gmail](https://millionrounds.com/workflow/send-payment-reminders-and-cancel-unpaid-shopify-orders)
- [**Extract and organize Colombian invoices with Gmail and OpenAI** 22 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/extract-and-organize-colombian-invoices-with-gmail-and-opena)
- [**Extract invoice data from Gmail PDFs** 22 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/extract-invoice-data-from-gmail-pdfs)
