Templates / Parse WhatsApp invoice images with Gemini and sync payments to HubSpot and Slack

Parse WhatsApp invoice images with Gemini and sync payments to HubSpot and Slack

Ready for 3.0

by iamvaar ✓ · 50 views · created 2026-06-09 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 21 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, HubSpot and Slack. It also calls generativelanguage.googleapis.com and api.hubapi.com over HTTP.

How it runs

Trigger: On WhatsApp events (messages).

  1. Check Message Type (If): checks a condition and branches into true / false
  2. Get WhatsApp Media Metadata (WhatsApp Business Cloud): media url get
  3. Download WhatsApp Media (HTTP Request): calls an HTTP API
  4. Binary to base (Extract from File): extracts data from a file (binary to propery)
  5. Parse Invoice with Gemini (HTTP Request): calls generativelanguage.googleapis.com (POST)
  6. Clean and Parse JSON Response (Code): runs custom JavaScript code
  7. If: checks a condition and branches into true / false
  8. Route by Workflow Path (Switch): routes items into 3 branches
  9. If: checks a condition and branches into true / false
  10. Search HubSpot Deals (HubSpot): search

…plus 10 more steps. See the full node list below.

Services it uses

WhatsApp Business CloudHubSpotSlack

HTTP calls to: generativelanguage.googleapis.com, api.hubapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview Youtube Video: https://youtu.be/KwK7vf58WZs This workflow captures invoice images/documents from WhatsApp, extracts structured invoice data with Google Gemini, and syncs the result to HubSpot by creating vendor-payment tasks or closing matching…

Excerpt from iamvaar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.