# SEKO Logistics & Shopify

## Overview

The **SEKO Logistics & Shopify** blueprint includes everything you need to sync:

* Inventory data from SEKO to Shopify
* Fulfillments from SEKO to Shopify&#x20;
* Sales orders from Shopify to SEKO web sales orders&#x20;

## Installed process flows

Process flows are built to implement powerful data flows between connector instances in an intuitive, visual way - this is where we define if, when, what, and how data is synced. All process flows installed with this blueprint are shown below.

<details>

<summary><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FSUvxsp8XwrC9qsafJMIe%2Ficon%20process%20flow.svg?alt=media&#x26;token=ad1dc886-4a4e-4cad-9ad0-3d755e0f3b5a" alt="" data-size="line"> [[Inventory Sync]] SEKO >> Shopify</summary>

![](https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2Fl1WtoGITLAoPFbYquIsS%2FSEKO%20to%20Shopify%20inventory%20sync.png?alt=media\&token=1e1ceeb2-a0a9-41ca-bae4-b50ed66ea265)

</details>

<details>

<summary><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FSUvxsp8XwrC9qsafJMIe%2Ficon%20process%20flow.svg?alt=media&#x26;token=ad1dc886-4a4e-4cad-9ad0-3d755e0f3b5a" alt="" data-size="line"> [[Fulfillments]] SEKO >> Shopify - Single Warehouse</summary>

![](https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FG9JB18wQdy23EqVW30Oo%2FSEKO%20to%20Shopify%20fulfillments%20flow.png?alt=media\&token=55bc5b64-dd08-4a4f-b5be-bc5f19c6452d)

</details>

<details>

<summary><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FSUvxsp8XwrC9qsafJMIe%2Ficon%20process%20flow.svg?alt=media&#x26;token=ad1dc886-4a4e-4cad-9ad0-3d755e0f3b5a" alt="" data-size="line"> [[ORDERS]] Shopify >> SEKO</summary>

![](https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FkQQcs3iBUSMYLdbafSAy%2FShopify%20to%20SEKO%20orders%20flow.png?alt=media\&token=61e16d6c-8daf-4c53-ac92-67110be7a422)

</details>

{% hint style="info" %}
You'll find installed process flows in the [manage process flows area of your dashboard](https://app.wearepatchworks.com/flows). For product documentation please see [Process flows](https://doc.wearepatchworks.com/product-documentation/process-flows).
{% endhint %}

## Installed connectors

A [connector](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances) is a generic integration of a third-party business system/application. Connector instances (configured by you as part of the [blueprint install process](https://doc.wearepatchworks.com/product-documentation/blueprints/patchworks-blueprints/installing-a-patchworks-blueprint), or later via your [connectors page](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-instances/adding-an-instance)), are added to process flows via the [connector shape](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/connector-shape).  All connectors installed with this blueprint are shown below.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="../../connectors-and-instances/patchworks-connectors/shopify-prebuilt-connector">Shopify</a> is a cloud-based, fully hosted commerce platform which can be used to create and manage online stores.</td><td></td><td></td><td><a href="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2Fm1CTJOzDDCC60gkBdaRy%2Fshopify2.svg?alt=media&#x26;token=6576ee77-1607-4862-b44b-7f595e1bdf19">shopify2.svg</a></td><td><a href="../../connectors-and-instances/patchworks-connectors/shopify-prebuilt-connector">shopify-prebuilt-connector</a></td></tr><tr><td><a href="../../connectors-and-instances/patchworks-connectors/seko-prebuilt-connector">SEKO</a> provides complete supply chain solutions, specialising in transportation, logistics, forwarding and warehousing.</td><td></td><td></td><td><a href="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FP6bY3X47B8lRjfWKbGPw%2Fseko2.svg?alt=media&#x26;token=b276fbfc-3d99-4cb4-a217-108200ef20c4">seko2.svg</a></td><td><a href="../../connectors-and-instances/patchworks-connectors/seko-prebuilt-connector">seko-prebuilt-connector</a></td></tr></tbody></table>

{% hint style="info" %}
You'll find installed connectors in the [manage connectors area of your dashboard](https://app.wearepatchworks.com/connectors). For product documentation please see [Connectors & instances](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/connectors-and-instances-introduction).
{% endhint %}

## Installed scripts

Custom scripts are implemented via the [script shape](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/advanced-shapes/script-shape), and are typically used when source data needs to be manipulated beyond the capabilities that standard [transform functions](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/map-shape/working-with-field-transformations) provide. All scripts installed with this blueprint are shown below.

| Script title                                                   | Summary                                                                  |
| -------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Add lineNumber to SalesOrderLineItem and Remove zero qty lines | Add `lineNumber` to `SalesOrderLineItem` and remove zero quantity lines. |
| SKU Search Script                                              | Extracts and formats product codes.                                      |
| GQL Set Onhand Inv Level                                       | Set the `Onhand` inventory level input to Shopify GQL.                   |
| Add SetQuantities to Stock Update GQL                          | Add `SetQuantities` to stock update GQL                                  |

{% hint style="info" %}
You'll find installed scripts in the [scripts area of your dashboard](https://app.wearepatchworks.com/scripts). For product documentation please see [Custom scripting](https://doc.wearepatchworks.com/product-documentation/developer-hub/custom-scripting).
{% endhint %}

## Installed cross-reference lookups

Cross-reference lookups are used for cases where some values are commonly known by other terms. If source data includes values that always need to be changed to an alternative term, a [cross-reference lookup](https://doc.wearepatchworks.com/product-documentation/marketplace/marketplace-cross-reference-lookups) can be used to [transform](https://doc.wearepatchworks.com/product-documentation/process-flows/cross-reference-lookups/using-a-cross-reference-lookup-in-field-transformations) required data fields (via the [map](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/map-shape) shape). All cross-reference lookups installed with this blueprint are shown below.

| Cross-reference lookup name | Cross-reference lookup description |
| --------------------------- | ---------------------------------- |
| -                           | -                                  |

{% hint style="info" %}
You'll find installed cross-reference lookups in the [cross-reference lookups area of your dashboard](https://app.wearepatchworks.com/cross-reference-lookups). For product documentation please see [Cross-reference lookups](https://doc.wearepatchworks.com/product-documentation/marketplace/marketplace-cross-reference-lookups).
{% endhint %}

## Installed caches

Caches are specified in the [add to cache shape](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/advanced-shapes/cache/add-to-cache-shape), and used to store data (temporarily) at given points in a process flow. Typically, this is done so the data at that point in time can be referenced later in the same process flow, or by other process flows, via a [load from cache shape](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/advanced-shapes/cache/load-from-cache-shape). All caches installed with this blueprint are shown below.

| Cache name            | Cache type |
| --------------------- | ---------- |
| AvailableStock        | Flow run   |
| FulfillmentOrder      | Flow run   |
| FulfillmentOrderMulti | Flow run   |

{% hint style="info" %}
You'll find installed caches in the [data caches area of your dashboard](https://app.wearepatchworks.com/caches). For product documentation please see [Cache shapes](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/advanced-shapes/cache).
{% endhint %}

## Installed data pools

Data pools are used by the [de-dupe shape](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/advanced-shapes/de-dupe-shape) in process flows. They store unique key field values that have passed through the shape so subsequent records can be checked and matched for duplication. All data pools installed with this blueprint are shown below.

| Data pool name | Unique key | Applicable process flows |
| -------------- | ---------- | ------------------------ |
| -              | -          | -                        |
