Salesforce:Describe sObject
Controlled node
Overview
Inspect the fields and capabilities of a Salesforce object.
Read the structure of one Salesforce object. Use this to find field API names, types, required-field information and picklist choices before creating or updating records.
Inputs
| Input | Type | Description |
|---|---|---|
| run | Event | Triggers this operation. |
| sobjectAPIName | Text | Required Salesforce object API name, such as Account, Contact or a custom object name ending in __c. Use the API name, not a display label. |
Properties
| Setting | Type | Description |
|---|---|---|
| connection | Connection | Select an authenticated Salesforce connection from this project. The connected account’s object and field permissions apply. |
Outputs
| Output | Type | Description |
|---|---|---|
| sobject | Data | Object description, including its fields array and object capabilities. Failures contain error. |
| done | Event | Fires when the node returns, including when it returns an error result. Check the data output before continuing. |
Useful field metadata includes name, label, type, nillable, createable, updateable, defaultedOnCreate and picklistValues where relevant. A description is not a list of records; use Query for the actual data. Organisation-specific validation can impose additional requirements.
Example
Set sobjectAPIName to Contact, select the connection and trigger run. Connect sobject to Show, with done triggering Show. Extract fields using Get Value to inspect the available field definitions.