# Component: Cancel Survey Dropdown

**Purpose:** If you wish to record the reasons for a cancellation but do not need to create a save experience (or you wish to record the reasons for a cancellation at the end of a failed save flow), use this component.

If you wish to route the customer to a save experience depending on the reason, use the [Component: Cancel Survey](https://docs.limio.com/components/component-library/standard-components/component-cancel-survey) component and read [How to create a personalised cancel/save experience with Discounts or Switch Offers](https://docs.limio.com/product/self-service/what-are-the-standard-functionality-of-limio-self-service-manage-my-account/how-to-create-a-personalised-cancelsave-experience) for more details.

The cancellation reason will be stored in Limio and can be passed to other systems ([Integration of Cancel Survey reasons into other platforms.](https://docs.limio.com/components/component-library/component-cancel-survey#h01gbqn9xdgmt9nvj1rhf08qfhm))

The cancel survey dropdown component can display the customers termEndDate ([list-of-variables-that-can-be-used-in-limio-components](https://docs.limio.com/components/component-library/list-of-variables-that-can-be-used-in-limio-components "mention")) and all other text is configurable.

{% embed url="<https://69c2cf3a42a094f3cd354b8d-rfnbnfqzuj.chromatic.com/?path=/story/shop-components-cancellation-cancel-survey-dropdown--default&full=1&shortcuts=false&singleStory=true&embed=true>" %}

## Component properties configurable in the page builder

| **id**                                     | **label**                                | **type** | **default**                                                                                                                      | **purpose**                                                                  |
| ------------------------------------------ | ---------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| title                                      | Title                                    | string   | Cancel subscription                                                                                                              | Header text visible to the customer                                          |
| subtitle                                   | Subtitle                                 | string   | You're about to cancel your subscription                                                                                         | Subtitle text visible to the customer                                        |
| furtherInfo                                | Further information                      | string   | Once you cancel you will continue to have access until {{termEndDate}}. After that date your {{name}} subscription will cease.   | Further context text visible to the customer                                 |
| dropdownHeading                            | Dropdown heading                         | string   | Please tell us why you would like to cancel today                                                                                | Title for dropdown list visible to the customer                              |
| cancelOptions                              | Cancel Options                           | list     | See row below                                                                                                                    | List of cancel reasons - see table below                                     |
| Children of the cancelOptions list: reason | Reason                                   | string   | - This subscription is too expensive - I have too much - I did not like the membership benefits - I found an alternative - Other | List of cancel reasons visible to the customer                               |
| textAreaHeading                            | Text area heading                        | string   | Please tell us more so we can improve our service                                                                                | Title for text input list visible to the customer                            |
| confirmButtonText                          | Confirmation cancel button text          | string   | Keep subscription                                                                                                                | CTA text on quit cancel button visible to the customer                       |
| cancelButtonText                           | Cancel button text                       | string   | Confirm cancelation                                                                                                              | CTA text on continue cancel button visible to the customer                   |
| confirmationTitle                          | Pop-up confirmation title                | string   | Are you sure you want to cancel?                                                                                                 | Header on confirmation pop up visible to the customer                        |
| confirmationBody                           | Pop-up confirmation body                 | string   | Your subscription will lapse at the end of your term and you will lose all benefits.                                             | Context on confirmation pop up visible to the customer                       |
| confirmDialogButtonText                    | Pop-up confirmation text                 | string   | OK                                                                                                                               | CTA text on continue button (on confirmation pop up) visible to the customer |
| cancelDialogButtonText                     | Pop-up abort cancel button text          | string   | Cancel                                                                                                                           | CTA text on quit button (on confirmation pop up) visible to the customer     |
| redirectUrlAbort                           | Redirect URL after aborting cancel       | string   | /mma                                                                                                                             | Link to go back                                                              |
| redirectUrlCancelSuccess                   | Redirect URL after processed cancelation | string   | /cancel-confirm                                                                                                                  | Link to continue                                                             |

## Integration of Cancel Survey Dropdown reasons into other platforms

* **Zuora/Salesforce (via Zuora Z360):** To pass the cancellation reason to Zuora, create a Custom Field on the Subscription Object called Cancellation Reason and another called Cancellation Reason Details (the API name must be CancellationReason\_\_c and CancellationReasonDetails\_\_c). Create then **Picklist Values that maps exactly to the Reason Id** defined on the Cancel Survey Dropdown component.

<figure><img src="https://limio.zendesk.com/hc/article_attachments/6778818513309/Screenshot_2022-09-14_at_14.50.06.png" alt=""><figcaption></figcaption></figure>

* Other systems (or directly into Salesforce): You can use the Subscription Offer Change, Subscription Offer Change, Subscription Offer Addition and Subscription Cancellation webhooks and feed into the relevant systems. See [https://docs.limio.com/developers/webhooks/using-webhooks](https://docs.limio.com/developers/webhooks/using-webhooks "mention")
