Use Salesforce in Sim to manage accounts, contacts, leads, opportunities, cases, and tasks, run reports and SOQL queries, and create custom fields and objects through the Tooling API.
Connection guides: Integration users .
Sim requests these scopes when someone connects a Salesforce account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.
Setting Value Redirect URI Production or Developer Edition: <NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/salesforce Sandbox: <NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/salesforce-sandbox Environment variables SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET
Scope Description apiAccess Salesforce API refresh_tokenMaintain long-term access to Salesforce account openidStandard authentication
Manage accounts, contacts, leads, opportunities, cases, and tasks, run reports and SOQL queries, and manage org schema by creating custom fields and objects via the Tooling API.
Retrieve accounts from Salesforce CRM
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results (default: 100, max: 2000) fieldsstring No Comma-separated field API names (e.g., "Id,Name,Industry,Phone") orderBystring No Field and direction for sorting (e.g., "Name ASC" or "CreatedDate DESC")
Parameter Type Description successboolean Operation success status outputobject Accounts data ↳ paging object Pagination information from Salesforce API ↳ nextRecordsUrl string URL to fetch the next batch of records (present when done is false) ↳ totalSize number Total number of records matching the query (may exceed records returned) ↳ done boolean Whether all records have been returned (false if more batches exist) ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ accounts array Array of account objects ↳ success boolean Salesforce operation success
Create a new account in Salesforce CRM
Inputs and outputsParameter Type Required Description namestring Yes Account name (required) typestring No Account type (e.g., Customer, Partner, Prospect) industrystring No Industry (e.g., Technology, Healthcare, Finance) phonestring No Phone number websitestring No Website URL billingStreetstring No Billing street address billingCitystring No Billing city billingStatestring No Billing state/province billingPostalCodestring No Billing postal code billingCountrystring No Billing country descriptionstring No Account description annualRevenuestring No Annual revenue as a number numberOfEmployeesstring No Number of employees as an integer
Parameter Type Description successboolean Operation success status outputobject Created account data ↳ id string The Salesforce ID of the newly created record ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the record was created (always true on success)
Update an existing account in Salesforce CRM
Inputs and outputsParameter Type Required Description accountIdstring Yes Salesforce Account ID to update (18-character string starting with 001) namestring No Account name typestring No Account type (e.g., Customer, Partner, Prospect) industrystring No Industry (e.g., Technology, Healthcare, Finance) phonestring No Phone number websitestring No Website URL billingStreetstring No Billing street address billingCitystring No Billing city billingStatestring No Billing state/province billingPostalCodestring No Billing postal code billingCountrystring No Billing country descriptionstring No Account description annualRevenuestring No Annual revenue as a number numberOfEmployeesstring No Number of employees as an integer
Parameter Type Description successboolean Operation success status outputobject Updated account data ↳ id string The Salesforce ID of the updated record ↳ updated boolean Whether the record was updated (always true on success)
Delete an account from Salesforce CRM
Inputs and outputsParameter Type Required Description accountIdstring Yes Salesforce Account ID to delete (18-character string starting with 001)
Parameter Type Description successboolean Operation success status outputobject Deleted account data ↳ id string The Salesforce ID of the deleted record ↳ deleted boolean Whether the record was deleted (always true on success)
Get contact(s) from Salesforce - single contact if ID provided, or list if not
Inputs and outputsParameter Type Required Description contactIdstring No Salesforce Contact ID (18-character string starting with 003) to get a single contact limitstring No Maximum number of results (default: 100, max: 2000). Only for list query. fieldsstring No Comma-separated field API names (e.g., "Id,FirstName,LastName,Email,Phone") orderBystring No Field and direction for sorting (e.g., "LastName ASC"). Only for list query.
Parameter Type Description successboolean Operation success status outputobject Contact(s) data ↳ paging object Pagination information from Salesforce API ↳ nextRecordsUrl string URL to fetch the next batch of records (present when done is false) ↳ totalSize number Total number of records matching the query (may exceed records returned) ↳ done boolean Whether all records have been returned (false if more batches exist) ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ contacts array Array of contacts (list query) ↳ contact object Single contact (by ID) ↳ singleContact boolean Whether single contact was returned ↳ success boolean Salesforce operation success
Create a new contact in Salesforce CRM
Inputs and outputsParameter Type Required Description lastNamestring Yes Last name (required) firstNamestring No First name emailstring No Email address phonestring No Phone number accountIdstring No Salesforce Account ID (18-character string starting with 001) titlestring No Job title departmentstring No Department mailingStreetstring No Mailing street mailingCitystring No Mailing city mailingStatestring No Mailing state mailingPostalCodestring No Mailing postal code mailingCountrystring No Mailing country descriptionstring No Contact description
Parameter Type Description successboolean Operation success status outputobject Created contact data ↳ id string The Salesforce ID of the newly created record ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the record was created (always true on success)
Update an existing contact in Salesforce CRM
Inputs and outputsParameter Type Required Description contactIdstring Yes Salesforce Contact ID to update (18-character string starting with 003) lastNamestring No Last name firstNamestring No First name emailstring No Email address phonestring No Phone number accountIdstring No Salesforce Account ID (18-character string starting with 001) titlestring No Job title departmentstring No Department mailingStreetstring No Mailing street mailingCitystring No Mailing city mailingStatestring No Mailing state mailingPostalCodestring No Mailing postal code mailingCountrystring No Mailing country descriptionstring No Contact description
Parameter Type Description successboolean Operation success status outputobject Updated contact data ↳ id string The Salesforce ID of the updated record ↳ updated boolean Whether the record was updated (always true on success)
Delete a contact from Salesforce CRM
Inputs and outputsParameter Type Required Description contactIdstring Yes Salesforce Contact ID to delete (18-character string starting with 003)
Parameter Type Description successboolean Operation success status outputobject Deleted contact data ↳ id string The Salesforce ID of the deleted record ↳ deleted boolean Whether the record was deleted (always true on success)
Retrieve lead(s) from Salesforce CRM
Inputs and outputsParameter Type Required Description leadIdstring No Salesforce Lead ID (18-character string starting with 00Q) to get a single lead limitstring No Maximum number of results to return (default: 100) fieldsstring No Comma-separated list of field API names to return orderBystring No Field and direction for sorting (e.g., LastName ASC)
Parameter Type Description successboolean Operation success status outputobject Lead data ↳ paging object Pagination information from Salesforce API ↳ nextRecordsUrl string URL to fetch the next batch of records (present when done is false) ↳ totalSize number Total number of records matching the query (may exceed records returned) ↳ done boolean Whether all records have been returned (false if more batches exist) ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ lead object Single lead object (when leadId provided) ↳ leads array Array of lead objects (when listing) ↳ singleLead boolean Whether single lead was returned ↳ success boolean Operation success status
Create a new lead
Inputs and outputsParameter Type Required Description lastNamestring Yes Last name (required) companystring Yes Company name (required) firstNamestring No First name emailstring No Email address phonestring No Phone number statusstring No Lead status (e.g., Open, Working, Closed) leadSourcestring No Lead source (e.g., Web, Referral, Campaign) titlestring No Job title descriptionstring No Lead description
Parameter Type Description successboolean Operation success status outputobject Created lead data ↳ id string The Salesforce ID of the newly created record ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the record was created (always true on success)
Update an existing lead
Inputs and outputsParameter Type Required Description leadIdstring Yes Salesforce Lead ID to update (18-character string starting with 00Q) lastNamestring No Last name companystring No Company name firstNamestring No First name emailstring No Email address phonestring No Phone number statusstring No Lead status (e.g., Open, Working, Closed) leadSourcestring No Lead source (e.g., Web, Referral, Campaign) titlestring No Job title descriptionstring No Lead description
Parameter Type Description successboolean Operation success status outputobject Updated lead data ↳ id string The Salesforce ID of the updated record ↳ updated boolean Whether the record was updated (always true on success)
Delete a lead
Inputs and outputsParameter Type Required Description leadIdstring Yes Salesforce Lead ID to delete (18-character string starting with 00Q)
Parameter Type Description successboolean Operation success status outputobject Deleted lead data ↳ id string The Salesforce ID of the deleted record ↳ deleted boolean Whether the record was deleted (always true on success)
Get opportunity(ies) from Salesforce
Inputs and outputsParameter Type Required Description opportunityIdstring No Salesforce Opportunity ID (18-character string starting with 006) to get a single opportunity limitstring No Maximum number of results to return (default: 100) fieldsstring No Comma-separated list of field API names to return orderBystring No Field and direction for sorting (e.g., CloseDate DESC)
Parameter Type Description successboolean Operation success status outputobject Opportunity data ↳ paging object Pagination information from Salesforce API ↳ nextRecordsUrl string URL to fetch the next batch of records (present when done is false) ↳ totalSize number Total number of records matching the query (may exceed records returned) ↳ done boolean Whether all records have been returned (false if more batches exist) ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ opportunity object Single opportunity object (when opportunityId provided) ↳ opportunities array Array of opportunity objects (when listing) ↳ success boolean Operation success status
Create a new opportunity
Inputs and outputsParameter Type Required Description namestring Yes Opportunity name (required) stageNamestring Yes Stage name (required, e.g., Prospecting, Qualification, Closed Won) closeDatestring Yes Close date in YYYY-MM-DD format (required) accountIdstring No Salesforce Account ID (18-character string starting with 001) amountstring No Deal amount as a number probabilitystring No Win probability as integer (0-100) descriptionstring No Opportunity description
Parameter Type Description successboolean Operation success status outputobject Created opportunity data ↳ id string The Salesforce ID of the newly created record ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the record was created (always true on success)
Update an existing opportunity
Inputs and outputsParameter Type Required Description opportunityIdstring Yes Salesforce Opportunity ID to update (18-character string starting with 006) namestring No Opportunity name stageNamestring No Stage name (e.g., Prospecting, Qualification, Closed Won) closeDatestring No Close date in YYYY-MM-DD format accountIdstring No Salesforce Account ID (18-character string starting with 001) amountstring No Deal amount as a number probabilitystring No Win probability as integer (0-100) descriptionstring No Opportunity description
Parameter Type Description successboolean Operation success status outputobject Updated opportunity data ↳ id string The Salesforce ID of the updated record ↳ updated boolean Whether the record was updated (always true on success)
Delete an opportunity
Inputs and outputsParameter Type Required Description opportunityIdstring Yes Salesforce Opportunity ID to delete (18-character string starting with 006)
Parameter Type Description successboolean Operation success status outputobject Deleted opportunity data ↳ id string The Salesforce ID of the deleted record ↳ deleted boolean Whether the record was deleted (always true on success)
Get case(s) from Salesforce
Inputs and outputsParameter Type Required Description caseIdstring No Salesforce Case ID (18-character string starting with 500) to get a single case limitstring No Maximum number of results to return (default: 100) fieldsstring No Comma-separated list of field API names to return orderBystring No Field and direction for sorting (e.g., CreatedDate DESC)
Parameter Type Description successboolean Operation success status outputobject Case data ↳ paging object Pagination information from Salesforce API ↳ nextRecordsUrl string URL to fetch the next batch of records (present when done is false) ↳ totalSize number Total number of records matching the query (may exceed records returned) ↳ done boolean Whether all records have been returned (false if more batches exist) ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ case object Single case object (when caseId provided) ↳ cases array Array of case objects (when listing) ↳ success boolean Operation success status
Create a new case
Inputs and outputsParameter Type Required Description subjectstring Yes Case subject (required) statusstring No Status (e.g., New, Working, Escalated) prioritystring No Priority (e.g., Low, Medium, High) originstring No Origin (e.g., Phone, Email, Web) contactIdstring No Salesforce Contact ID (18-character string starting with 003) accountIdstring No Salesforce Account ID (18-character string starting with 001) descriptionstring No Case description
Parameter Type Description successboolean Operation success status outputobject Created case data ↳ id string The Salesforce ID of the newly created record ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the record was created (always true on success)
Update an existing case
Inputs and outputsParameter Type Required Description caseIdstring Yes Salesforce Case ID to update (18-character string starting with 500) subjectstring No Case subject statusstring No Status (e.g., New, Working, Escalated, Closed) prioritystring No Priority (e.g., Low, Medium, High) originstring No Origin (e.g., Phone, Email, Web) contactIdstring No Salesforce Contact ID (18-character string starting with 003) accountIdstring No Salesforce Account ID (18-character string starting with 001) descriptionstring No Case description
Parameter Type Description successboolean Operation success status outputobject Updated case data ↳ id string The Salesforce ID of the updated record ↳ updated boolean Whether the record was updated (always true on success)
Delete a case
Inputs and outputsParameter Type Required Description caseIdstring Yes Salesforce Case ID to delete (18-character string starting with 500)
Parameter Type Description successboolean Operation success status outputobject Deleted case data ↳ id string The Salesforce ID of the deleted record ↳ deleted boolean Whether the record was deleted (always true on success)
Get task(s) from Salesforce
Inputs and outputsParameter Type Required Description taskIdstring No Salesforce Task ID (18-character string starting with 00T) to get a single task limitstring No Maximum number of results to return (default: 100) fieldsstring No Comma-separated list of field API names to return orderBystring No Field and direction for sorting (e.g., ActivityDate DESC)
Parameter Type Description successboolean Operation success status outputobject Task data ↳ paging object Pagination information from Salesforce API ↳ nextRecordsUrl string URL to fetch the next batch of records (present when done is false) ↳ totalSize number Total number of records matching the query (may exceed records returned) ↳ done boolean Whether all records have been returned (false if more batches exist) ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ task object Single task object (when taskId provided) ↳ tasks array Array of task objects (when listing) ↳ success boolean Operation success status
Create a new task
Inputs and outputsParameter Type Required Description subjectstring Yes Task subject (required) statusstring No Status (e.g., Not Started, In Progress, Completed) prioritystring No Priority (e.g., Low, Normal, High) activityDatestring No Due date in YYYY-MM-DD format whoIdstring No Related Contact ID (003...) or Lead ID (00Q...) whatIdstring No Related Account ID (001...) or Opportunity ID (006...) descriptionstring No Task description
Parameter Type Description successboolean Operation success status outputobject Created task data ↳ id string The Salesforce ID of the newly created record ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the record was created (always true on success)
Update an existing task
Inputs and outputsParameter Type Required Description taskIdstring Yes Salesforce Task ID to update (18-character string starting with 00T) subjectstring No Task subject statusstring No Status (e.g., Not Started, In Progress, Completed) prioritystring No Priority (e.g., Low, Normal, High) activityDatestring No Due date in YYYY-MM-DD format whoIdstring No Related Contact ID (003...) or Lead ID (00Q...) whatIdstring No Related Account ID (001...) or Opportunity ID (006...) descriptionstring No Task description
Parameter Type Description successboolean Operation success status outputobject Updated task data ↳ id string The Salesforce ID of the updated record ↳ updated boolean Whether the record was updated (always true on success)
Delete a task
Inputs and outputsParameter Type Required Description taskIdstring Yes Salesforce Task ID to delete (18-character string starting with 00T)
Parameter Type Description successboolean Operation success status outputobject Deleted task data ↳ id string The Salesforce ID of the deleted record ↳ deleted boolean Whether the record was deleted (always true on success)
Get a list of up to 200 recently viewed reports for the current user
Inputs and outputsParameter Type Required Description searchTermstring No Filter reports by name (case-insensitive partial match)
Parameter Type Description successboolean Operation success status outputobject Reports data ↳ reports array Array of report objects ↳ totalReturned number Number of items returned ↳ success boolean Salesforce operation success
Get the describe (definition and metadata) for a specific report
Inputs and outputsParameter Type Required Description reportIdstring Yes Salesforce Report ID (18-character string starting with 00O)
Parameter Type Description successboolean Operation success status outputobject Report metadata ↳ report object Report metadata object ↳ reportId string Report ID ↳ success boolean Salesforce operation success
Execute a report and retrieve the results
Inputs and outputsParameter Type Required Description reportIdstring Yes Salesforce Report ID (18-character string starting with 00O) includeDetailsstring No Include detail rows (true/false, default: true) filtersstring No JSON array of report filter objects to apply
Parameter Type Description successboolean Operation success status outputobject Report results ↳ reportId string Report ID ↳ reportMetadata object Report metadata including name, format, and filter definitions ↳ reportExtendedMetadata object Extended metadata for aggregate columns and groupings ↳ factMap object Report data organized by groupings with aggregates and row data ↳ groupingsDown object Row grouping hierarchy and values ↳ groupingsAcross object Column grouping hierarchy and values ↳ hasDetailRows boolean Whether the report includes detail-level row data ↳ allData boolean Whether all data is returned (false if truncated due to size limits) ↳ reportName string Display name of the report ↳ reportFormat string Report format type (TABULAR, SUMMARY, MATRIX, JOINED) ↳ success boolean Salesforce operation success
Get a list of available report types
Inputs and outputsParameter Type Required Description
Parameter Type Description successboolean Operation success status outputobject Report types data ↳ reportTypes array Array of report type objects ↳ totalReturned number Number of items returned ↳ success boolean Salesforce operation success
Get a list of recently used dashboards for the current user
Inputs and outputsParameter Type Required Description
Parameter Type Description successboolean Operation success status outputobject Dashboards data ↳ dashboards array Array of dashboard objects ↳ totalReturned number Number of items returned ↳ success boolean Salesforce operation success
Get details and results for a specific dashboard
Inputs and outputsParameter Type Required Description dashboardIdstring Yes Salesforce Dashboard ID (18-character string starting with 01Z)
Parameter Type Description successboolean Operation success status outputobject Dashboard data ↳ dashboard object Full dashboard details object ↳ dashboardId string Dashboard ID ↳ components array Array of dashboard component data with visualizations and filters ↳ dashboardName string Display name of the dashboard ↳ dashboardMetadata object Structured dashboard metadata (attributes, component definitions, layout) ↳ runningUser object User context under which the dashboard data was retrieved ↳ success boolean Salesforce operation success
Refresh a dashboard to get the latest data
Inputs and outputsParameter Type Required Description dashboardIdstring Yes Salesforce Dashboard ID (18-character string starting with 01Z)
Parameter Type Description successboolean Operation success status outputobject Refreshed dashboard data ↳ dashboard object Full dashboard details object ↳ dashboardId string Dashboard ID ↳ components array Array of dashboard component data with fresh visualizations ↳ status object Dashboard refresh status (dashboardStatus), when returned by the refresh ↳ statusUrl string URL of the status resource to poll for refresh completion ↳ dashboardName string Display name of the dashboard ↳ dashboardMetadata object Structured dashboard metadata (attributes, component definitions, layout) ↳ success boolean Salesforce operation success
Execute a custom SOQL query to retrieve data from Salesforce
Inputs and outputsParameter Type Required Description querystring Yes SOQL query to execute (e.g., SELECT Id, Name FROM Account LIMIT 10)
Parameter Type Description successboolean Operation success status outputobject Query results ↳ records array Array of sObject records matching the query ↳ query string The executed SOQL query ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ success boolean Salesforce operation success
Retrieve additional query results using the nextRecordsUrl from a previous query
Inputs and outputsParameter Type Required Description nextRecordsUrlstring Yes The nextRecordsUrl value from a previous query response (e.g., /services/data/v59.0/query/01g...)
Parameter Type Description successboolean Operation success status outputobject Query results ↳ records array Array of sObject records matching the query ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ success boolean Salesforce operation success
Get metadata and field information for a Salesforce object
Inputs and outputsParameter Type Required Description objectNamestring Yes Salesforce object API name (e.g., Account, Contact, Lead, Custom_Object__c)
Parameter Type Description successboolean Operation success status outputobject Object metadata ↳ objectName string API name of the object (e.g., Account, Contact) ↳ label string Human-readable singular label for the object ↳ labelPlural string Human-readable plural label for the object ↳ fields array Array of field metadata objects ↳ name string API name of the field ↳ label string Display label of the field ↳ type string Field data type (string, boolean, int, double, date, etc.) ↳ length number Maximum length for text fields ↳ precision number Precision for numeric fields ↳ scale number Scale for numeric fields ↳ nillable boolean Whether the field can be null ↳ unique boolean Whether values must be unique ↳ createable boolean Whether field can be set on create ↳ updateable boolean Whether field can be updated ↳ defaultedOnCreate boolean Whether field has default value on create ↳ calculated boolean Whether field is a formula field ↳ autoNumber boolean Whether field is auto-number ↳ externalId boolean Whether field is an external ID ↳ idLookup boolean Whether field can be used in ID lookup ↳ inlineHelpText string Help text for the field ↳ picklistValues array Available picklist values for picklist fields ↳ referenceTo array Objects this field can reference (for lookup fields) ↳ relationshipName string Relationship name for lookup fields ↳ custom boolean Whether this is a custom field ↳ filterable boolean Whether field can be used in SOQL filter ↳ groupable boolean Whether field can be used in GROUP BY ↳ sortable boolean Whether field can be used in ORDER BY ↳ keyPrefix string Three-character prefix used in record IDs (e.g., "001" for Account) ↳ queryable boolean Whether the object can be queried via SOQL ↳ createable boolean Whether records can be created for this object ↳ updateable boolean Whether records can be updated for this object ↳ deletable boolean Whether records can be deleted for this object ↳ childRelationships array Array of child relationship metadata for related objects ↳ recordTypeInfos array Array of record type information for the object ↳ fieldCount number Total number of fields on the object ↳ success boolean Salesforce operation success
Get a list of all available Salesforce objects
Inputs and outputsParameter Type Required Description
Parameter Type Description successboolean Operation success status outputobject Objects list ↳ objects array Array of sObject metadata ↳ name string API name of the object ↳ label string Display label of the object ↳ labelPlural string Plural display label ↳ keyPrefix string Three-character ID prefix ↳ custom boolean Whether this is a custom object ↳ queryable boolean Whether object can be queried ↳ createable boolean Whether records can be created ↳ updateable boolean Whether records can be updated ↳ deletable boolean Whether records can be deleted ↳ searchable boolean Whether object is searchable ↳ triggerable boolean Whether triggers are supported ↳ layoutable boolean Whether page layouts are supported ↳ replicateable boolean Whether object can be replicated ↳ retrieveable boolean Whether records can be retrieved ↳ undeletable boolean Whether records can be undeleted ↳ urls object URLs for accessing object resources ↳ encoding string Character encoding for the organization (e.g., UTF-8) ↳ maxBatchSize number Maximum number of records that can be returned in a single query batch (typically 200) ↳ totalReturned number Number of objects returned ↳ success boolean Salesforce operation success
Create a custom field on a Salesforce object (e.g., Account) using the Tooling API
Inputs and outputsParameter Type Required Description objectNamestring Yes API name of the object to add the field to (e.g., Account, Contact, Lead, MyObject__c) fieldNamestring Yes API name of the new field; the __c suffix is added automatically (e.g., Region) labelstring No Display label shown in the UI (defaults to the field name when omitted) fieldTypestring Yes Field data type: Text, TextArea, LongTextArea, Html, Number, Currency, Percent, Checkbox, Date, DateTime, Time, Phone, Email, Url, Picklist, or MultiselectPicklist lengthnumber No Maximum length for Text (1-255), LongTextArea, Html, or MultiselectPicklist fields precisionnumber No Total number of digits for Number, Currency, or Percent fields (1-18) scalenumber No Number of digits to the right of the decimal for numeric fields visibleLinesnumber No Number of visible lines for LongTextArea, Html, or MultiselectPicklist fields requiredboolean No Whether the field is required on record create/edit uniqueboolean No Whether the field enforces unique values externalIdboolean No Whether the field is an external ID (for Text, Number, or Email fields) defaultValuestring No Default value; for Checkbox fields use true or false descriptionstring No Internal description of the field inlineHelpTextstring No Help text shown next to the field in the UI picklistValuesstring No Comma-separated values for Picklist or MultiselectPicklist fields
Parameter Type Description successboolean Operation success status outputobject Created custom field metadata ↳ id string Tooling API Id of the newly created custom field ↳ fullName string Full API name of the field, including object (e.g., Account.Region__c) ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the field was created (always true on success)
Update an existing custom field on a Salesforce object using the Tooling API
Inputs and outputsParameter Type Required Description fieldIdstring Yes Tooling API Id of the custom field to update (find it via the Tooling Query tool) labelstring No Display label shown in the UI lengthnumber No Maximum length for Text, LongTextArea, Html, or MultiselectPicklist fields precisionnumber No Total number of digits for Number, Currency, or Percent fields scalenumber No Number of digits to the right of the decimal for numeric fields visibleLinesnumber No Number of visible lines for LongTextArea, Html, or MultiselectPicklist fields requiredboolean No Whether the field is required on record create/edit uniqueboolean No Whether the field enforces unique values externalIdboolean No Whether the field is an external ID defaultValuestring No Default value; for Checkbox fields use true or false descriptionstring No Internal description of the field inlineHelpTextstring No Help text shown next to the field in the UI picklistValuesstring No Comma-separated values to add to a Picklist or MultiselectPicklist field (existing values are kept)
Parameter Type Description successboolean Operation success status outputobject Updated custom field metadata ↳ id string Tooling API Id of the updated custom field ↳ updated boolean Whether the field was updated (always true on success)
Delete a custom field from a Salesforce object using the Tooling API
Inputs and outputsParameter Type Required Description fieldIdstring Yes Tooling API Id of the custom field to delete (find it via the Tooling Query tool)
Parameter Type Description successboolean Operation success status outputobject Deleted custom field metadata ↳ id string Tooling API Id of the deleted custom field ↳ deleted boolean Whether the field was deleted (always true on success)
Create a custom object in Salesforce using the Tooling API
Inputs and outputsParameter Type Required Description objectNamestring Yes API name of the new object; the __c suffix is added automatically (e.g., Project) labelstring Yes Singular display label for the object (e.g., Project) pluralLabelstring Yes Plural display label for the object (e.g., Projects) nameFieldLabelstring No Label for the standard Name field (defaults to "<label> Name") descriptionstring No Internal description of the object sharingModelstring No Org-wide sharing model: ReadWrite, Read, Private, or ControlledByParent (default ReadWrite)
Parameter Type Description successboolean Operation success status outputobject Created custom object metadata ↳ id string Tooling API Id of the newly created custom object ↳ fullName string Full API name of the object (e.g., Project__c) ↳ success boolean Whether the create operation was successful ↳ created boolean Whether the object was created (always true on success)
Execute a SOQL query against the Tooling API to inspect metadata objects
Inputs and outputsParameter Type Required Description querystring Yes Tooling SOQL query (e.g., SELECT Id, DeveloperName FROM CustomField WHERE TableEnumOrId = 'Account')
Parameter Type Description successboolean Operation success status outputobject Tooling query results ↳ records array Array of Tooling API records matching the query ↳ query string The executed Tooling SOQL query ↳ metadata object Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records exist (inverse of done) ↳ success boolean Salesforce operation success
A trigger starts a workflow when a supported event occurs in this service.
Trigger workflow when a case status changes
Parameter Type Required Description webhookSecretstring Yes Required. Use the same value in your Salesforce HTTP Callout as Bearer token or X-Sim-Webhook-Secret.
Parameter Type Description eventTypestring The type of event simEventTypestring Optional alias from the payload (simEventType). Empty when only eventType is sent. objectTypestring Salesforce object type (Case) recordIdstring Case ID timestampstring When the event occurred (ISO 8601) recordobject ↳ Id string Case ID ↳ Subject string Case subject ↳ Status string Current case status ↳ Priority string Case priority ↳ CaseNumber string Case number ↳ AccountId string Related Account ID ↳ ContactId string Related Contact ID ↳ OwnerId string Case owner ID previousStatusstring Previous case status newStatusstring New case status payloadjson Full webhook payload
Trigger workflow when an opportunity stage changes
Parameter Type Required Description webhookSecretstring Yes Required. Use the same value in your Salesforce HTTP Callout as Bearer token or X-Sim-Webhook-Secret.
Parameter Type Description eventTypestring The type of event simEventTypestring Optional alias from the payload (simEventType). Empty when only eventType is sent. objectTypestring Salesforce object type (Opportunity) recordIdstring Opportunity ID timestampstring When the event occurred (ISO 8601) recordobject ↳ Id string Opportunity ID ↳ Name string Opportunity name ↳ StageName string Current stage name ↳ Amount string Deal amount ↳ CloseDate string Expected close date ↳ Probability string Win probability ↳ AccountId string Related Account ID (standard Opportunity field) ↳ OwnerId string Opportunity owner ID previousStagestring Previous stage name newStagestring New stage name payloadjson Full webhook payload
Trigger workflow when a Salesforce record is created
Parameter Type Required Description webhookSecretstring Yes Required. Use the same value in your Salesforce HTTP Callout as Bearer token or X-Sim-Webhook-Secret. objectTypestring No When set, the payload must include matching object type metadata (for example objectType, sobjectType, or attributes.type) or the event is rejected.
Parameter Type Description eventTypestring The type of event (e.g., created, updated, deleted) simEventTypestring Optional alias from the payload (simEventType). Empty when only eventType is sent. objectTypestring Salesforce object type (e.g., Account, Contact, Lead) recordIdstring ID of the affected record timestampstring When the event occurred (ISO 8601) recordobject ↳ Id string Record ID ↳ Name string Record name ↳ CreatedDate string Record creation date ↳ LastModifiedDate string Last modification date ↳ OwnerId string Record owner ID (standard field when sent in the Flow body) ↳ SystemModstamp string System modstamp from the record (ISO 8601) when included in the payload changedFieldsjson Fields that were changed (for update events) payloadjson Full webhook payload
Trigger workflow when a Salesforce record is deleted
Parameter Type Required Description webhookSecretstring Yes Required. Use the same value in your Salesforce HTTP Callout as Bearer token or X-Sim-Webhook-Secret. objectTypestring No When set, the payload must include matching object type metadata (for example objectType, sobjectType, or attributes.type) or the event is rejected.
Parameter Type Description eventTypestring The type of event (e.g., created, updated, deleted) simEventTypestring Optional alias from the payload (simEventType). Empty when only eventType is sent. objectTypestring Salesforce object type (e.g., Account, Contact, Lead) recordIdstring ID of the affected record timestampstring When the event occurred (ISO 8601) recordobject ↳ Id string Record ID ↳ Name string Record name ↳ CreatedDate string Record creation date ↳ LastModifiedDate string Last modification date ↳ OwnerId string Record owner ID (standard field when sent in the Flow body) ↳ SystemModstamp string System modstamp from the record (ISO 8601) when included in the payload changedFieldsjson Fields that were changed (for update events) payloadjson Full webhook payload
Trigger workflow when a Salesforce record is updated
Parameter Type Required Description webhookSecretstring Yes Required. Use the same value in your Salesforce HTTP Callout as Bearer token or X-Sim-Webhook-Secret. objectTypestring No When set, the payload must include matching object type metadata (for example objectType, sobjectType, or attributes.type) or the event is rejected.
Parameter Type Description eventTypestring The type of event (e.g., created, updated, deleted) simEventTypestring Optional alias from the payload (simEventType). Empty when only eventType is sent. objectTypestring Salesforce object type (e.g., Account, Contact, Lead) recordIdstring ID of the affected record timestampstring When the event occurred (ISO 8601) recordobject ↳ Id string Record ID ↳ Name string Record name ↳ CreatedDate string Record creation date ↳ LastModifiedDate string Last modification date ↳ OwnerId string Record owner ID (standard field when sent in the Flow body) ↳ SystemModstamp string System modstamp from the record (ISO 8601) when included in the payload changedFieldsjson Fields that were changed (for update events) payloadjson Full webhook payload
Trigger workflow on any Salesforce webhook event
Parameter Type Required Description webhookSecretstring Yes Required. Use the same value in your Salesforce HTTP Callout as Bearer token or X-Sim-Webhook-Secret. objectTypestring No When set, the payload must include matching object type metadata (for example objectType, sobjectType, or attributes.type) or the event is rejected.
Parameter Type Description eventTypestring The type of event simEventTypestring Optional alias from the payload (simEventType). Empty when only eventType is sent. objectTypestring Salesforce object type recordIdstring ID of the affected record timestampstring When the event occurred (ISO 8601) recordjson Full record data payloadjson Full webhook payload