Export Products from Linnworks
The Export Products task in the Linnworks Connector for Zynk Workflow allows you to export a list of product details to ensure your records are up-to-date.
This article guides you through how to use this task.
Exporting Data
Unlike many other connectors, the Linnworks Connector uses a unique approach to filtering data.
Because Linnworks’ API does not support date-based filtering, so we use the truth table to manage and filter records. The process involves:
- Exporting all records from Linnworks.
- Upserting the records into the local database ("Truth Table"), which includes metadata and hash codes for each record.
- Filtering records locally based on whether they have changed since the last export, according to the task settings.
- Serializing and exporting the filtered data to the output file.
This ensures that only the relevant data is exported based on your task settings.
Settings
Connection
Required
The Linnworks connection you would like to use for this task.
See the Connecting to Linnworks article for how to set up a connection to Linnworks.
Output File
Required
Specifies the file where the exported data will be saved. The file format and location can be customized based on your workflow requirements.
Date Filters
Optional
Use these settings to include or exclude records based on their dates. While the Linnworks API does not directly support date filtering, these settings are applied during the local database filtering step:
- Enabled: Enable or disable date filtering for the task.
- Export From: Specify the earliest date for records to include.
- Export To: Specify the latest date for records to include.
Please note, the date filtering is not based upon when the record was modified in Linnworks, but when the truth table entry was modified in Zynk. This is because we are not able to filter records by date from the Linnworks API.
Export Type
Required
Determines which records are included in the export:
- New: Export only new records that have not been processed before.
- Modified: Export new and modified records since the last run.
- All: Export all records, regardless of their status.
External Ids
Optional
Optionally provide a list of external identifiers to export specific records. This is typically used in conjunction with the Export Type setting when set to All.
Internal Ids
Optional
Similar to External IDs but allows you to specify internal identifiers instead. Use this to target specific records using Linnworks’ internal identifiers.
Include Composites
Optional
Set this option to true to include composite parent items in your exported data.
Include Variations
Optional
Set this option to true to include variation parent items in your exported data.
Zynk Settings
See Common Task Settings.