Skip to main content

getSFDCObject

Fetch a single Salesforce record by id and object type from the workspace's connected org, resolving it to the matching Account, Contact, or Opportunity variant. Returns null when Salesforce is not connected or the record is not found; rejects customer-role callers.

getSFDCObject(
input: getSFDCObjectInput!
): SFDCObject

Arguments​

getSFDCObject.input ● getSFDCObjectInput! non-null input​

The Salesforce record id and object type to fetch.

Type​

SFDCObject union​

A single Salesforce record resolved to its concrete type by the record id's key prefix.