GenAiHub

Last checked 24 November 2026 — responded normally.

Export PDF invoices from SmartBill to Google Drive

This workflow automates the retrieval of invoice PDFs from the Smartbill API and saves them to Google Drive in a dynami…

Live
Open / InstallLast updated November 24, 2026

Description

This workflow automates the retrieval of invoice PDFs from the Smartbill API and saves them to Google Drive in a dynamically created folder based on last month’s date. It also generates a range of invoice numbers, ensuring proper formatting, and uploads each PDF with a structured filename. Overview Trigger and Data Setup: The workflow is manually triggered. It sets the invoice range (start and end numbers), invoice series, the parent Google Drive folder ID and the folder where to save the PDF files. Folder Handling: Folder Name Calculation: Calculates a default folder name based on last month’s date (formatted as YYYY-MM). Invoice Generation: A code node generates invoice items by iterating over a specified range of numbers. Each invoice number is padded to custom number of digits (e.g., 0013), and the invoice series and folder ID are attached to each item. Retrieving Invoice PDFs: For each generated invoice, the Smartbill API is called (using an HTTP Request node) to retrieve the corresponding invoice PDF. How to Use Credentials:** Ensure you have configured the Smartbill API (HTTP Basic Auth) and Google API credentials correctly. Parameter Adjustment:** Modify the SetData node if you need to change the invoice range, series, or target parent folder. Execution:** Click Execute Workflow to run the workflow manually. An n8n automation workflow template by Codez & AI.

Community Metrics

Views
1,026
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Codez & AI

Platform

web

Pricing model

paid

Categories

  • Automation

Tags

  • n8n
  • workflow
  • http-request
  • google-drive
  • code

Capabilities

  • 3 nodes
  • 1,026 views

Information

TypeWorkflow
Sourcen8n
AddedSeptember 3, 2026

Comments

?

Others in the same category, ranked by how often they are opened.