AutomationMart
Home/Browse/Parse WhatsApp invoice images with Gemini and sync payments to HubSpot and Slack
n8n

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

n8nn8n21 modulesv1.0
HubSpotSlackWhatsAppGemini

Quick Overview 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 deals, while sending confirmations back on WhatsApp and raising exceptions to Slack. How it works 1. Triggers when a new WhatsApp message is received. 2. Checks that the message contains an image or document, then fetches the media URL and downloads the attachment. 3. Converts the do

At a glance

Parse WhatsApp invoice images with Gemini and sync payments to HubSpot and Slack is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects HubSpot, Slack, WhatsApp, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
HubSpot, Slack, WhatsApp, Gemini
Modules
21
Price
Free
Version
v1.0
Parse WhatsApp invoice images with Gemini and sync payments to HubSpot and Slack workflow diagram

About this workflow

Quick Overview 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 deals, while sending confirmations back on WhatsApp and raising exceptions to Slack. How it works 1. Triggers when a new WhatsApp message is received. 2. Checks that the message contains an image or document, then fetches the media URL and downloads the attachment. 3. Converts the downloaded file to base64 and sends it to the Google Gemini API to extract structured invoice details as JSON. 4. Validates that the attachment is an invoice and routes it based on the extracted invoice direction and status. 5. For Payable invoices that are not marked as paid, searches HubSpot for a matching contact by WhatsApp phone number, creates a HubSpot task associated with that contact, sends a confirmation back via WhatsApp, and posts the invoice details to Slack. 6. For Receivable invoices, searches HubSpot for deals linked to the contact and matching the extracted invoiceid, then closes the deal as won and thanks the sender on WhatsApp when a match is found. 7. Posts alerts to Slack when the invoice status is unknown or when no HubSpot deal is found for a receivable invoice. Setup 1. Connect WhatsApp Business credentials for the WhatsApp Trigger and WhatsApp send actions, and set the correct phone number ID. 2. Add Google Gemini (Google PaLM) API credentials and update the prompt/company name (currently "blankarray") to match your business. 3. Connect HubSpot OAuth2 credentials and ensure your deals include an invoiceid property and your associations/contact phone fields support the workflow’s searches. 4. Connect Slack credentials and select the target channel IDs for the Slack notification steps.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send custom email notifications and messages to Slack using Make

Automatically send personalized email notifications and Slack messages using Make. Connect CustomMailHook with Slack to enhance communication and engagement.

Free

Create Harvest projects from new Slack messages

Every time a new message is posted to a selected Slack channel, Make will automatically create a new project in Harvest.

Free

Add new HubSpot CRM contacts to Retently as a new customers

Every time a new contact is created in HubSpot CRM, Make will automatically add that contact to Retently as a new customer.

Free

Respond to public channel Slack messages with ChatGPT completions

Send Slack messages based on ChatGPT completions. When a new message is detected in a public Slack channel, generate a response using ChatGPT and send it back to Slack.

Free

Send Slack messages for new Copper opportunities

Every time a new opportunity is added on Copper, Make will automatically send a message on Slack.

Free

Create (or update) a HubSpot CRM contact from a Facebook Lead Ads form submission

Every time a new Facebook Lead Ads form is submitted, Make will automatically create a HubSpot CRM contact (or update it if it already exists).

Free

Generate YouTube shorts using WayinVideo AI and upload clips to Google Drive

Description Paste any video URL in chat — YouTube, podcast, webinar, anything — and this n8n workflow automatically finds the best short clips using WayinVideo AI, adds captions, reframes to 9:16 vertical format, and uploads everything directly to your Google Drive. No editing software, no manual work. Just paste and done. Built for content creators, marketers, and agencies who want to repurpose long-form video into viral short clips on autopilot. --- What This Workflow Does This automation hand

Free

AI-Powered Post-Sales Call Automated Proposal Generator

AI-Powered Proposal Generator - Sales Automation Workflow Overview This n8n workflow automates the entire proposal generation process using AI, transforming client requirements into professional, customized proposals delivered via email in seconds. Use Case Perfect for agencies, consultants, and sales teams who need to generate high-quality proposals quickly. Instead of spending hours writing proposals manually, this workflow captures clie

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free