# Set up Cancellation Feedback

A great way to improve your product and service is to figure out why customers leave. Billflow makes it super easy to get feedback when a customer chooses to cancel their subscription.&#x20;

## Enable Cancellation Feedback

Here's how to enable that on the Customer Portal:

Make sure you have turned on **Enable cancellation** and **Ask for cancellation reason** from the billing page editor.

![Cancellation Options on dashboard](/files/-MJ-zv1c50W3fMvS0E8V)

With these enabled, when your customers select the cancel action, they will see the following pop-up.

![Cancelation Feedback pop-up](/files/-MJ0-Y4muZMfSW_jN8JW)

## Show a custom survey on cancellation

Using the handleResponse option and the Typeform modal embed, you can show a survey to users on cancellation to learn more about why the cancelled. Check out the example!

{% embed url="<https://codepen.io/kmidkiff/pen/XWmoJyG>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.billflow.io/how-to/cancellations-payment-failures/set-up-cancellation-feedback.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
