What it is for
The Salesforce component connects your CRM with the rest of your tools: create leads, contacts, opportunities and cases, query records with SOQL and react to object changes. For example, push web form entries into leads or alert your team when a new case arrives.
Most triggers (New Lead, New Contact, New Record, New or Updated Record, New Case in Queue...) check Salesforce periodically every few minutes. New Outbound Message is instant: copy the flow's webhook URL and paste it as the endpoint of the Outbound Message you set up in Salesforce.
Set up the connection
Authentication type: OAuth 2.0 (sign in with your account)
- 1Add a Salesforce step to your flow and click "Connect".
- 2Sign in with your Salesforce user (production or sandbox, as appropriate).
- 3Approve the permissions requested for API access.
- 4Make sure your profile has API access enabled and rights on the objects you plan to use.
- 5Rename the connection, for example "Salesforce Sales", and save it.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Lead: fill "Last Name" and "Company" (required) by mapping data from the form or earlier step; use "Other Fields" for custom fields.
- Find Record: choose the "Object", the "Field" to search and the "Search Value" (for example, the email) before creating, to avoid duplicates.
- Update Record: select "Object" and "Record" (you can map the Id returned by Find Record) and put only the changed values in "Fields".
- Run Query: write a SOQL query in "Query" when you need complex filters or relationships.
- Create Task and Log Email record sales follow-ups linked to a contact, lead or "Related Record ID".
Tips
- •Use field API names (custom ones end in __c) in "Other Fields" and "Fields".
- •Test in a sandbox first if you will create or delete records in bulk.
- •Pair New or Updated Record with "Conditions" to catch only the changes you care about.
Triggers (9)
Events that can start a flow. Expand each one to see its fields.
New Case AttachmentPeriodic check0 fields
No fields to configure.
New ContactPeriodic check0 fields
No fields to configure.
New Field History EventPeriodic check1 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
New LeadPeriodic check0 fields
No fields to configure.
New or Updated RecordPeriodic check2 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Conditions | Long text | No |
New Outbound MessageWebhook (paste the URL in the app)0 fields
No fields to configure.
New RecordPeriodic check2 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Conditions | Long text | No |
New or Updated FilePeriodic check0 fields
No fields to configure.
New Case in QueuePeriodic check1 fields
| Field | Type | Required |
|---|---|---|
| Case Queue | List (from your account) | Yes |
Actions (27)
Operations available as flow steps. Expand each one to see its fields.
Add Contact to Campaign3 fields
| Field | Type | Required |
|---|---|---|
| Campaign | List (from your account) | Yes |
| Contact | List (from your account) | Yes |
| Member Status | List (from your account) | Yes |
Add File to Record4 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| File | File | Yes |
| File Name | Text | Yes |
Add Lead to Campaign3 fields
| Field | Type | Required |
|---|---|---|
| Campaign | List (from your account) | Yes |
| Lead | List (from your account) | Yes |
| Member Status | List (from your account) | Yes |
Create Legacy Attachment4 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| File | File | Yes |
| File Name | Text | Yes |
Create Case8 fields
| Field | Type | Required |
|---|---|---|
| Subject | Text | Yes |
| Description | Long text | No |
| Status | List (from your account) | No |
| Priority | List (from your account) | No |
| Origin | List (from your account) | No |
| Account | List (from your account) | No |
| Contact | List (from your account) | No |
| Other Fields | JSON | No |
Create Contact7 fields
| Field | Type | Required |
|---|---|---|
| Last Name | Text | Yes |
| First Name | Text | No |
| Account | List (from your account) | No |
| Text | No | |
| Phone | Text | No |
| Title | Text | No |
| Other Fields | JSON | No |
Create Lead7 fields
| Field | Type | Required |
|---|---|---|
| Last Name | Text | Yes |
| Company | Text | Yes |
| First Name | Text | No |
| Text | No | |
| Phone | Text | No |
| Lead Source | List (from your account) | No |
| Other Fields | JSON | No |
Create Note4 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Title | Text | Yes |
| Body | Long text | Yes |
Create Opportunity6 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Close Date | Text | Yes |
| Stage | List (from your account) | Yes |
| Account | List (from your account) | No |
| Amount | Number | No |
| Other Fields | JSON | No |
Create Record2 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Fields | JSON | Yes |
Create Task7 fields
| Field | Type | Required |
|---|---|---|
| Subject | Text | Yes |
| Owner | List (from your account) | Yes |
| Status | List (from your account) | Yes |
| Priority | List (from your account) | Yes |
| Description | Long text | No |
| Contact or Lead ID | Text | No |
| Related Record ID | Text | No |
Delete Opportunity1 fields
| Field | Type | Required |
|---|---|---|
| Opportunity | List (from your account) | Yes |
Delete Record2 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Record | List (from your account) | Yes |
Export Report1 fields
| Field | Type | Required |
|---|---|---|
| Report | List (from your account) | Yes |
Find Child Records3 fields
| Field | Type | Required |
|---|---|---|
| Parent Object | List (from your account) | Yes |
| Parent Record | List (from your account) | Yes |
| Child Relationship | List (from your account) | Yes |
Find Record3 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Field | List (from your account) | Yes |
| Search Value | Text | Yes |
Find Records by Query2 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Conditions | Text | Yes |
Get Record Attachments2 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Record | List (from your account) | Yes |
Run Query1 fields
| Field | Type | Required |
|---|---|---|
| Query | Text | Yes |
Run Report2 fields
| Field | Type | Required |
|---|---|---|
| Report | List (from your account) | Yes |
| Filters | JSON | No |
Log Email4 fields
| Field | Type | Required |
|---|---|---|
| Recipient | List (from your account) | Yes |
| Subject | Text | Yes |
| Body | Long text | Yes |
| Related Record ID | Text | No |
Update Contact8 fields
| Field | Type | Required |
|---|---|---|
| Contact | List (from your account) | Yes |
| First Name | Text | No |
| Last Name | Text | No |
| Account | List (from your account) | No |
| Text | No | |
| Phone | Text | No |
| Title | Text | No |
| Other Fields | JSON | No |
Update Lead8 fields
| Field | Type | Required |
|---|---|---|
| Lead | List (from your account) | Yes |
| First Name | Text | No |
| Last Name | Text | No |
| Company | Text | No |
| Text | No | |
| Phone | Text | No |
| Lead Source | List (from your account) | No |
| Other Fields | JSON | No |
Update Record3 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| Record | List (from your account) | Yes |
| Fields | JSON | Yes |
Batch Upsert3 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| External ID Field | Text | Yes |
| Records | JSON | Yes |
Bulk Upsert3 fields
| Field | Type | Required |
|---|---|---|
| Object | List (from your account) | Yes |
| External ID Field | Text | Yes |
| Records | Long text | Yes |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
INVALID_SESSION_ID or expired session
Reconnect the account and check your org's session policies.
INSUFFICIENT_ACCESS or field not visible
Ask your admin for object permissions and field-level security.
REQUEST_LIMIT_EXCEEDED
You hit the daily API limit; lower the frequency or batch operations.
REQUIRED_FIELD_MISSING
Review the object's required fields, including your org's validation rules.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
