{"section":"tutorials","requestedLocale":"en","requestedSlug":"configuring-pix-payment-recovery","locale":"en","slug":"configuring-pix-payment-recovery","path":"docs/en/tutorials/storefront/agentic-cx/configuring-pix-payment-recovery.md","branch":"main","content":"Pix payment recovery helps stores in Brazil recover orders that are waiting for a Pix payment. While the Pix code is still valid, the automation sends the shopper a WhatsApp reminder with a button to copy the code and complete the payment. The message can also include a second button. When the shopper clicks it, a new cart with the same items is ready, and the shopper goes straight to the checkout page, where they can complete the purchase with the payment method they prefer, such as a credit card or boleto.\n\n> ❗ Each reminder is a WhatsApp marketing message, and the Meta fee is charged to the store.\n\n## Before you begin\n\nConnect a WhatsApp number to the VTEX CX app in the VTEX Admin. For more information, see [Introduction to VTEX CX Platform](https://help.vtex.com/en/docs/tutorials/introduction-to-cx#whatsapp-store).\n\n## Configuring the reminder\n\nTo access the payment recovery settings, follow these steps:\n\n1. In the VTEX Admin, go to **Storefront**, or type **Storefront** in the search bar at the top of the page.\n2. Under **VTEX CX Platform**, click **Automations**.\n3. Click **PIX Payment Recovery**.\n\nIn the automation settings, you can edit the WhatsApp template and set the rules for the reminder:\n\n- Edit the text of the WhatsApp template. The template includes a button to copy the Pix code, and it can include a second button that takes the shopper to the checkout with a new cart containing the same items, where they can finish the purchase with the payment method they prefer.\n- Set how long the automation waits before sending the reminder. The default wait is 5 minutes, and the shortest wait is 1 minute.\n- Set a minimum order value. Orders below that value don't receive a reminder.\n- (Optional) In **Sales channels**, enter the IDs of the sales channels that can trigger the reminder, separated by commas, such as `1,2,3`. By default, only sales channel `1` is included. \n- Set the share of shoppers who receive the reminder.\n\n## Reminder rules\n\nThe automation sends the reminder when the Pix code is still valid and the order matches the wait time, the minimum order value, the sales channels, and the shopper share you set.\n\nThe automation also applies these limits:\n\n- It sends one reminder per order.\n- When an order is split, only the main order can receive a reminder.\n- It doesn't send a reminder when the order has no phone number or no Pix copy-and-paste code.\n\n## Payment recovery results\n\nOn the Dashboard, the **Payment recovery** screen shows the results of these reminders for the selected period. Payments made from both buttons count toward the results.\n\n| Metric | Description |\n| --- | --- |\n| **Total sends** | Number of reminders sent in the selected period. |\n| **Recovered revenue** | Total value of payments received after a reminder. |\n| **Conversion rate** | Percentage of reminders that resulted in a payment. The screen also shows the number of converted sales. |\n| **Average order value** | Average value of the converted payments. |\n\nBelow the summary, **Copy Pix code** and **Open payment link** show the converted payments, conversion rate, and recovered revenue attributed to each button."}