Automation library · Money admin

Parse WhatsApp invoice images with Gemini and Slack

Started by an incoming WhatsApp message, and works across HubSpot, Slack and WhatsApp. 21 steps, 5 branches: large, and worth reading before you trust it with anything live.

Large

21 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Logic 6Service 14

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

  1. 1When WhatsApp Message ReceivedWhats App triggerStarts it
  2. 2Check Message TypeIfLogic
  3. 3Get WhatsApp Media MetadataWhats AppService
  4. 4Download WhatsApp MediaHttp RequestService
  5. 5Binary to base64Extract From FileService
  6. 6Parse Invoice with GeminiHttp RequestService
  7. 7Clean and Parse JSON ResponseCodeLogic
  8. 8If Valid InvoiceIfLogic
  9. 9Route by Workflow PathSwitchLogic
  10. 10IfIfLogic
  11. 11Search HubSpot DealsHubspotService
  12. 12Post Update to SlackSlackService
  13. 13Search HubSpot ContactsHubspotService
  14. 14Fetch HubSpot Deal DataHttp RequestService
  15. 15Create HubSpot TaskHttp RequestService
  16. 16If Deal FoundIfLogic
  17. 17Send WhatsApp Task ConfirmWhats AppService
  18. 18Update HubSpot DealHubspotService
  19. 19Post Alert to SlackSlackService
  20. 20Post Task to SlackSlackService
  21. 21Send WhatsApp Deal UpdateWhats AppService

How it's built

Starts on
An incoming WhatsApp message
Steps
21, with 5 branches
Size
Large: read it before trusting it with anything live
Connects to
HubSpot, Slack, WhatsApp
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own HubSpot, Slack and WhatsApp accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming WhatsApp message.

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