Salesforce + n8n: Free Workflows & Setup Guide
What you can automate
- ✓Create leads and contacts from web forms
- ✓Sync opportunity data with spreadsheets
- ✓Update records based on external events
- ✓Trigger workflows on record changes
- ✓Pull reports and dashboard data
- ✓Manage tasks and activities programmatically
Credential setup
In Salesforce, go to Setup → App Manager → New Connected App. Enable OAuth settings with API scopes. Note the Consumer Key and Secret. In n8n, add a Salesforce OAuth2 credential with these values and your Salesforce domain.
Common errors & fixes
INVALID_SESSION_ID
Your session expired. Re-authorize the credential in n8n. For long-running workflows, enable 'Refresh Token' in your Connected App settings.
REQUIRED_FIELD_MISSING
Check which fields are required for the object type (Lead, Contact, Opportunity) and ensure they're mapped in your workflow.
Free templates using Salesforce
Frequently asked questions
Which Salesforce editions support the API?+
Enterprise, Unlimited, Developer and Performance editions include API access. Professional edition requires a paid add-on.
Can I query custom objects?+
Yes. Use SOQL queries in the HTTP Request node to query any standard or custom object in your Salesforce org.
What's the API limit?+
It depends on your edition. Enterprise gets 100,000 API calls per 24 hours. Check Setup → System Overview for your current usage.
Want us to set it up for you?
We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.
Get setup help