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.

Sign in to connect Salesforce

Sign in to connect an account and start using Salesforce in your apps.

Example Use Cases

These are example ways Snow can use Salesforce when building apps with you. This list is meant to show examples, not document every possible capability. Connecting an account does not make Snow run these automatically on its own.

Add contact to campaign

Adds a contact to a campaign by creating a CampaignMember record to track campaign engagement. Fails if the contact is already a member of the campaign; pre-check membership via SOQL before calling.

Add lead to campaign

Adds a lead to a campaign by creating a CampaignMember record, allowing you to track campaign engagement. Both `campaign_id` and `lead_id` must be valid Salesforce IDs of active, existing records — names or emails cannot be substituted, and deleted or inactive records will cause the call to fail. This is a persistent CRM write; confirm the correct lead and campaign before calling.

Add product to opportunity

Adds a product (line item) to an opportunity. The product must exist in a pricebook entry that's associated with the opportunity's pricebook.

Apply lead assignment rules

Applies configured lead assignment rules to a specific lead, automatically routing it to the appropriate owner based on your organization's rules. Allow a brief propagation delay before querying updated ownership or field values after rule application.

Associate contact to account

Associates a contact with an account by updating the contact's AccountId field. Overwrites any existing AccountId on the contact. For broader contact field updates alongside the account association, use SALESFORCE_UPDATE_CONTACT instead.

Clone opportunity with products

Clones an opportunity and optionally its products (line items). Creates a new opportunity with the same field values and products as the original.

Clone record

Creates a copy of an existing Salesforce record by reading its data, removing system fields, and creating a new record. Optionally apply field updates to the clone.

Close or abort a job

Tool to close or abort a Salesforce Bulk API v2 ingest job. Use when you need to finalize job processing by closing (state: UploadComplete) or cancel a job by aborting (state: Aborted). This is required for every ingest job - closing queues data for processing, while aborting cancels the job and deletes uploaded data.

Complete task

Marks a task as completed with optional completion notes. This is a convenience action that updates the task status to 'Completed'.

Create a new contact

DEPRECATED: Creates a new Contact in Salesforce; 'LastName' is required, an existing 'AccountId' must be used if provided, and any custom fields (ending with '__c') must be predefined.

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.