# Feedback Form

### Screenshots

![Feedback for displayed by Leopard](https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-Lrka8RZswQjJNUEuRLA%2F-Lrkakpp3LtiZFMLNZex%2Ffeedback-form.jpg?alt=media\&token=fbbb4ca6-c29a-4d1a-afe5-86722557784c)

### Output Parameter

```groovy
offerFeedbackForm = 

{
  "rating"  : true,
  "reasons" : [ "Reason 1", "Reason 2" ],
  "nodeId"  : "8d20a808-a4a5-4af1-8b55-5c058ec929f4",
  "label"   : "Feedback?"
}
```

![Output Parameter in Teneo](https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-Lrka8RZswQjJNUEuRLA%2F-Lrkakps0Gnbv-Fw9vgB%2Ffeedback.jpg?alt=media\&token=e2669243-a97e-487c-8ae8-3261b54327f3)

### Post Back from Leopard

When the user fills in the feedback for Leopard will send a request to your TIE with `command=feedback` and a parameter called `feedback`. The value for the feedback parameter is a URI encoded JSON string with the following format:

```javascript
{
  "rating"  : 3,
  "reasons" : [ "Reason 1", "Reason 2" ],
  "comment" : "This answer doesn't look correct",
  "nodeId"  : "8d20a808-a4a5-4af1-8b55-5c058ec929f4"
}
```

{% hint style="info" %}
You can look for **?command=facebook** in either a pre-processing script or have a trigger in a feedback flow that then grabs the feedback and sets the feedback as flow variables that will then be persisted to Teneo Inquire. Any answer sent back from the flow will be ignored by Leopard.&#x20;
{% endhint %}
