Product Import
Shopify products are actively retrieved by Flowlyze.
The Adapter adds a metafield to the product to verify its export (Flowlyze Exported) and avoid duplicate sends
towards the destination, but only if the unique synchronization header is set to true.
This behavior allows synchronizing a product only once, ignoring any subsequent updates
(optional behavior, configurable via header).
If the header is not set, the metafield is not set and the product can be exported multiple times.
Update loop risk
Flowlyze relies on the product's last update date (updated_at field) to determine which elements to retrieve from Shopify.
If the header control is not configured correctly, any product modification (or save) will update this field,
causing its continuous import and possible infinite synchronization cycles.
Active Product Flow Configuration
After creating the destination, proceed with flow insertion.
| Campo | Value | Note |
|---|---|---|
Name | e.g. active-flow-product | Scheduling name |
Cron Expression | */5 * * * * | How often to retrieve products (e.g. */5 * * * * -> every 5 minutes) |
Source Type | http | Source type to use |
Url | https://adapt.flowlyze.com/api/adp/shopify/ingress/get-products-updated-after | Endpoint URL to call (see note at end of table) |
Method | GET | Method to call the endpoint |
Headers :: x-api-key | ********** | API key for endpoint interaction verification |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL to connect to |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | Secret of the custom app created for integration |
Headers :: x-last-product-updated-processed" | lastProductUpdatedProcessed | Date to start retrieving products from, to be used with autoincremental |
Headers :: x-sync-product-once | true | Boolean to import the product only once, does not propagate updates (default false) |
Headers :: channel-code" | Your Shopify Store | Your Shopify shop name or code |
Headers :: x-number-of-products | 10 | Number of products to retrieve per call (default 10) |
Example of retrieved information
{
"channel": "YourShopifyCode",
"id": "gid://shopify/Product/123456789",
"title": "The Complete Snowboard",
"featuredMedia": {
"alt": "Top and bottom view of a snowboard.",
"url": "https://cdn.shopify.com/s/files/1/0881/6348/3955/files/Main_123456789.jpg?v=123456789"
},
"variants": [
{
"sku": "ABC001-Ice",
"optionValues": {
"color": "Ice"
}
},
{
"sku": "ABC001-Dawn",
"optionValues": {
"color": "Dawn"
}
},
{
"sku": "ABC001-Powder",
"optionValues": {
"color": "Powder"
}
},
{
"sku": "ABC001-Electric",
"optionValues": {
"color": "Electric"
}
},
{
"sku": "ABC001-Sunset",
"optionValues": {
"color": "Sunset"
}
}
]
}