# Configure the shipping address subflow

Use this subflow to capture buyer information such as Bill To, Ship To, and Email.

1. Click **Setup** ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-236ac3ea9e3a38705205d7d99c4ed3c7977cffab%2FSetup.png?alt=media).
2. Type `Flows` in the **Quick Find** field and click **Flows**.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-5764a2e98b3dda9e93efeb52a420ea34521005a6%2FQuick%20Find%20-%20Flows.png?alt=media)
3. Scroll down and click **Subflow - Shipping Address**. The Flow Builder opens in a separate tab.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-1eddcacd2766d37339b701a88d3fd226d318a9c3%2FFlows%20-%20Subflow%20-%20Shipping%20Address.png?alt=media)
4. Drag the **Action** element from the left pane and drop it in the right pane. ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-83a1ecb50d3b941663b64899660b6859b5f986f9%2FAction%20element.png?alt=media)\
   The New Action popup dialog appears.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-6aad801410733250a0e268b156dccdd673c74a78%2FNew%20Action.png?alt=media)
5. Select **Type** from the **Filter By** dropdown list and click **Apex Action**.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-660d0648513a6cf65b94456aa54f4973437f6cc2%2FFilter%20By.png?alt=media)
6. In the **Search Apex actions** field, type `digitalriverv3_DRB2B_ClearData`, and click **digitalriverv3\_DRB2B\_ClearData**.
7. Toggle **cartIdList** to **Include**, and enter the following values in the fields:

   * **Label:** Type `DR Clear Data` or any other name with no restrictions.
   * **API** **Name**: Type `DR_Clear_Data`.
   * **cartIdList**: Type `{!cartId}`.

   <img src="https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-b491702cd0e48b1a000f6f17918a658d2b4c0266%2FNew%20Action%20completed%20fields.png?alt=media" alt="" data-size="original">
8. Click **Done**.
9. Drag the **Apex Action DR Clear Data** to the right of **Screen Shipping Address Screen** as shown below.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-14dfad5ada93aef630afec7fc2da7b9f62248b1a%2FApex%20Action%20DR%20Clear%20Data.png?alt=media)
10. Click the link between **Start Checkout Flow** and **Shipping Address Screen** and press the **Delete** key on your keyboard.\
    ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-63a24a58ddaddb6c0fc55adc5394410255f29b81%2FApex%20Action%20DR%20Clear%20Data%20delete%20link.png?alt=media)
11. Click the circle below **Start Checkout Flow** and drag it to **Apex Action DR Clear Data**.\
    ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-1bd9a97464b266623ea0683c0a579f6827ac3c7d%2FLink%20Start%20Checkout%20Flow%20to%20Apex%20Action.png?alt=media)
12. Click the circle below **Apex Action DR Clear Data** and drag it to **Shipping Address Screen**.\
    ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-7c351bee58e2765ca295e4b2203508e572a62fe4%2FLink%20Apex%20Action%20DR%20Clear%20Data%20to%20Screen%20Shipping%20Address%20Screen.png?alt=media)
