Capture d'écran d'URL automatisée : Google Sheets + ScreenshotOne avec rappel par e-mail

Intermédiaire

Ceci est unOtherworkflow d'automatisation du domainecontenant 9 nœuds.Utilise principalement des nœuds comme Gmail, GoogleDrive, HttpRequest, GoogleSheets, GoogleDriveTrigger. Capturer des captures d'écran d'URL depuis Google Sheets avec ScreenshotOne et enregistrer sur Drive, avec des rappels Gmail

Prérequis
  • Compte Google et informations d'identification Gmail API
  • Informations d'identification Google Drive API
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Informations d'identification Google Sheets API

Catégorie

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": "rVZ45LaNVNhJI9Fi",
  "meta": {
    "instanceId": "30cb288538cc1d60f7858cc4f67b4e877a90549434f7edd08c97301dabbccb6c"
  },
  "name": "Automated URL Screenshots: Google Sheets + ScreenshotOne with Email Alerts",
  "tags": [
    {
      "id": "hl1c8l8cX6WLDebn",
      "name": "Drive",
      "createdAt": "2025-03-24T11:58:31.377Z",
      "updatedAt": "2025-03-24T11:58:31.377Z"
    },
    {
      "id": "hydbGbGQBvdtg5yG",
      "name": "Spreadsheets",
      "createdAt": "2025-03-24T11:58:38.767Z",
      "updatedAt": "2025-03-24T11:58:38.767Z"
    },
    {
      "id": "afr1S4wdtRDjJnkM",
      "name": "Screenshotone",
      "createdAt": "2025-03-24T11:58:51.623Z",
      "updatedAt": "2025-03-24T11:58:51.623Z"
    },
    {
      "id": "iWYO3N8hYXIBrRoM",
      "name": "Gmail",
      "createdAt": "2025-03-24T11:58:54.595Z",
      "updatedAt": "2025-03-24T11:58:54.595Z"
    }
  ],
  "nodes": [
    {
      "id": "cd138bff-e429-4223-ae6a-7ffcb70250ec",
      "name": "Obtenir les captures d'écran",
      "type": "n8n-nodes-base.httpRequest",
      "maxTries": 3,
      "position": [
        500,
        0
      ],
      "parameters": {
        "url": "https://api.screenshotone.com/take?",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.Url }}"
            },
            {
              "name": "block_cookie_banners",
              "value": "true"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Access-Key",
              "value": "--YOUR SCREENSHOTONE ACCESS KEY--"
            }
          ]
        }
      },
      "executeOnce": false,
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "94825f14-fdef-41fe-ac5f-52da12e288e4",
      "name": "Obtenir les URLs",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        220,
        0
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        }
      },
      "typeVersion": 4.5
    },
    {
      "id": "025bc9b7-ffa0-44e5-903b-0a382c747119",
      "name": "Téléverser les images dans le même dossier",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        740,
        0
      ],
      "parameters": {
        "name": "=screenshot_{{ $('Get schreenshots').item.json.Url }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('spreadsheets file with urls created').item.json.parents[0]}}"
        },
        "inputDataFieldName": "=data"
      },
      "typeVersion": 3
    },
    {
      "id": "83b6273b-1dbc-449d-9d4e-a580e3dfb9e0",
      "name": "fichier spreadsheets avec urls créé",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -80,
        0
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {
          "fileType": "application/vnd.google-apps.spreadsheet"
        },
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "id",
          "value": "--YOUR GOOGLE DRIVE FOLDER ID TO LISTEN--"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "MDuPeE9G7Xl1N6Uc",
          "name": "nikushac@gmail.com"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "dad9be9f-44b6-4f5b-a67e-33f99c29ab3d",
      "name": "Envoyer un e-mail avec le lien du dossier",
      "type": "n8n-nodes-base.gmail",
      "position": [
        980,
        0
      ],
      "webhookId": "243e0e93-4216-4206-95a3-4dccc3f328c7",
      "parameters": {
        "sendTo": "--YOUR EMAIL ADDRESS--",
        "message": "=Your screenshots are ready!\nYou can find them in the following folder:\nhttps://drive.google.com/drive/folders/{{ $json.parents }}?usp=drive_link",
        "options": {},
        "subject": "Screenshots are ready",
        "emailType": "text"
      },
      "executeOnce": true,
      "typeVersion": 2.1
    },
    {
      "id": "68da222b-9960-49fb-b2c8-d2e0a8f68093",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        -240
      ],
      "parameters": {
        "content": "## This node initiates the workflow by monitoring the designated folder"
      },
      "typeVersion": 1
    },
    {
      "id": "e9679272-3aa3-4180-b9c5-9b223b7ef131",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -240
      ],
      "parameters": {
        "height": 180,
        "content": "## Ensure your spreadsheet’s ‘Url.’ column contains valid URLs"
      },
      "typeVersion": 1
    },
    {
      "id": "030a29bc-a180-45fa-9dc7-74831d1222e7",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -240
      ],
      "parameters": {
        "height": 180,
        "content": "## Replace the placeholder with your actual ScreenshotOne  [Access key](https://dash.screenshotone.com/access)"
      },
      "typeVersion": 1
    },
    {
      "id": "a921e62a-cfc4-48cc-8202-555c6b65fc7d",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        -240
      ],
      "parameters": {
        "height": 180,
        "content": "## Review your email settings to ensure notifications are sent correctly"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "94542ebe-a9e6-406a-9ead-5e4ec094dbdd",
  "connections": {
    "94825f14-fdef-41fe-ac5f-52da12e288e4": {
      "main": [
        [
          {
            "node": "cd138bff-e429-4223-ae6a-7ffcb70250ec",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cd138bff-e429-4223-ae6a-7ffcb70250ec": {
      "main": [
        [
          {
            "node": "025bc9b7-ffa0-44e5-903b-0a382c747119",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "025bc9b7-ffa0-44e5-903b-0a382c747119": {
      "main": [
        [
          {
            "node": "dad9be9f-44b6-4f5b-a67e-33f99c29ab3d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "83b6273b-1dbc-449d-9d4e-a580e3dfb9e0": {
      "main": [
        [
          {
            "node": "94825f14-fdef-41fe-ac5f-52da12e288e4",
            "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 - Autres

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égorie1
Types de nœuds6
Description de la difficulté

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

Auteur
Niko

Niko

@niko

Software / Automation Engineer, dedicated to crafting efficient and elegant solutions. Specialize in leveraging n8n to automate tedious tasks, streamline workflows, and integrate diverse systems. With a strong foundation in JavaScript, API interactions and AI, can tackle complex challenges and deliver significant results.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34