📁 Upload images to Webflow via API as a reusable sub-workflow

⚡ 46 views · 📁 File Management

Description

Uploading an image to Webflow’s Asset Manager through the API is surprisingly complex. It requires computing an MD5 hash, announcing the file to Webflow, then uploading the binary to Amazon S3 with specific headers. This template wraps that entire process into a clean, reusable sub-workflow you can call from any main workflow.

How it works

How to use

  1. Import this template as a workflow in your n8n instance.
  2. Set up Webflow credentials: Create a Bearer Auth credential with your Webflow API token. The token must have the assets:write scope.
  3. Call this workflow as a sub-workflow from your main workflow using the Execute Workflow node.
  4. Provide the required inputs:
    • imageData: The binary image data
    • fileName: File name including extension (max 100 characters)
    • wfSiteId: Your Webflow site ID
  5. Use the output: The sub-workflow returns originalFileName, fileId, and assetUrl, which you can then use in subsequent steps (e.g., updating a CMS item, sending a notification, etc.).

Requirements

Notes & customization

🔗 Nodes Used

HTTP Request, Execute Workflow Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup