Salesforce · Arazzo Workflow

Salesforce SOSL Search

Version 1.0.0

Run a SOSL full-text search across multiple SObjects in a single call.

1 workflow 1 source API 1 provider
View Spec View on GitHub Fortune 500Artificial IntelligenceAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSalesArazzoWorkflows

Provider

salesforce

Workflows

sosl-search
Run a SOSL search across objects and capture the matching records.
Executes a SOSL FIND query against the org and returns the searchRecords array of records matched across the searched objects.
1 step inputs: sosl outputs: searchRecords
1
runSearch
executeSearch
Execute the SOSL search across the targeted objects and return the matching records grouped in the searchRecords array.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce SOSL Search
  summary: Run a SOSL full-text search across multiple SObjects in a single call.
  description: >-
    Executes a SOSL search query that spans multiple Salesforce objects at once.
    The search string is supplied as the q query parameter and must include a
    FIND clause and optionally IN, RETURNING and WITH clauses. The workflow runs
    the search and captures the flattened searchRecords array of matching
    records grouped across the targeted objects. Every step spells out its
    request inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: salesforceRestApi
  url: ../openapi/salesforce-rest-api-openapi.yml
  type: openapi
workflows:
- workflowId: sosl-search
  summary: Run a SOSL search across objects and capture the matching records.
  description: >-
    Executes a SOSL FIND query against the org and returns the searchRecords
    array of records matched across the searched objects.
  inputs:
    type: object
    required:
    - sosl
    properties:
      sosl:
        type: string
        description: >-
          The SOSL search string to execute, including a FIND clause and
          optional IN, RETURNING and WITH clauses (e.g. FIND {Acme} IN ALL
          FIELDS RETURNING Account(Id, Name), Contact(Id, Name)).
  steps:
  - stepId: runSearch
    description: >-
      Execute the SOSL search across the targeted objects and return the
      matching records grouped in the searchRecords array.
    operationId: executeSearch
    parameters:
    - name: q
      in: query
      value: $inputs.sosl
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      searchRecords: $response.body#/searchRecords
  outputs:
    searchRecords: $steps.runSearch.outputs.searchRecords

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/salesforce-sosl-search-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.