BrowseWiz Logo
BrowseWiz on Discord
Part of n8n workflow: Webhook triggers folder creation, configuration, and sends a message via Gmail.

How To Run Any n8n Workflow With BrowseWiz: n8n Invoices and Receipts Aggregation Workflow Example

T
Tom

You've mastered building powerful workflows in n8n, but launching them often means context switching or relying on static triggers. What if you could kick off those complex processes with simple, natural language commands, right where you work? Enter BrowseWiz. By connecting your n8n webhooks as custom 'Tools', you transform your browser's side panel into an intelligent command center for your automations. Let's bridge that gap and make triggering your favorite workflows effortless!

Connecting Your n8n Workflow as a BrowseWiz Tool

  1. Start with your n8n workflow triggered by a Webhook node (ensure it's set to POST).

  2. Add tool item in BrowseWiz

    • In BrowseWiz side panel (click extension icon in top-right or Alt+B on Windows or Option+B on Mac) click wrench icon on the top (Tools)

    • Choose "Manage tools"

    • Enter some tool name

    • Copy Webhook URL (make sure it is a POST Webhook, only POST is supported at the moment of writing this) and paste in "Endpoint URL" field

    • Add JSON Schema of the Webhook body like:

      {
        "name": "descriptiveNameofTheWorkflow",
        "description": "Describe the workflow shortly here.",
        "parameters": {
          "type": "object",
          "properties": {
            "some_body_property": {
              "type": "string",
              "description": "Replace this property with your own and describe it, so that LLM understands it."
            },
          }
        }
      }
    • (Optional) Add secure header for Header Auth

    • Click "Add tool"

  3. Ask BrowseWiz to run the workflow. See specific example below.

Screenshot of BrowseWiz extension options page with following tools added: create calendar event, update calendar event and upload invoices from mails to dirve

Chat interface showing a command to upload invoices and send an email, with a confirmation message of successful upload and email.

n8n invoices and receipts aggregation workflow steps

Let's walk through a practical example anyone might appreciate: automatically finding invoices/receipts in emails, classifying them using AI within n8n, and uploading them. Here's the n8n workflow breakdown:

  1. Create folder in Google Drive for uploading invoices and receipts.

  2. Get all emails with attachments from mailbox.

  3. Filter only PDF attachments.

  4. Classify all PDF attachment contents with AI model (is it receipt or invoice?)

  5. Upload receipts and invoices to created Google Drive folder and send email with the attachments to my accountant.

Flowchart showing a process from webhook response to reading PDFs, with steps for folder creation, configuration, Gmail, filtering, and iteration.Flowchart showing a process for handling PDFs, checking text limits, merging data, and sending emails with attachments to an accountant.

How to run n8n invoices and receipts aggregation workflow in BrowseWiz

  1. Modify parameters in "Configure" node

  2. Add your credentials

  3. Follow "How to run any n8n workflow with BrowseWiz" above. Add following JSON Schema:

    {
      "name": "getInvoicesAndReceiptsFromEmails",
      "description": "Finds and uploads to Google drive all receipts and invoices from emails within a specified date range.",
      "parameters": {
        "type": "object",
        "properties": {
          "startDate": {
            "type": "string",
            "format": "date-time",
            "description": "The start date of the range to search for emails. Must be in ISO 8601 format."
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "description": "The end date of the range to search for emails. Must be in ISO 8601 format."
          },
          "sendEmail": {
            "type": "boolean",
            "description": "Indicates whether to send an email with all receipts and invoices after processing. Must be true or false."
          }
        },
        "required": [
          "startDate",
          "endDate"
        ]
      }
    }

    This will allow BrowseWiz to send HTTP POST requests to the Webhook with body like:

    {
      "startDate": "2025-03-01T00:00:00Z",
      "endDate": "2025-04-01T00:00:00Z",
      "sendEmail": true
    }
  4. Ask BrowseWiz to run n8n invoices and receipts aggregation workflow, e.g. "upload invoices for the last month"

  5. Enjoy!

Work with BrowseWiz

If you would like to have a custom setup for BrowseWiz - contact us!

Bonus: n8n invoices and receipts aggregation workflow code!

You can copy the n8n invoices and receipts aggregation workflow from the official n8n website.