# Enable Abandoned Baskets Functionality

Abandoned baskets logic is included in the Limio Acquisition Journey flow by default. If your flow copy was created before this feature was released, you'll need to update it. Follow the steps below and refer to the Limio Acquisition Journey flow for guidance.

1\. Create a formula to verify if Get Customer Details returned ownerId. If the id exists, it confirms the customer is in the Limio database, allowing us to retrieve their baskets.

<figure><img src="/files/NHkU5WxamMwLMsGKl2e4" alt=""><figcaption></figcaption></figure>

2\. Add a Decision element to check the missing\_ownerId value. If id is present, proceed to the next step.

<figure><img src="/files/doTrxuvOQ30YP1wOMoC0" alt=""><figcaption></figcaption></figure>

3\. Call i42as\_\_AbandonedBasketsControllerMultiOwner and pass ownerIds list as a parameter.

<figure><img src="/files/t8AwhwXbs2Wd0WWnuml3" alt=""><figcaption></figcaption></figure>

4\. Check for returned baskets from Apex. If there are any, add a new screen featuring a Limio Abandoned Baskets Table component, passing the list of baskets as an input property.

<figure><img src="/files/mLw0d9kp3WajGz2IIowW" alt=""><figcaption></figcaption></figure>

5\. Add a decision element after to proceed to the offer catalog or skip it depending on the output property of the Abandoned basket component.

If the catalog is being skipped, make sure to assign the following variable values:

<figure><img src="/files/T1KNwOZOLpWXm0mq9uzx" alt=""><figcaption></figcaption></figure>

If proceeding to the Offers Catalog, assign the purchase country value to pre-populate the catalog filters. By default, Limio flow uses the country from the selected basket (if chosen) or the country from the Get Customer Details response.

<figure><img src="/files/VjrqUpWsPVmFwDCQFXn1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/s5jRsNkRSNrHaHRcuQYx" alt=""><figcaption></figcaption></figure>

These steps will let you utilise the abandoned baskets functionality in your flow copy. The rest of the flow stays unchanged.

For more details on Abandoned baskets logic, check [Abandoned Baskets in Acquisition Flow](/integrations/using-limio-for-salesforce/acquisition-flow/abandoned-baskets.md).


---

# 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.limio.com/integrations/using-limio-for-salesforce/acquisition-flow/abandoned-baskets/enable-abandoned-baskets.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.
