Descarga simple de archivos
Este es unIT Opsflujo de automatización del dominio deautomatización que contiene 10 nodos.Utiliza principalmente nodos como Wait, Airtop, ManualTrigger. Descarga automática de videos de Sample.cat con Airtop Browser Automation
- •No hay requisitos previos especiales, puede importar y usarlo directamente
Nodos utilizados (10)
Categoría
{
"id": "3sBreSJpd5kPX4b2",
"meta": {
"instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
"templateCredsSetupCompleted": true
},
"name": "Simple File Download",
"tags": [],
"nodes": [
{
"id": "354c8e55-f322-4f63-bf53-84ff65bbd2d7",
"name": "Al hacer clic en 'Test workflow'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-440,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "37e66a0e-bbce-449d-a769-77470b4ea57f",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
380,
-240
],
"parameters": {
"width": 220,
"height": 300,
"content": "Wait a few seconds to make sure the file is ready for download. Alternatively, you can loop until `Get file data` outputs status `available`\n"
},
"typeVersion": 1
},
{
"id": "2a1889bf-b197-4c08-9be9-b2762c1b6f61",
"name": "Sesión",
"type": "n8n-nodes-base.airtop",
"position": [
-220,
0
],
"parameters": {
"additionalFields": {}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "6823c35c-30c0-4dc5-8ef9-f42fb3f8d58b",
"name": "Ventana",
"type": "n8n-nodes-base.airtop",
"position": [
0,
-100
],
"parameters": {
"url": "https://sample.cat/en/webm",
"resource": "window",
"getLiveView": true,
"disableResize": true,
"additionalFields": {}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "7a77f04f-c9e8-429f-81cc-c2155b777012",
"name": "Terminar",
"type": "n8n-nodes-base.airtop",
"position": [
0,
100
],
"parameters": {
"operation": "terminate"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "815f96e1-004e-4ad9-96b5-54d74ff4891f",
"name": "Esperar",
"type": "n8n-nodes-base.wait",
"position": [
440,
-100
],
"webhookId": "d83ebeef-84d1-4c1b-bf2e-c87e2e0c3d20",
"parameters": {
"amount": 10
},
"typeVersion": 1.1
},
{
"id": "0343563a-d6e1-4f82-a3ad-c2c014981024",
"name": "Obtener datos del archivo",
"type": "n8n-nodes-base.airtop",
"position": [
660,
-100
],
"parameters": {
"limit": 1,
"resource": "file",
"sessionIds": "={{ $('Session').item.json.sessionId }}",
"outputSingleItem": false
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "d7f971b7-45b9-4e44-925d-8d89490828a0",
"name": "Hacer clic en el botón de descarga",
"type": "n8n-nodes-base.airtop",
"position": [
220,
-100
],
"parameters": {
"resource": "interaction",
"additionalFields": {},
"elementDescription": "Blue download button for file \"SD 640x360 (Seawater, drone view video, 30 FPS)\""
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "5622799b-7063-414d-825e-b1e091ed7a7b",
"name": "Descargar archivo",
"type": "n8n-nodes-base.airtop",
"position": [
880,
-100
],
"parameters": {
"fileId": "={{ $json.id }}",
"resource": "file",
"operation": "get",
"outputBinaryFile": true
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "defcc9ed-8c0a-4bbc-aa3a-f60f418f20a8",
"name": "Nota adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1060,
-460
],
"parameters": {
"color": 5,
"width": 560,
"height": 1120,
"content": "README\n\n# Automating Video File Download from Sample.cat with Airtop.ai\n\n\n## Use Case\nAutomating file downloads from web pages is useful for scenarios like bulk media retrieval, dataset access, or recurring content backups. This workflow ensures a hands-free, consistent process for retrieving downloadable content.\n\n\n## What This Automation Does\nThis automation performs a reliable download of a video file from a specified webpage using the following steps:\n\n- Initiates an Airtop browser session.\n- Opens a specified URL containing downloadable media.\n- Interacts with the page to click the download button.\n- Waits for the file to be processed and made available.\n- Retrieves metadata to confirm availability.\n- Downloads the file.\n- Terminates the browser session to clean up resources.\n\n\n## How It Works\n1. **Manual Trigger**: Activated by user test.\n2. **Session**: Starts an Airtop browser session.\n3. **Window**: Navigates to `https://sample.cat/en/webm`.\n4. **Interaction**: Simulates a click on the download button for the video titled “SD 640x360 (Seawater, drone view video, 30 FPS)”.\n5. **Wait**: Pauses for 10 seconds to allow the file to be ready for download.\n6. **Get File Data**: Checks for downloadable files in the session.\n7. **Download File**: Retrieves the file using its ID.\n8. **Terminate**: Ends the browser session to free up resources.\n\n\n## Setup Requirements\n1. [Airtop API Key](https://portal.airtop.ai/api-keys) — required to authenticate API calls.\n\n\n## Next Steps\n- **Enhance with Retry Logic**: Loop file availability check until `status = available` for more robust automation.\n- **Customize File Targets**: Dynamically pass URLs and button descriptors for multi-source downloads.\n- **Connect to Storage**: Pipe downloaded files to cloud storage or databases for archiving.\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "a371078e-c97a-4c14-8b39-e67fdd998c02",
"connections": {
"815f96e1-004e-4ad9-96b5-54d74ff4891f": {
"main": [
[
{
"node": "0343563a-d6e1-4f82-a3ad-c2c014981024",
"type": "main",
"index": 0
}
]
]
},
"6823c35c-30c0-4dc5-8ef9-f42fb3f8d58b": {
"main": [
[
{
"node": "d7f971b7-45b9-4e44-925d-8d89490828a0",
"type": "main",
"index": 0
}
]
]
},
"2a1889bf-b197-4c08-9be9-b2762c1b6f61": {
"main": [
[
{
"node": "6823c35c-30c0-4dc5-8ef9-f42fb3f8d58b",
"type": "main",
"index": 0
},
{
"node": "7a77f04f-c9e8-429f-81cc-c2155b777012",
"type": "main",
"index": 0
}
]
]
},
"0343563a-d6e1-4f82-a3ad-c2c014981024": {
"main": [
[
{
"node": "5622799b-7063-414d-825e-b1e091ed7a7b",
"type": "main",
"index": 0
}
]
]
},
"d7f971b7-45b9-4e44-925d-8d89490828a0": {
"main": [
[
{
"node": "815f96e1-004e-4ad9-96b5-54d74ff4891f",
"type": "main",
"index": 0
}
]
]
},
"354c8e55-f322-4f63-bf53-84ff65bbd2d7": {
"main": [
[
{
"node": "2a1889bf-b197-4c08-9be9-b2762c1b6f61",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Operaciones de TI
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Airtop
@cesar-at-airtopAirtop provides an intelligent browser automation API for AI agents, enabling seamless web interaction, including login, navigation, and data extraction from any site, even those with complex authentication - all with natural language instructions.In simple terms, we allow you to automate anything humans can do online, on any site with just words
Compartir este flujo de trabajo