Setup
- Go to Project Settings → Project Integrations
- Select n8n from the list
- Enter your credentials:
- API Url - Your n8n instance API URL (e.g.,
https://your-n8n-instance.com) - API Key - Your n8n API key
- API Url - Your n8n instance API URL (e.g.,
- Test the connection
- Start using n8n in your prompts
How It Works
HelloLeo connects to your n8n instance using the n8n API. Your API URL and API key are encrypted and stored securely on the backend.Common Operations
With n8n integration, you can:- Trigger workflows - Execute n8n workflows programmatically
- Manage workflows - Create, update, and manage workflow definitions
- Monitor executions - Check workflow execution status and results
- Handle webhooks - Work with n8n webhook nodes
- Automate tasks - Integrate n8n automations into your applications
Example Usage
Trigger Workflow
Execute Automation
Check Workflow Status
Create Workflow
Best Practices
- Specify workflow names - Always mention which n8n workflow you want to use
- Mention the integration - Always say “from n8n” or “to n8n” so Leo knows which integration to use
- Workflow parameters - Clearly specify any parameters your workflows need
- Error handling - Consider how to handle workflow execution errors
Troubleshooting
Connection Issues
- Check API URL - Verify your n8n instance URL is correct and accessible
- Check API key - Ensure your n8n API key is valid
- Network access - Verify your n8n instance is accessible from the internet (if needed)
Workflow Not Triggering
- Workflow name - Verify the workflow name or ID is correct
- Workflow status - Ensure the workflow is active
- API permissions - Check that your API key has permission to execute workflows
Execution Errors
- Workflow configuration - Review workflow node configurations
- Parameters - Verify all required parameters are provided
- Logs - Check n8n execution logs for detailed error messages
