Executes a GraphQL query or mutation against the Salesforce GraphQL API (UI API under the uiapi root field). The request runs against the connected org's My Domain host.
Required scopes: api.
643 matches
3 actions
Salesforce
3 actions
CRM/Salesforce
Executes a GraphQL query or mutation against the Salesforce GraphQL API (UI API under the uiapi root field). The request runs against the connected org's My Domain host.
Required scopes: api.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The GraphQL document to execute, e.g. `query accounts { uiapi { query { Account { edges { node { Id Name { value } } } } } } }`."
},
"variables": {
"type": "object",
"description": "Values for variables declared in the document."
}
},
"required": [
"query"
],
"additionalProperties": false
}{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "The query result, mirroring the shape of the request document."
},
"errors": {
"type": "array",
"description": "GraphQL errors, present when part or all of the request failed.",
"items": {
"type": "object"
}
}
}
}