Skip to main content

searchSFDCObjects

Search records of a given Salesforce object type in the workspace's connected org by text or record URL, annotating each result with any accords it is linked to. Returns an empty list when Salesforce is not connected or the record URL does not match objectName; returns null when the query fails (e.g. the connected profile lacks field access) or objectName is not Account, Opportunity, or Contact; rejects customer-role callers.

searchSFDCObjects(
input: searchSFDCObjectsInput!
): [SFDCObject]

Arguments​

searchSFDCObjects.input ● searchSFDCObjectsInput! non-null input​

The object type to search plus the search text or record URL.

Type​

SFDCObject union​

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