> For the complete documentation index, see [llms.txt](https://userguide.zappost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://userguide.zappost.com/zap-integrations/zap-post-integrations/shopify-1/use-case-how-to.md).

# Use Case how-to

In order to ingest Contacts from your Shopify Customer Segments, you need to ensure you have a campaign created and a design published, see our [ZAP\~POST User Guide](https://userguide.zappost.com/) for a detailed walk through.

1. From the Campaign Management screen, click the data upload option and then select **New Data Connection**

<figure><img src="https://1277613767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyQKiT3JcaHMDXjtrjvBz%2Fuploads%2FgCIX2ziTYAfTbyswRKTB%2Fimage.png?alt=media&amp;token=996b1fe0-a7d2-4fe8-a116-1a539059cbb7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1277613767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyQKiT3JcaHMDXjtrjvBz%2Fuploads%2F5CT4EmG559SffDrXcQHl%2Fimage.png?alt=media&amp;token=0854f917-162a-44a6-a221-f3f8ac775a14" alt=""><figcaption></figcaption></figure>

2. Select the **Shopify** tile as your data connection
3. Using the table, find the **Customer Segment** you want to use and click the **connect** icon

<figure><img src="https://1277613767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyQKiT3JcaHMDXjtrjvBz%2Fuploads%2FHGCjKU7Z3gLs5zAxwRBk%2Fimage.png?alt=media&amp;token=9c4aa01b-b762-4faf-982a-fa717f0b02b6" alt=""><figcaption></figcaption></figure>

4. Select if you only want a single ingestion or if you'd like ZAP-POST to query on a regular basis for any new contacts added to the segment

<figure><img src="https://1277613767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyQKiT3JcaHMDXjtrjvBz%2Fuploads%2FRhjizvY6vcYZrWw1vF31%2Fimage.png?alt=media&amp;token=d63e9cd2-d989-45be-8364-31ed68577056" alt=""><figcaption></figcaption></figure>

5. Confirm your field mapping, on the left you'll see the ZAP-POST campaign fields, using the drop down you can map them to your Shopify metafields configured in your store.

<figure><img src="https://1277613767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyQKiT3JcaHMDXjtrjvBz%2Fuploads%2F78ifGeJgiSoDLzRgm5d6%2Fimage.png?alt=media&amp;token=7a33fca7-e435-43c6-b21b-d542a812e67d" alt=""><figcaption></figcaption></figure>

6. Once confirmed, you'll see a confirmation that the Segment has been connected

{% hint style="info" %}
Note

ZAP-POST will immediately ingest all records once for a one-off Segment and create a submission, Regular Segments are ingested at 9pm every day, this can be changed in the integrations settings.
{% endhint %}

<figure><img src="https://1277613767-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyQKiT3JcaHMDXjtrjvBz%2Fuploads%2FVHHRwboyPdqlvv9N0qux%2Fimage.png?alt=media&amp;token=15f2e542-2a32-47fd-b3e3-2e9119526a4a" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://userguide.zappost.com/zap-integrations/zap-post-integrations/shopify-1/use-case-how-to.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
