AutomationFlowsWeb Scraping › Sora/veo Output URL → Tokportal Upload + Schedule

Sora/veo Output URL → Tokportal Upload + Schedule

Sora/Veo output URL → TokPortal upload + schedule. Uses n8n-nodes-tokportal, httpRequest. Webhook trigger; 7 nodes.

Webhook trigger★★☆☆☆ complexity7 nodesN8N Nodes TokportalHTTP Request
Web Scraping Trigger: Webhook Nodes: 7 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": "Sora/Veo output URL \u2192 TokPortal upload + schedule",
  "nodes": [
    {
      "parameters": {
        "content": "## AI video (Sora / Veo / Runway) \u2192 TokPortal\nStart from a webhook that receives your generator output (`video_url`, `caption`, optional `bundle_id`, `position`, `publish_date`).\n\nThe video is **imported into TokPortal storage** through the presigned upload flow (download \u2192 PUT to R2), so the temporary generator URL can expire safely. Then the slot is configured and published.",
        "height": 260,
        "width": 640,
        "color": 4
      },
      "id": "tp-041",
      "name": "Sticky Notetp-040",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        -300
      ]
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "ai-video-ready",
        "options": {}
      },
      "id": "tp-042",
      "name": "Generator Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        60
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "a1",
              "name": "video_url",
              "value": "={{ $json.body.video_url }}",
              "type": "string"
            },
            {
              "id": "a2",
              "name": "caption",
              "value": "={{ $json.body.caption || \"Made with AI #ai\" }}",
              "type": "string"
            },
            {
              "id": "a3",
              "name": "bundle_id",
              "value": "={{ $json.body.bundle_id || \"REPLACE_WITH_BUNDLE_ID\" }}",
              "type": "string"
            },
            {
              "id": "a4",
              "name": "position",
              "value": "={{ Number($json.body.position || 1) }}",
              "type": "number"
            },
            {
              "id": "a5",
              "name": "publish_date",
              "value": "={{ $json.body.publish_date || $now.plus({ days: 1 }).toFormat(\"yyyy-LL-dd\") }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "tp-043",
      "name": "Normalize Input",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        220,
        60
      ]
    },
    {
      "parameters": {
        "resource": "media",
        "operation": "createVideoUploadUrl",
        "bundleId": "={{ $json.bundle_id }}",
        "filename": "={{ \"ai-\" + $now.toMillis() + \".mp4\" }}",
        "contentType": "video/mp4"
      },
      "id": "tp-044",
      "name": "Create Video Upload URL",
      "type": "n8n-nodes-tokportal.tokPortal",
      "typeVersion": 1,
      "position": [
        440,
        60
      ],
      "credentials": {
        "tokPortalApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "method": "GET",
        "url": "={{ $(\"Normalize Input\").item.json.video_url }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "id": "tp-045",
      "name": "Download Generated Video",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        660,
        60
      ]
    },
    {
      "parameters": {
        "method": "={{ $(\"Create Video Upload URL\").item.json.method || \"PUT\" }}",
        "url": "={{ $(\"Create Video Upload URL\").item.json.upload_url }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "video/mp4"
            }
          ]
        },
        "sendBody": true,
        "contentType": "binaryData",
        "inputDataFieldName": "data",
        "options": {}
      },
      "id": "tp-046",
      "name": "PUT to TokPortal Storage",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        880,
        60
      ]
    },
    {
      "parameters": {
        "resource": "video",
        "operation": "configure",
        "bundleId": "={{ $(\"Normalize Input\").item.json.bundle_id }}",
        "position": "={{ $(\"Normalize Input\").item.json.position }}",
        "videoType": "video",
        "targetPublishDate": "={{ $(\"Normalize Input\").item.json.publish_date }}",
        "videoUrl": "={{ $(\"Create Video Upload URL\").item.json.public_url }}",
        "description": "={{ $(\"Normalize Input\").item.json.caption }}",
        "additionalFields": {
          "ai_content_disclaimer": true,
          "auto_publish": true
        }
      },
      "id": "tp-047",
      "name": "Configure Video Slot",
      "type": "n8n-nodes-tokportal.tokPortal",
      "typeVersion": 1,
      "position": [
        1100,
        60
      ],
      "credentials": {
        "tokPortalApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Generator Webhook": {
      "main": [
        [
          {
            "node": "Normalize Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Input": {
      "main": [
        [
          {
            "node": "Create Video Upload URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Video Upload URL": {
      "main": [
        [
          {
            "node": "Download Generated Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Generated Video": {
      "main": [
        [
          {
            "node": "PUT to TokPortal Storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PUT to TokPortal Storage": {
      "main": [
        [
          {
            "node": "Configure Video Slot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": [
    {
      "name": "TokPortal"
    }
  ]
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

Sora/Veo output URL → TokPortal upload + schedule. Uses n8n-nodes-tokportal, httpRequest. Webhook trigger; 7 nodes.

Source: https://github.com/tokportal/n8n-nodes-tokportal/blob/main/templates/06-ai-video-url-to-tokportal-upload-schedule.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

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

Web Scraping

This template is designed for developers, businesses, and service providers who need to programmatically check Calendly availability. It's perfect for: Web developers building custom booking interface

HTTP Request
Web Scraping

Never lose a prospect to a missed call again. This workflow sends an automatic "sorry we missed you" SMS within seconds, follows up 2 hours later if there's no reply, and enrolls unresponsive contacts

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request