Search Then Retrieve Record
A 2-step recipe with Salesforce Sales Cloud. We can help you get access.
Recipe · 2 steps
Search Then Retrieve Record
SOSL search for records, then retrieve the top match in full.
- Run the SOSL search across objects.
- Fetch the full record for the top search hit.
What you'll need to have ready
- accessToken: OAuth 2.0 access token used as the Bearer credential.
- searchString: The SOSL search string (e.g. FIND {Acme} IN ALL FIELDS RETURNING Account(Id)).
- sObjectName: The object type of the expected top hit (e.g. Account).
- fields: Comma-separated list of fields to return on retrieval.
For your developer
Arazzo workflow salesforce-sales-cloud:search-then-retrieve-record, 2 operations: executeSOSLSearch → getSObjectRecord. Specs on APIs.io.