Shipping Label Generate in FTP
Automatically generate shipping labels for eligible orders and upload them to an FTP server based on identifier filtering.
Overview
The RIS-SM-1005 – Shipping Label Generate in FTP macro generates shipping labels for selected orders and uploads them to an FTP server.
It filters orders using identifiers, ensures only valid and unprocessed orders are included, and automates label generation and file transfer.
Ensure identifiers and FTP configuration are correctly set up before running this macro.
Purpose
This macro:
-
Filters orders using identifiers
-
Generates shipping label PDFs
-
Uploads label files to an FTP server
👉 In short:
Generate shipping labels and upload them to FTP for selected orders.
When It Runs
Used for shipping label automation
Typically runs:
-
Manually triggered
-
Scheduled execution (daily automation)
Parameters
Order tags used to filter eligible orders (comma-separated).
Example:
identifier = ReadyToShip, Processed
Meaning:
Only orders containing these identifiers will be processed.
How It Works
Fetch Orders
Retrieve open orders from the last 24 hours.
Filter by Identifier
Select only orders matching the provided identifiers.
Exclude Processed Orders
Skip orders where labels have already been generated.
Generate Labels
Create shipping labels using the configured print template.
Convert File
Convert generated labels into byte data format.
Upload to FTP
Upload files using naming format: OrderNumber.pdf.
Log Results
Record success and failure for each processed order.
Final Result
-
Shipping labels generated automatically
-
Files uploaded to FTP server
-
Only valid and unprocessed orders processed
-
Execution results logged for tracking
Usefulness
This macro is highly beneficial for:
-
Automating label generation workflows
-
Reducing manual effort
-
Centralising label storage
-
Supporting external integrations
-
Improving operational efficiency
Important Notes
-
Processes only orders from the last 24 hours
-
Filters strictly based on identifiers
-
Skips already processed orders
-
Requires correct FTP configuration
-
Upload failures are logged for review
Example Scenario
Key Insight
Using identifiers to control processing ensures precise automation, prevents duplication, and enables seamless integration with external fulfilment systems.
Last updated today
Built with Documentation.AI