Enregistrer automatiquement les factures PDF de QuickBooks sur Google Drive

Intermédiaire

Ceci est unInvoice Processing, Multimodal AIworkflow d'automatisation du domainecontenant 10 nœuds.Utilise principalement des nœuds comme Webhook, Quickbooks, GoogleDrive, HttpRequest. Sauvegarder automatiquement les PDF des factures QuickBooks dans Google Drive

Prérequis
  • Point de terminaison HTTP Webhook (généré automatiquement par n8n)
  • Informations d'identification Google Drive API
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "X5xw7yGGTbOO90W2",
  "meta": {
    "instanceId": "1a54c41d9050a8f1fa6f74ca858828ad9fb97b9fafa3e9760e576171c531a787"
  },
  "name": "Automatically Save QuickBooks Invoice PDFs to Google Drive",
  "tags": [],
  "nodes": [
    {
      "id": "ff7c6a74-195d-42db-b841-a18979f064db",
      "name": "QuickBooks Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -220,
        1300
      ],
      "webhookId": "{YOUR_WEBHOOK_ID}",
      "parameters": {
        "path": "quickbooks-invoice",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 1
    },
    {
      "id": "9283af9a-547a-4576-a006-c8555d1bb64b",
      "name": "Obtenir une facture",
      "type": "n8n-nodes-base.quickbooks",
      "position": [
        400,
        1300
      ],
      "parameters": {
        "resource": "invoice",
        "invoiceId": "={{ $json.body.eventNotifications[0].dataChangeEvent.entities[0].id }}"
      },
      "typeVersion": 1
    },
    {
      "id": "0d766411-d37d-4b61-8f57-7bab86a501fe",
      "name": "Téléverser un fichier",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1560,
        1300
      ],
      "parameters": {
        "name": "={{ $json[\"CustomerRef\"][\"name\"] + \"_\" + $json[\"TxnDate\"] + \".pdf\" }}\n",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "{YOUR_GOOGLE_DRIVE_FOLDER_ID}",
          "cachedResultUrl": "https://drive.google.com/drive/folders/{YOUR_GOOGLE_DRIVE_FOLDER_ID}",
          "cachedResultName": "n8n"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "7516bcdd-188d-4e9f-b4c8-2fb70a874e84",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        1440
      ],
      "parameters": {
        "color": 5,
        "width": 360,
        "height": 400,
        "content": "**Step 1: Webhook Trigger Activated!** 🪝📢\n\n\nThis node is the starting point of the workflow.\n\nIt listens for new invoice creation events in QuickBooks.\n\nWhat it does:\n\n📡 Captures the invoice creation event in real time.\n\n📦 Passes the new invoice data instantly into the workflow.\n\n🔄 Removes the need for manual checks or scheduled polling.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "2786e56f-95c0-47da-8649-4a98d658e4af",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        820
      ],
      "parameters": {
        "color": 4,
        "width": 460,
        "height": 440,
        "content": "### Step 2: Invoice Data Fetcher 📄🔍\n\nThis node uses the **Get an Invoice** operation to pull full details of the invoice from QuickBooks.\n\nWhy this step is important:\n\n- ✅ Retrieves complete and up-to-date invoice information.\n- 📊 Captures fields like invoice number, date, customer.\n- 🧾 Ensures the Google Sheet reflects the exact state of the invoice at the moment of the event.\n\nIt’s the step that turns a simple event notification into a fully detailed record. 📥✨\n"
      },
      "typeVersion": 1
    },
    {
      "id": "07455a09-ddbc-43a7-87ac-bf3ecc8917aa",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        780,
        1460
      ],
      "parameters": {
        "width": 460,
        "height": 380,
        "content": "### Step 3: Invoice PDF Generator 🖨️📂\n\nThis node sends an **HTTP Request** to QuickBooks to generate a downloadable PDF version of the invoice.\n\nWhy this step is important:\n\n- 🖨️ Converts the invoice data into a ready-to-download PDF format.\n- 📂 Ensures a consistent, professional layout directly from QuickBooks.\n- 🔗 Provides a file link that can be shared, stored, or sent to customers.\n\nIt’s the step that transforms invoice details into a polished, printable document. 📄✨\n"
      },
      "typeVersion": 1
    },
    {
      "id": "5de6c6e9-d40a-48cf-8b13-b769d08ed607",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        860
      ],
      "parameters": {
        "color": 6,
        "width": 480,
        "height": 400,
        "content": "### Step 4: Google Drive PDF Uploader ☁️📤\n\nThis node uses the **Upload File** operation in Google Drive to store the PDF invoices in your chosen folder.\n\nWhy this step is important:\n\n- 📤 Saves each invoice PDF securely in Google Drive.\n- 📂 Keeps all invoices organized in a dedicated folder of your choice.\n- 🔄 Enables easy access, sharing, and long-term storage.\n\nIt’s the step that moves your invoices from generation to safe, cloud-based storage. 🗂️✨\n"
      },
      "typeVersion": 1
    },
    {
      "id": "3467b040-a23a-4225-bfbe-b500dd2e7d65",
      "name": "Générer un fichier PDF",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        940,
        1300
      ],
      "parameters": {
        "url": "=https://quickbooks.api.intuit.com/v3/company/{{ $node[\"QuickBooks Webhook\"].json[\"body\"][\"eventNotifications\"][0].realmId }}/invoice/{{ $node[\"QuickBooks Webhook\"].json[\"body\"][\"eventNotifications\"][0].dataChangeEvent.entities[0].id }}/pdf\n",
        "options": {},
        "sendHeaders": true,
        "authentication": "predefinedCredentialType",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/pdf"
            }
          ]
        },
        "nodeCredentialType": "quickBooksOAuth2Api"
      },
      "typeVersion": 4.2
    },
    {
      "id": "8d83b1bf-90c1-49d9-b8e4-a326e98c8e14",
      "name": "Note adhésive4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        500
      ],
      "parameters": {
        "color": 3,
        "width": 580,
        "height": 620,
        "content": "## 🛠️ Prerequisites\n\nBefore running this workflow, make sure the following are set up:\n\n1. **QuickBooks Webhook Configuration**  \n   - Connect the **production URL** of your webhook to the **Intuit Developer Portal** for your specific company.  \n   - Ensure **Invoice** events are subscribed and activated (e.g., create, update, delete).\n\n2. **Google Account Integration**  \n   - Connect your **Google Client Credentials**.  \n   - Enable the following APIs:  \n     - 📂 Google Drive \n\nOnce these are in place, your workflow will seamlessly capture and upload every invoice change in real time. 🚀📊\n"
      },
      "typeVersion": 1
    },
    {
      "id": "3929a8d0-2d15-43f7-96d2-5f9d4d47f0b7",
      "name": "Note adhésive5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1580,
        1520
      ],
      "parameters": {
        "color": 6,
        "width": 320,
        "height": 360,
        "content": "### Get in Touch\n\nPlease feel free to reachout to us, if you need any help in settin up this workflow.\n\nWe can also help customize workflow pet the use-case. \n\nReach out us at: getstarted@intuz.com\n\nWebsite: https://www.intuz.com/\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "fef985a4-392f-4161-b6e5-a3e9876010e6",
  "connections": {
    "9283af9a-547a-4576-a006-c8555d1bb64b": {
      "main": [
        [
          {
            "node": "3467b040-a23a-4225-bfbe-b500dd2e7d65",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3467b040-a23a-4225-bfbe-b500dd2e7d65": {
      "main": [
        [
          {
            "node": "0d766411-d37d-4b61-8f57-7bab86a501fe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff7c6a74-195d-42db-b841-a18979f064db": {
      "main": [
        [
          {
            "node": "9283af9a-547a-4576-a006-c8555d1bb64b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Traitement des factures, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds10
Catégorie2
Types de nœuds5
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Intuz

Intuz

@intuz

Workflow automation can help automate your routine activities and help saves $$$, as well as hours of time. As a boutique tech consulting company, Intuz help businesses with custom AI/ML, AI Workflow Automations, and software development. Automate your business workflow for: Sales Marketing Accounting Finance Operations E-Commerce Customer Support Admin & Backoffice Logistics & Supply Chain

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34