Overview
N8N is a powerful open-source alternative to tools like Zapier and Make. The Skyvern N8N integration allows you to:- Build custom browser automation workflows
- Self-host your entire automation stack
- Combine 400+ N8N nodes with browser automation
- Create complex, multi-step web scraping pipelines
- Automate repetitive web-based tasks
Prerequisites
- N8N instance (self-hosted or N8N Cloud)
- Skyvern API key from app.skyvern.com
- Basic understanding of N8N workflows
Installation
The Skyvern node is available through N8N’s community nodes.Install the Skyvern node
In N8N:
- Go to Settings > Community Nodes
- Click Install
- Search for
n8n-nodes-skyvern - Click Install
Get your Skyvern API key
- Log in to app.skyvern.com
- Navigate to Settings
- Copy your API key
Setup
Add Skyvern node
- Click + to add a node
- Search for Skyvern
- Select the Skyvern node
- Choose your saved credential
Configure the operation
Choose from:
- Run Task: Execute a browser automation task
- Get Task: Retrieve status and results of a task
Set parameters
For Run Task:
- URL: Starting URL for the task
- Navigation Goal: Natural language instructions
- Navigation Payload: Form data (optional)
- Extraction Schema: JSON schema for data extraction (optional)
Example Workflows
Example 1: Daily Price Monitoring
Monitor competitor prices and save to a database.- Schedule Trigger: Set to run daily at 9 AM
- Skyvern - Run Task:
- URL:
https://competitor-site.com/products - Navigation Goal: “Navigate to the pricing page and extract all product prices”
- Extraction Schema:
- URL:
- Wait: 2 minutes
- Skyvern - Get Task: Use
{{ $json.task_id }}from Run Task - Postgres: Insert extracted products
Example 2: Webhook-Triggered Form Submission
Automatic form submissions when triggered via webhook.- Webhook Trigger: Receive POST requests
- Skyvern - Run Task:
- URL:
{{ $json.body.form_url }} - Navigation Goal: “Fill out and submit the contact form”
- Navigation Payload:
- URL:
- Wait: 90 seconds
- Skyvern - Get Task: Retrieve results
- Slack: Send notification with status
Example 3: Bulk Data Extraction
Process multiple URLs from a spreadsheet.Operations
Run Task
Executes a browser automation task. Parameters:| Parameter | Type | Required | Description |
|---|---|---|---|
| URL | string | Yes | Starting URL for the task |
| Navigation Goal | string | Yes | Natural language instructions |
| Navigation Payload | object | No | Form data to submit |
| Extraction Schema | object | No | JSON schema for data extraction |
| Webhook URL | string | No | URL to receive completion notification |
| Max Steps Override | number | No | Maximum steps before timeout |
Get Task
Retrieves task status and results. Parameters:| Parameter | Type | Required | Description |
|---|---|---|---|
| Task ID | string | Yes | ID from Run Task operation |
Using Expressions
N8N’s expression system makes workflows dynamic.Reference Previous Nodes
Conditional Logic
Format Data
Tips and Best Practices
- Add error workflows: Use N8N’s error workflow feature to handle failures
- Use proper wait times: Add Wait nodes after Run Task before calling Get Task
- Leverage N8N’s debugging: Use the execution view to debug failed runs
- Store task IDs: Use Set node to store task IDs for later reference
- Batch operations wisely: Use Split In Batches node for large datasets
Common Issues
Node not found after installation
- Restart your N8N instance
- Check that the package installed successfully
- Verify you’re using N8N v0.200.0 or higher
Authentication fails
- Ensure API key is from app.skyvern.com
- Check for extra spaces in the API key
- Try creating a new credential
Task data not available in next node
- Verify the previous Skyvern node executed successfully
- Check the expression syntax:
{{ $json.task_id }} - Use “Click to view” to inspect actual data structure
Task never completes
- Increase wait time between Run Task and Get Task
- Check the recording URL to see where the task got stuck
- Test the task manually in Skyvern dashboard first
Advanced Techniques
Polling for Task Completion
Instead of fixed wait times, poll until complete:- After Run Task, add a Loop Over Items node
- Inside loop:
- Wait (30 seconds)
- Skyvern - Get Task
- IF node: Check if status is “completed” or “failed”
- If not complete, continue loop
- If complete, break and continue workflow
Error Recovery
- Add error workflow at workflow level
- In error workflow:
- Check if error is from Skyvern node
- Log error details
- Optionally retry task
- Send alert
Webhook Completion
For long tasks, use webhooks instead of polling:- Add Webhook node, set to “Wait for webhook call”
- Copy the production webhook URL
- In Skyvern - Run Task, set Webhook URL parameter
- Skyvern will POST results when done
- Continue workflow after webhook receives data
Support
For N8N integration support:- Check the Skyvern API docs
- Visit N8N documentation
- Join the N8N community
- Email [email protected]
Next Steps
Task Parameters
Configure your automation tasks effectively
Data Extraction
Extract structured data from websites
Monitoring Tasks
Track and debug task execution
Webhooks
Get instant task completion notifications