Automation library · Money admin

Create and send Pennylane invoices from webhook data

Started by another system calling it, and works across Gmail and Slack. 16 steps, 3 branches, 1 loop or waits: a working afternoon to understand properly.

Medium

16 stepsMedium: a working afternoon
3Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Logic 9Service 6

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

  1. 1WH Receive Invoice DataWebhookStarts it
  2. 2Code Validate PayloadCodeLogic
  3. 3PL Search CustomerHttp RequestService
  4. 4IF Customer ExistsIfLogic
  5. 5Set Customer IDSetLogic
  6. 6PL Create CustomerHttp RequestService
  7. 7Code Build Invoice PayloadCodeLogic
  8. 8PL Create InvoiceHttp RequestService
  9. 9IF Send EmailIfLogic
  10. 10Wait PDF GenerationWaitLogic
  11. 11Code Build NotificationCodeLogic
  12. 12PL Send Invoice EmailHttp RequestService
  13. 13SL Send NotificationSlackService
  14. 14IF Has Notification EmailIfLogic
  15. 15Set Output ResponseSetLogic
  16. 16GM Send NotificationGmailService

How it's built

Starts on
Another system calling it
Steps
16, with 3 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Gmail, Slack
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail and Slack accounts. 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?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

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