Workflow Gmail et QuickBooks Online
Intermédiaire
Ceci est unInvoice Processing, Multimodal AIworkflow d'automatisation du domainecontenant 11 nœuds.Utilise principalement des nœuds comme Gmail, GmailTrigger, ScheduleTrigger. Workflow Gmail et QuickBooks Online
Prérequis
- •Compte Google et informations d'identification Gmail API
Nœuds utilisés (11)
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
{
"meta": {
"instanceId": "d6e2f2f655b1125bbcac14a4cac6d2e46c7a150e927f85fc96fdca1a6dc39e0e",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "030584dd-ad50-49e3-a12e-49ccd867ae8c",
"name": "Chaque jour à 8h",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-80,
0
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 8
}
]
}
},
"typeVersion": 1.2
},
{
"id": "6b5f5472-b602-4775-b010-5b5a0fe77be5",
"name": "Nouveau reçu par email reçu",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-80,
-192
],
"parameters": {
"filters": {
"labelIds": [
"Label_1709246557347095595"
]
},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"credentials": {
"gmailOAuth2": {
"id": "YVZiLPppXZw84rIU",
"name": "BTMobileGTA Gmail"
}
},
"typeVersion": 1.3
},
{
"id": "bbd5cdaf-905a-4f5d-abb8-ff736e4b5aa9",
"name": "Récupérer le nouveau reçu depuis l'email",
"type": "n8n-nodes-base.gmail",
"position": [
176,
-96
],
"webhookId": "449f7eea-0be5-4d86-a254-ef047b9f8d67",
"parameters": {
"simple": false,
"filters": {
"labelIds": [
"Label_1709246557347095595"
]
},
"options": {},
"operation": "getAll",
"returnAll": true
},
"credentials": {
"gmailOAuth2": {
"id": "YVZiLPppXZw84rIU",
"name": "BTMobileGTA Gmail"
}
},
"typeVersion": 2.1
},
{
"id": "6f5e3ebf-fef1-4508-be4e-0e7d9f106c01",
"name": "Transférer le reçu vers QBO",
"type": "n8n-nodes-base.gmail",
"position": [
416,
-96
],
"webhookId": "0a979bd8-edd5-468e-8eab-4a914e2f80c3",
"parameters": {
"sendTo": "user@qbodocs.com",
"message": "={{ $json.html }}",
"options": {
"appendAttribution": false
},
"subject": "Email Receipt"
},
"credentials": {
"gmailOAuth2": {
"id": "YVZiLPppXZw84rIU",
"name": "BTMobileGTA Gmail"
}
},
"typeVersion": 2.1
},
{
"id": "2c05914d-8b61-4449-b55f-fe280939446c",
"name": "Supprimer l'ancien libellé",
"type": "n8n-nodes-base.gmail",
"position": [
656,
-96
],
"webhookId": "722818d7-391e-428b-b173-fe5bb744f54c",
"parameters": {
"labelIds": [
"Label_1709246557347095595"
],
"messageId": "={{ $('Get New Receipt from Email').item.json.id }}",
"operation": "removeLabels"
},
"credentials": {
"gmailOAuth2": {
"id": "YVZiLPppXZw84rIU",
"name": "BTMobileGTA Gmail"
}
},
"typeVersion": 2.1
},
{
"id": "1cab2ebf-4f27-401c-a65e-d98486d367e7",
"name": "Ajouter le libellé \"Traité\"",
"type": "n8n-nodes-base.gmail",
"position": [
864,
-96
],
"webhookId": "0bf6f5ce-90be-4789-9e1f-415988c600c3",
"parameters": {
"labelIds": [
"Label_3375203355533515697"
],
"messageId": "={{ $('Get New Receipt from Email').item.json.id }}",
"operation": "addLabels"
},
"credentials": {
"gmailOAuth2": {
"id": "YVZiLPppXZw84rIU",
"name": "BTMobileGTA Gmail"
}
},
"typeVersion": 2.1
},
{
"id": "5645be8e-7cfc-47be-b492-9901877fb0d5",
"name": "Note adhésive7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-928,
-752
],
"parameters": {
"width": 736,
"height": 1328,
"content": "## Automatically Forward Email Receipts to QuickBooks Online\n\n## What It Does \nAre you tired of manually uploading email receipts to QuickBooks Online (QBO)? Are your email forwarding rules difficult to set up or unreliable? This n8n workflow automatically forwards your email receipts to QuickBooks Online with minimal configuration.\n\n## Example Use Cases \n- Online purchase and subscription receipts \n- E-transfer confirmations \n- Bills and invoices received from suppliers \n- Expense reports sent by vendors \n- Payment confirmation emails\n- Send other people's emails to QBO, bypassing the forwarding restrictions\n\n## Prerequisites \nTo use this workflow, you'll need: \n- A Gmail account with credentials configured in n8n \n- QuickBooks Online account with receipt forwarding enabled \n\n## How to Set Up Gmail \n1. Search for emails that contain receipts (e.g., subject contains \"Interac E-transfer\") \n2. Create a Gmail filter that automatically applies a specific label to those emails (e.g., \"New E-Transfer\") \n3. Create another label for processed emails to prevent duplicate processing (e.g., \"Processed\") \n\n## How It Works \n1. **Trigger:** The workflow runs when a new receipt is received; a scheduled trigger acts as a failsafe to catch missed emails. \n2. The first Gmail node retrieves emails with the \"new receipt\" label. \n3. The second Gmail node forwards the exact email contents to QuickBooks Online, mimicking a forwarded email. \n4. The workflow removes the original \"new receipt\" label and applies the \"processed\" label to avoid duplicate forwarding. \n\n## How to Use \n- Configure each Gmail node with your Gmail credentials in n8n. \n- Enter your QuickBooks Online receipt forwarding email address in the second Gmail node (e.g., example@qbdocs.com). \n- Set up the appropriate labels in each Gmail node to match your Gmail filter and workflow logic. \n\n## Customization Options \n- Modify the Gmail nodes to download and forward attachments if necessary. \n- Create separate workflows for different types of emails; for example, include vendor information in the subject line (e.g., \"Your Instacart Order Receipt\") to help QuickBooks categorize expenses. \n- Add error handling and notifications to monitor workflow execution. \n\n## Why It's Useful \n- Saves time by automating manual forwarding of receipts to QuickBooks Online. \n- Reduces errors and missed receipts that can occur with manual processing. \n- Keeps your QuickBooks records up-to-date automatically. \n- Provides a scalable solution for handling various receipt types and vendors. \n- Easily customizable to fit your specific email and accounting workflows.\n"
},
"typeVersion": 1
},
{
"id": "214f3e76-bad5-485e-a093-e302642c7adf",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
112,
-192
],
"parameters": {
"color": 7,
"width": 224,
"height": 288,
"content": "This node will look for emails with the label you've selected"
},
"typeVersion": 1
},
{
"id": "813e7187-18e0-4d52-b39c-142de6041603",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
352,
-192
],
"parameters": {
"color": 7,
"width": 224,
"height": 288,
"content": "Please setup your QBO forwarding address here"
},
"typeVersion": 1
},
{
"id": "a50aac4a-8fb7-457b-a3dc-55879f50c547",
"name": "Note adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
592,
-192
],
"parameters": {
"color": 7,
"width": 448,
"height": 288,
"content": "This process prevents duplicate emails from being sent to QBO"
},
"typeVersion": 1
},
{
"id": "3d24c1e3-e40d-4f05-baff-7b5e34bec23b",
"name": "Note adhésive3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
-352
],
"parameters": {
"color": 7,
"width": 256,
"height": 512,
"content": "The workflow executes when a new email with the matching label is received.\n\nA failsafe checks for emails that may have been missed"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"030584dd-ad50-49e3-a12e-49ccd867ae8c": {
"main": [
[
{
"node": "bbd5cdaf-905a-4f5d-abb8-ff736e4b5aa9",
"type": "main",
"index": 0
}
]
]
},
"2c05914d-8b61-4449-b55f-fe280939446c": {
"main": [
[
{
"node": "1cab2ebf-4f27-401c-a65e-d98486d367e7",
"type": "main",
"index": 0
}
]
]
},
"6f5e3ebf-fef1-4508-be4e-0e7d9f106c01": {
"main": [
[
{
"node": "2c05914d-8b61-4449-b55f-fe280939446c",
"type": "main",
"index": 0
}
]
]
},
"bbd5cdaf-905a-4f5d-abb8-ff736e4b5aa9": {
"main": [
[
{
"node": "6f5e3ebf-fef1-4508-be4e-0e7d9f106c01",
"type": "main",
"index": 0
}
]
]
},
"6b5f5472-b602-4775-b010-5b5a0fe77be5": {
"main": [
[
{
"node": "bbd5cdaf-905a-4f5d-abb8-ff736e4b5aa9",
"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.
Workflows recommandés
Créer automatiquement des factures à partir des étiquettes Gmail avec GPT-4O et QuickBooks
Créer automatiquement des factures à partir d'étiquettes Gmail avec GPT-4O + QuickBooks
Code
Gmail
Quickbooks
+
Code
Gmail
Quickbooks
23 NœudsRosh Ragel
Traitement des factures
Envoyer automatiquement le rapport des ventes mensuelles Square par Gmail
Envoyer automatiquement le rapport de vente mensuel de Square via Gmail
If
Code
Gmail
+
If
Code
Gmail
16 NœudsRosh Ragel
Création de contenu
Automatisation de la collecte des détails de facturation et de l'émission de factures clients avec Outlook et QuickBooks
Automatisation de la collecte des détails de facturation et de l'émission de factures clients avec Outlook et QuickBooks
Quickbooks
Form Trigger
Microsoft Outlook
+
Quickbooks
Form Trigger
Microsoft Outlook
15 NœudsRosh Ragel
Traitement des factures
Modèle d'automatisation des dépenses Google Sheets et QuickBooks
Modèle d'automatisation des dépenses Google Sheets et QuickBooks
If
Set
Split Out
+
If
Set
Split Out
16 NœudsRosh Ragel
Traitement des factures
Envoyer automatiquement le rapport des ventes mensuelles Square par Outlook
Envoyer automatiquement le rapport de vente mensuel de Square via Outlook
If
Code
Split Out
+
If
Code
Split Out
16 NœudsRosh Ragel
Extraction de documents
Collecte des détails de facturation client et génération de factures (Gmail et QuickBooks)
Utiliser Gmail et QuickBooks pour collecter les détails des factures clients et générer des factures
Gmail
Quickbooks
Form Trigger
+
Gmail
Quickbooks
Form Trigger
15 NœudsRosh Ragel
Traitement des factures
Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds11
Catégorie2
Types de nœuds4
Description de la difficulté
Auteur
Rosh Ragel
@roshragelLiens externes
Voir sur n8n.io →
Partager ce workflow