salesforceObjects

List the objects of the Salesforce org connected to a project to choose the objects an integration may access; returns every object the connected user can see, or one page when a limit or cursor is sent. Requires project.integrations.read.

Arguments

  • inputSalesforceObjectsInput!required

  • input.projectReferenceString!required

    Project ID

  • input.limitInt

    Opt in to paging: objects per page, 1 to 100. Omit limit and cursor to read every object.

  • input.cursorString

    Opaque continuation from pageInfo, at most 4096 characters. A cursor without limit reads 20 objects.

Responses

query SalesforceObjects($input: SalesforceObjectsInput!) {  salesforceObjects(input: $input) {    data {      name      label      custom      queryable      createable      updateable      deletable      deprecatedAndHidden    }    total    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor      prev    }  }}
{  "data": {    "salesforceObjects": {      "data": [        {          "name": "string",          "label": "string",          "custom": false,          "queryable": false,          "createable": false,          "updateable": false,          "deletable": false,          "deprecatedAndHidden": false        }      ],      "total": 0,      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string",        "prev": "string"      }    }  }}

The SalesforceObjectsPayload! in data.salesforceObjects.