AutomationFlowsGeneral › Book AI Processing

Book AI Processing

Book AI Processing. Uses httpRequest, respondToWebhook. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesHttp Request
General Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆

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": "Book AI Processing",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "book-ai-processing",
        "options": {}
      },
      "id": "webhook_trigger",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ 'http://localhost:5000/api/ai-processing/process-book/' + $json.body.book_id }}",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer {{YOUR_JWT_TOKEN_HERE}}"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ triggered_by: 'n8n_webhook', action: $json.body.action, updated_fields: $json.body.updated_fields, timestamp: new Date().toISOString() }) }}",
        "options": {}
      },
      "id": "call_book_ai_api",
      "name": "Process Book AI",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ JSON.stringify({ status: 'success', message: 'Book AI processing completed', book_id: $json.body.book_id, ai_fields: $json.ai_fields || {}, timestamp: new Date().toISOString() }) }}",
        "options": {}
      },
      "id": "success_response",
      "name": "Success Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Process Book AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Book AI": {
      "main": [
        [
          {
            "node": "Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [
    "ai",
    "book",
    "webhook",
    "processing",
    "automation"
  ]
}

About this workflow

Book AI Processing. Uses httpRequest, respondToWebhook. Webhook trigger; 3 nodes.

Source: https://github.com/ZeekPower100/The-Power100-Experience/blob/d0c00dabc67c171f1794cdb2f73c068eea79d823/n8n-workflows/book-ai-processing.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →