Synchronisation FTP vers le cloud

Intermédiaire

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 9 nœuds.Utilise principalement des nœuds comme Ftp, GoogleDrive, SplitInBatches, ScheduleTrigger. Transférer automatiquement des fichiers FTP vers Google Drive par lots

Prérequis
  • Informations d'identification Google Drive API
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": {
    "templateCredsSetupCompleted": false
  },
  "name": "FTP to Cloud Sync",
  "nodes": [
    {
      "id": "262d1e91-d950-41a4-8a27-afeb44c9744d",
      "name": "⏯️ Déclencheur Planifié",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -144,
        64
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "44decf50-8cb4-4eba-bd60-67f963e1d939",
      "name": "📂 Lister les Fichiers FTP",
      "type": "n8n-nodes-base.ftp",
      "position": [
        80,
        64
      ],
      "parameters": {
        "path": "/path/to/your/files",
        "operation": "list"
      },
      "credentials": {
        "ftp": "ftp_credentials"
      },
      "typeVersion": 1
    },
    {
      "id": "821ff817-5e79-4d81-8fc5-980c76517d87",
      "name": "🔀 Traiter les Fichiers par Lots",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        304,
        64
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "7535c279-523e-4d07-bc8d-de3424456236",
      "name": "⬇️ Télécharger le Fichier FTP",
      "type": "n8n-nodes-base.ftp",
      "position": [
        528,
        -16
      ],
      "parameters": {
        "path": "={{ $json.name }}",
        "options": {}
      },
      "credentials": {
        "ftp": "ftp_credentials"
      },
      "typeVersion": 1
    },
    {
      "id": "b6f0df47-0de0-4636-8939-1fbe748da310",
      "name": "☁️ Téléverser vers Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        752,
        64
      ],
      "parameters": {
        "name": "={{ $json.name }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "root",
          "cachedResultName": "/ (Root folder)"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": "google_drive_credentials"
      },
      "typeVersion": 3
    },
    {
      "id": "a62179dc-9d84-42b9-953b-0d584763b1bc",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -272
      ],
      "parameters": {
        "color": 4,
        "width": 448,
        "height": 544,
        "content": "## 1. Trigger & File Listing\n\n*The workflow starts automatically using a Schedule trigger.\n\nIt connects to the FTP server and retrieves a list of files from the given remote folder path.*"
      },
      "typeVersion": 1
    },
    {
      "id": "1cdca185-0cc4-4a2d-97cd-7a467d4df82b",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        -272
      ],
      "parameters": {
        "color": 3,
        "width": 208,
        "height": 544,
        "content": "## 2. Batch Processing Setup\n\n*Files are split into manageable batches so each file is handled one at a time.\n\nThis avoids overloading the system and ensures smooth sequential processing.*"
      },
      "typeVersion": 1
    },
    {
      "id": "333bf0b6-aeb7-422a-83ae-e2fa5d448814",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -272
      ],
      "parameters": {
        "color": 5,
        "height": 544,
        "content": "## 3. File Handling\n\n*Each batch item (file) is downloaded from the FTP server.\n\nThe downloaded file is prepared for the next step (upload).*"
      },
      "typeVersion": 1
    },
    {
      "id": "58997636-96c2-4f25-9795-3f8fbc83d293",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        -272
      ],
      "parameters": {
        "width": 192,
        "height": 544,
        "content": "## 4. Cloud Upload\n\n*Files are uploaded to Google Drive.\n\nThe filename from FTP is retained during upload for consistency.*"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "821ff817-5e79-4d81-8fc5-980c76517d87": {
      "main": [
        [],
        [
          {
            "node": "7535c279-523e-4d07-bc8d-de3424456236",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "262d1e91-d950-41a4-8a27-afeb44c9744d": {
      "main": [
        [
          {
            "node": "44decf50-8cb4-4eba-bd60-67f963e1d939",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "44decf50-8cb4-4eba-bd60-67f963e1d939": {
      "main": [
        [
          {
            "node": "821ff817-5e79-4d81-8fc5-980c76517d87",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b6f0df47-0de0-4636-8939-1fbe748da310": {
      "main": [
        [
          {
            "node": "821ff817-5e79-4d81-8fc5-980c76517d87",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7535c279-523e-4d07-bc8d-de3424456236": {
      "main": [
        [
          {
            "node": "b6f0df47-0de0-4636-8939-1fbe748da310",
            "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 - Création de contenu, 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œuds9
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
Avkash Kakdiya

Avkash Kakdiya

@itechnotion

🚀 Founder of iTechNotion — we build custom AI-powered automation workflows for startups, agencies, and founders. 💡 Specializing in agentic AI systems, content automation, sales funnels, and digital workers. 🔧 14+ years in tech | Building scalable no-code/low-code solutions using n8n, OpenAI, and other API-first tools. 📬 Let’s automate what slows you down.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34