> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gotohuman.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Handle result

> Each review submission triggers a webhook with the review result.

### Agent and tool webhooks

We generally send review results to the webhook you set up for each agent. Additionally, you can optionally [set up a tool webhook](/create-template#setup-tool-webhook) to be called for executing this tool:

* **Tool webhook (optional)** — called when a tool review is **approved**
* **Agent webhook** — receives all review completions for that agent; if a tool webhook is called, its response body is also included in the agent webhook as `toolResult`

### Payload

The webhook is a `POST` request to your endpoint with `Content-Type: application/json`.

<Info>
  Values in `reviewResult.data` follow the same shape as the `data` object in your [review request](/send-requests) — plus any reviewer edits or selections.
</Info>

```json theme={null}
{
  "event": "review.completed",
  "accountId": "abFMvLv4HafQymWxKDAov",
  "reviewId": "123456abcdef",
  "agentId": "agent123456abcdef",
  "sessionId": "session789abcdef",
  "formId": "123456abcdef",
  "formName": "Review AI Draft",
  "reviewResult": {
    "response": "approved",
    "respondingUser": "jess@acme.org",
    "respondedAt": "2024-10-05T14:48:00.000Z",
    "data": {
      "blogPost": "Regarding the very interesting topic of...",
      "rating": 7.5,
      "decisionSelect": "approve"
    }
  },
  "meta": {
    "example": "LLM thread id"
  },
  "gthLink": "https://app.gotohuman.com/accounts/abFMvLv4HafQymWxKDAov/inbox/agents/all/reviews/123456abcdef"
}
```

### n8n

If you are using n8n to build your AI workflow, read how to handle completed reviews in our [n8n integration guide](/Integrations/n8n).

### Make

When using Make to create your workflow, read our [Make integration guide](/Integrations/make-com) on how to handle submitted reviews.
