Templates / Export PDF invoices from SmartBill to Google Drive

Export PDF invoices from SmartBill to Google Drive

Ready for 3.0

by Codez & AI ✓ · 953 views · created 2025-02-12 · Invoice Processing

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-10-19.

What this workflow does

This workflow has 13 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. SetData (Edit Fields (Set)): sets or maps fields
  2. Set Default Folder Name (Code): runs custom JavaScript code
  3. Search Drive Folder (Google Drive): uses Google Drive
  4. If: checks a condition and branches into true / false
  5. Set Folder ID (Edit Fields (Set)): sets or maps fields
  6. Create Drive Folder (Google Drive): uses Google Drive
  7. Set the loop (Code): runs custom JavaScript code
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Smartbill get invoice pdf (HTTP Request): calls an HTTP API
  10. Set mime (Code): runs custom JavaScript code

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

Services it uses

Google Drive

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 (8)

From the author

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…

Excerpt from Codez & AI'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.