Tray.ai · Example Payload

Tray Ai Create Solution Instance Example

AutomationIntegrationiPaaSAI AgentsMCP

Tray Ai Create Solution Instance Example is an example object payload from Tray.ai, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://tray.io/graphql",
    "headers": {
      "Authorization": "Bearer {user_token}",
      "Content-Type": "application/json"
    },
    "body": {
      "query": "mutation { createSolutionInstance(input: { solutionId: \"solution-uuid-here\", instanceName: \"Salesforce to Slack Integration\", authValues: [{ externalId: \"salesforce-auth\", authId: \"auth-uuid-sf\" }], configValues: [{ externalId: \"slack-channel\", value: \"#notifications\" }] }) { solutionInstance { id name enabled workflows { edges { node { id triggerUrl } } } } } }"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "data": {
        "createSolutionInstance": {
          "solutionInstance": {
            "id": "instance-uuid-789",
            "name": "Salesforce to Slack Integration",
            "enabled": false,
            "workflows": {
              "edges": [
                {
                  "node": {
                    "id": "workflow-uuid-101",
                    "triggerUrl": "https://webhook.tray.io/trigger/workflow-uuid-101"
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}