Automation library · Money admin

Invoice processing with Slack

Started by an event in a connected app, and works across Google Drive and Slack. It hands the judgement calls to Azure OpenAI. 25 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Azure OpenAI

25 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 4Service 17

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

  1. 1Slack File Upload TriggerSlack triggerStarts it
  2. 2Azure OpenAI Chat ModelLm Chat Azure Open AiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4Create a billQuickbooksService
  5. 5Create a bill1QuickbooksService
  6. 6Get a fileSlackService
  7. 7OCR Extraction and Classification AgentAgentModel
  8. 8Download FileHttp RequestService
  9. 9Edit FieldsSetLogic
  10. 10Upload fileGoogle DriveService
  11. 11Send Approval RequestSlackService
  12. 12Share fileGoogle DriveService
  13. 13Check ApprovalIfLogic
  14. 14Azure OCR POST RequestHttp RequestService
  15. 15Check VendorHttp RequestService
  16. 16Send Rejection NotificationSlackService
  17. 17WaitWaitLogic
  18. 18IfIfLogic
  19. 19Azure OCR GET RequestHttp RequestService
  20. 20Create Bill1Http RequestService
  21. 21Create a vendorQuickbooksService
  22. 22Get Chart of AccountsHttp RequestService
  23. 23Send Success NotificationSlackService
  24. 24Create BillHttp RequestService
  25. 25Send Success Notification1SlackService

How it's built

Starts on
An event in a connected app
Steps
25, with 2 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Slack
Model
Azure OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Drive and Slack accounts, and a key for Azure OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Azure OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 25 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 25 steps before you point it at anything that matters.