Salesforce icon

Salesforce

Salesforce CRM API for accounts, contacts, leads, opportunities, cases, campaigns, and business records.

Handles Salesforce business records such as accounts, leads, contacts, cases, campaigns, and object updates.

Example Use Cases

These are the Salesforce actions Snow can use when building apps with you. Connecting an account does not make Snow run these on its own.

Create account

Creates a new account in Salesforce with the specified information. Returns the created Account's ID at `data.response_data.id`.

Create campaign

Creates a new campaign in Salesforce. Only `name` is universally required, but org-level validation rules commonly enforce `type`, `status`, `start_date`, and `end_date` as well — omitting them may cause creation to fail.

Create contact

Creates a new contact in Salesforce with the specified information. Writes to live CRM data — obtain explicit user confirmation before executing. Failures may reflect org-specific validation rules, permission restrictions, or duplicate rules rather than invalid inputs.

Create custom field

Tool to create a custom field on a Salesforce object using the Tooling API. Use when you need to add a new field (Text, Number, Checkbox, Date, Picklist, Lookup, etc.) to any standard or custom object without deploying metadata packages. The Tooling API provides direct field creation for rapid development and automation tasks.

Create custom object

Tool to create a custom object in Salesforce using the Metadata API. Use when you need to dynamically create new object types (tables) in Salesforce with custom fields and configurations.

Create lead

Creates a new lead in Salesforce. `LastName` and `Company` are required. Org-level validation rules (e.g., email format, custom required fields) may reject requests beyond these; inspect the error response body for the failing field. The created lead `id` is returned in a response wrapper, not at the top level.

Create opportunity

Creates a new opportunity in Salesforce with the specified information.

Create records using sObject Collections

Tool to create up to 200 records in one request using sObject Collections. Use when you need to create multiple records of potentially different sObject types efficiently in a single API call.

Create SObject record

Tool to create a new Salesforce SObject record. Use when you need to create any type of standard or custom Salesforce object record by specifying the object type and field values.

Delete account

Permanently deletes an account from Salesforce. This action cannot be undone.

Triggers

These are the trigger events currently available for Salesforce.

Account Created or Updated

Triggers when an Account is created or updated in Salesforce. Uses LastModifiedDate high-watermark to capture both creations and updates.

Contact Updated

Triggers when an existing Salesforce Contact record is modified. Emits changed fields alongside relevant timestamps.

New Contact Trigger

Triggers when a new Contact is Created in Salesforce.

New Lead Trigger

Triggers when a new Lead is created in Salesforce.

New or Updated Opportunity

Triggers when a Salesforce Opportunity is created or updated.

Record Updated (Generic SObject)

Triggers when monitored fields change on any Salesforce SObject. You specify the SObject type and which field values should be returned in the payload. The trigger uses SystemModstamp to detect changes regardless of which specific field changed.

Task Created or Completed

Triggers when a Task is created or when its status changes to Completed in Salesforce. Supports optional filtering by task Status or Subject.