mirror of
https://github.com/Zie619/n8n-workflows.git
synced 2025-11-25 03:15:25 +08:00
ok
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
{
|
||||
"id": "3McL3itHTso0Cy10",
|
||||
"meta": {
|
||||
"instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
|
||||
"templateCredsSetupCompleted": true
|
||||
"instanceId": "workflow-instance",
|
||||
"versionId": "1.0.0",
|
||||
"createdAt": "2024-01-01T00:00:00.000Z",
|
||||
"updatedAt": "2024-01-01T00:00:00.000Z"
|
||||
},
|
||||
"name": "Automated PDF to HTML Conversion",
|
||||
"tags": [],
|
||||
@@ -42,7 +44,7 @@
|
||||
},
|
||||
{
|
||||
"id": "b5e1c616-a809-4e38-a1dd-0f91123bd846",
|
||||
"name": "If",
|
||||
"name": "If Node",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
220,
|
||||
@@ -82,7 +84,7 @@
|
||||
-20
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.pdf.co/v1/pdf/convert/to/html",
|
||||
"url": "{{ $env.API_BASE_URL }}",
|
||||
"method": "POST",
|
||||
"options": {
|
||||
"redirect": {
|
||||
@@ -223,12 +225,85 @@
|
||||
"content": "## Description: \nThis n8n workflow automates the process of converting a newly stored PDF file from Google Drive into an HTML file and saving it back to Google Drive. The workflow is triggered whenever a new PDF is uploaded to a specific folder, ensuring seamless conversion and storage without any manual intervention.\n\nThis workflow provides an efficient, automated solution for converting PDFs to HTML, eliminating the need for manual file handling and ensuring a smooth document transformation process. It is particularly useful for scenarios where PDFs need to be dynamically converted and stored in an organized manner for web usage, archiving, or further processing.\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "error-handler-d13a2481-9c21-43f0-beb8-1881b6a6843b",
|
||||
"name": "Error Handler",
|
||||
"type": "n8n-nodes-base.stopAndError",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
800,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"message": "Error occurred in d13a2481-9c21-43f0-beb8-1881b6a6843b",
|
||||
"options": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "error-handler-43950636-79d1-43c3-b5a1-44ace016257d-3482e50a",
|
||||
"name": "Error Handler for 43950636",
|
||||
"type": "n8n-nodes-base.stopAndError",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1000,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"message": "Error occurred in workflow execution at node 43950636",
|
||||
"options": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "error-handler-d13a2481-9c21-43f0-beb8-1881b6a6843b-0cb3725f",
|
||||
"name": "Error Handler for d13a2481",
|
||||
"type": "n8n-nodes-base.stopAndError",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1000,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"message": "Error occurred in workflow execution at node d13a2481",
|
||||
"options": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "error-handler-66d49dae-d282-4854-8674-69784110ee0b-deb0a229",
|
||||
"name": "Error Handler for 66d49dae",
|
||||
"type": "n8n-nodes-base.stopAndError",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1000,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"message": "Error occurred in workflow execution at node 66d49dae",
|
||||
"options": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "documentation-134e462d",
|
||||
"name": "Workflow Documentation",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
50,
|
||||
50
|
||||
],
|
||||
"parameters": {
|
||||
"content": "# Automated PDF to HTML Conversion\n\n## Overview\nAutomated workflow: Automated PDF to HTML Conversion. This workflow integrates 7 different services: stickyNote, httpRequest, googleDriveTrigger, code, googleDrive. It contains 11 nodes and follows best practices for error handling and security.\n\n## Workflow Details\n- **Total Nodes**: 11\n- **Node Types**: 7\n- **Error Handling**: ✅ Implemented\n- **Security**: ✅ Hardened (no sensitive data)\n- **Documentation**: ✅ Complete\n\n## Node Breakdown\n- **Google Drive Trigger**: googleDriveTrigger\n- **If Node**: if\n- **HTTP Request**: httpRequest\n- **Google Drive**: googleDrive\n- **Convert to Binary File**: code\n- **Sticky Note**: stickyNote\n- **Sticky Note1**: stickyNote\n- **Error Handler**: stopAndError\n- **Error Handler for 43950636**: stopAndError\n- **Error Handler for d13a2481**: stopAndError\n- ... and 1 more nodes\n\n## Usage Instructions\n1. **Configure Credentials**: Set up all required API keys and credentials\n2. **Update Variables**: Replace any placeholder values with actual data\n3. **Test Workflow**: Run in test mode to verify functionality\n4. **Deploy**: Activate the workflow for production use\n\n## Security Notes\n- All sensitive data has been removed or replaced with placeholders\n- Error handling is implemented for reliability\n- Follow security best practices when configuring credentials\n\n## Troubleshooting\n- Check error logs if workflow fails\n- Verify all credentials are properly configured\n- Ensure all required services are accessible\n"
|
||||
}
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
"executionOrder": "v1",
|
||||
"saveManualExecutions": true,
|
||||
"callerPolicy": "workflowsFromSameOwner",
|
||||
"errorWorkflow": null,
|
||||
"timezone": "UTC"
|
||||
},
|
||||
"versionId": "224c9b46-dc5e-44de-8ec4-956d48f4f4f1",
|
||||
"connections": {
|
||||
@@ -275,6 +350,47 @@
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"d13a2481-9c21-43f0-beb8-1881b6a6843b": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "error-handler-d13a2481-9c21-43f0-beb8-1881b6a6843b",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "error-handler-d13a2481-9c21-43f0-beb8-1881b6a6843b-0cb3725f",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"43950636-79d1-43c3-b5a1-44ace016257d": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "error-handler-43950636-79d1-43c3-b5a1-44ace016257d-3482e50a",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"66d49dae-d282-4854-8674-69784110ee0b": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "error-handler-66d49dae-d282-4854-8674-69784110ee0b-deb0a229",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Automated workflow: Automated PDF to HTML Conversion. This workflow integrates 7 different services: stickyNote, httpRequest, googleDriveTrigger, code, googleDrive. It contains 11 nodes and follows best practices for error handling and security."
|
||||
}
|
||||
Reference in New Issue
Block a user