Integração n8n

Como usar o FFHub com automação de workflows n8n.

n8n is an open-source workflow automation platform. With the FFHub node, you can add video/audio processing to any n8n workflow.

Install the Node

Install in your n8n instance:

npm install n8n-nodes-ffhub

Or search for ffhub in the n8n community nodes settings page.

Configure Credentials

  1. Open Settings > Credentials in your n8n instance
  2. Click Add Credential and search for "FFHub"
  3. Enter your API key and save

Available Operations

The FFHub node supports the following operations:

OperationDescription
Create TaskSubmit a new FFmpeg command for processing
Get Task StatusCheck the status and results of a task
List TasksList your recent tasks

Example Workflow

A typical video processing workflow:

  1. Trigger - Webhook or schedule triggers the workflow
  2. Upload File - Upload the source file to get a URL
  3. FFHub: Create Task - Run your FFmpeg command with the file URL
  4. Wait - Wait for the task to complete
  5. FFHub: Get Task Status - Retrieve the output file URL
  6. Download - Download the processed file or send it to the next step
[Webhook] → [Upload File] → [FFHub: Create Task] → [Wait] → [FFHub: Get Status] → [Download Result]