Package Information
Documentation
n8n-nodes-samautomation
This is an n8n community node that allows you to use the Samautomation Advanced Video Rendering API in your n8n workflows.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
Create Advanced Video
Start an advanced video render job with full customization options:
- Output Settings: Configure aspect ratio (16:9, 9:16, 1:1, etc.), resolution (480p to 4K), and framerate
- Media Inputs: Add multiple video or image clips with URLs
- Audio Settings: Add background music and voice-over with volume controls
- Caption Elements: Add timed text captions with precise start times and durations
- Watermark: Add a logo or watermark with position, opacity, and scale controls
- Render Options: Choose between full quality or preview mode
Get Render Progress
Check the status of a video render job using the task ID.
Credentials
To use this node, you need:
- API Key: Your Samautomation API key (sent via
X-API-Key
header) - Base URL: API root, without trailing slash or
/api
(default: https://samautomation.work)
Compatibility
- n8n version: >=1.9.0
- Node.js version: >=20.0.0
Usage
Basic Video Creation
- Add the Samautomation node to your workflow
- Configure your API credentials
- Select "Create Advanced Video" operation
- Add at least one video clip in Media Inputs
- Configure any additional settings as needed
- Execute the node to start rendering
Advanced Example
For a full-featured example covering all available options (output, media, audio, captions, watermark, render options) see docs/advanced-config-example.json
. You can import this JSON directly into the Create Advanced Video operation via JSON View to get started quickly.
Supported Caption Fonts
Font value (UI) | Internal family |
---|---|
Bangers | bangers |
Montserrat (Regular) | montserrat |
Montserrat Italic | montserrat-italic |
Montserrat Variable | montserrat-variable |
DK Mandarin Whispers | mandarin |
Arial | arial |
Helvetica | helvetica |
Times / Times New Roman | times |
Impact | impact |
Downloading the Rendered Video
When the Get Render Progress operation reports state = SUCCESS
, the node automatically downloads the video file and returns it as binary data (binary.data
). You can pipe this into n8n's Write Binary File node or upload directly to cloud storage.
Example Configuration
{
"output_settings": {
"aspect_ratio": "16:9",
"resolution": "1080p",
"framerate": 30
},
"media_inputs": {
"main_clips": [
{
"type": "video",
"url": "https://example.com/video1.mp4"
}
]
},
"audio_settings": {
"background_music_url": "https://example.com/music.mp3",
"background_music_volume_percent": 25
}
}
Workflow Examples
Social Media Video Generation
- Trigger: New row in Google Sheets
- Samautomation: Create video with data from sheet
- Wait: Poll render status until complete
- Upload: Post to social media platforms
Batch Video Processing
- Read: Get data from Airtable
- Loop: For each record
- Samautomation: Create personalized video
- Store: Save render IDs
- Monitor: Check all render statuses