Menu
Get Salesforce Object For Source
Get an object fields for a given source.
GET
/rest/organizations/{organizationId}/sources/{sourceId}/configuration/salesforce/objects/{objectName}Use it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Get Salesforce Object For Source action (under Source).
- Fill in the fields below, then reference the result from later steps as
{{getSalesforceObjectForSource.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getSalesforceObjectForSource.response.data.<field>}}.
{
"canHaveFiles": false,
"categories": [
"SERVICE_CLOUD"
],
"conditions": [
{
"fieldName": "string",
"inConditionValues": [
{
"type": "string",
"value": "string"
}
],
"operator": "EQUALS",
"value": "string"
}
],
"custom": false,
"fields": [
{
"custom": false,
"indexed": false,
"label": "string",
"mandatory": false,
"mappings": [
{
"content": "string",
"extractionMethod": "string",
"fieldName": "string",
"fieldTypeHint": "LONG",
"id": "string",
"kind": "COMMON",
"rules": [
"string"
],
"type": "string"
}
],
"name": "string",
"nestedLabel": "string",
"referenceTypes": [
"string"
],
"relationshipName": "string",
"relationshipNameField": "string",
"relationshipParent": false,
"relationshipPolymorphic": false
}
],
"filesIndexed": false,
"hasCustomFiletype": false,
"indexed": false,
"label": "string",
"name": "string",
"relationships": [
{
"conditions": [
{
"fieldName": "string",
"inConditionValues": [
{
"type": null,
"value": null
}
],
"operator": "EQUALS",
"value": "string"
}
],
"createRecord": false,
"fields": [
{
"custom": false,
"indexed": false,
"label": "string",
"mandatory": false,
"mappings": [
{
"content": null,
"extractionMethod": null,
"fieldName": null,
"fieldTypeHint": null,
"id": null,
"kind": null,
"rules": null,
"type": null
}
],
"name": "string",
"nestedLabel": "string",
"referenceTypes": [
"string"
],
"relationshipName": "string",
"relationshipNameField": "string",
"relationshipParent": false,
"relationshipPolymorphic": false
}
],
"referenceField": "string",
"referencesTo": [
"string"
],
"relationshipName": "string",
"relationshipType": "NON_POLYMORPHIC_PARENT"
}
],
"searchable": false
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?