AutomationFlowsGeneral › PDF Processing Webhook

PDF Processing Webhook

Original n8n title: PDF Processing via Shell

PDF Processing via Shell. Uses executeCommand. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesExecute Command
General Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "PDF Processing via Shell",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "process-pdf",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "webhook-trigger",
      "name": "Process PDF Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "command": "curl -X POST http://localhost:5001/api/batch/translate -F \"files=@/Users/rob/Documents/Tibet/RRAL001.pdf\""
      },
      "id": "execute-curl",
      "name": "Execute PDF Translation",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ JSON.parse($json.stdout) }}"
      },
      "id": "success-response",
      "name": "Return Translation Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    }
  ],
  "connections": {
    "Process PDF Webhook": {
      "main": [
        [
          {
            "node": "Execute PDF Translation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute PDF Translation": {
      "main": [
        [
          {
            "node": "Return Translation Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "versionId": "1",
  "id": "pdf-via-shell"
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

PDF Processing via Shell. Uses executeCommand. Webhook trigger; 3 nodes.

Source: https://github.com/Garblesnarff/Translate/blob/f57e2d0f66ac31c8f83f2a3c9b9ee8826be891cc/n8n-workflows/pdf-via-shell.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Clara Pipeline B - Onboarding Update. Uses executeCommand. Webhook trigger; 3 nodes.

Execute Command
General

Clara Automation Pipeline – Run All. Uses executeCommand. Webhook trigger; 2 nodes.

Execute Command
General

TestMultiCredentials. Uses executeCommand. Webhook trigger; 13 nodes.

Execute Command
General

N8N Español - Ejemplos. Uses manualTrigger, executeCommand. Event-driven trigger; 7 nodes.

Execute Command
General

N8N Workflow. Uses executeCommand, localFileTrigger. Event-driven trigger; 7 nodes.

Execute Command, Local File Trigger