Schedule MacroRIS-RM-1032 Shipping Delivery Note

Shipping Delivery Note

Automatically prepend configured text to Linnworks order notes created by Customer_Message, helping teams highlight customer delivery notes during order review, fulfilment, and dispatch.

Overview

Shipping Delivery Note is an automated order-note formatting solution for Linnworks. The underlying Append Customer Message Note macro checks selected orders and highlights customer messages by adding a configured prefix to matching notes.

The macro processes order IDs supplied through the Linnworks Rule Engine. For each order, it retrieves notes where CreatedBy equals Customer_Message.

When a matching note does not already begin with the configured AppendNote value, the macro prepends that value and saves the updated note list back to the order.

Notes that already start with the current prefix are left unchanged, helping prevent the same prefix from being added repeatedly.

Highlight customer delivery instructions by automatically adding a consistent prefix to matching Linnworks order notes.

Who Should Use Shipping Delivery Note

Key Features

How Shipping Delivery Note Works

Shipping Delivery Note follows a defined sequence whenever it receives one or more order IDs through the Linnworks Rule Engine.

Step 1: Read selected order IDs

The macro loops through each order ID supplied through the OrderIds parameter.

Step 2: Retrieve the Linnworks order

The order details are retrieved for each selected ID.

Step 3: Record the order number

When the order exists, its order number is written to the execution log.

Step 4: Find customer-message notes

The macro retrieves order notes where CreatedBy equals Customer_Message.

Step 5: Check the current prefix

Each matching note is checked to determine whether its text already starts with the configured AppendNote value.

Step 6: Prepend the configured text

When the note does not already contain the current prefix, AppendNote is added directly before the existing text.

Step 7: Save the updated notes

The modified note list is saved back to the Linnworks order.

Step 8: Complete execution

Errors are logged where required, and the macro writes Macro Finished when processing ends.

Configure the Macro

Once the app is installed, you need to create a macro configuration so the system knows which macro to run and what text should be added to customer message notes.

This setup can be adjusted anytime based on your operational requirements.

Steps to Configure

Go to Apps > Macro Configuration and click + Add new configuration.

Key Benefits

Customer messages can contain important delivery, product, or fulfilment instructions. Without consistent formatting, these notes may be overlooked during order handling.

Improve operational visibility by marking matching customer messages with a clear and consistent prefix.

Usage of App

Shipping Delivery Note is triggered through the Linnworks Rule Engine to update matching notes on selected orders.

Execution

Trigger via Rule Engine

Call the ShippingDeliveryNote macro through the Rule Engine with the required OrderIds and configured AppendNote value.

Outcome

When the macro runs against an order, it:

Retrieves the selected order

Reads the Linnworks order associated with each supplied order ID.

Finds matching notes

Selects notes where CreatedBy equals Customer_Message.

Checks the prefix

Determines whether each matching note already starts with AppendNote.

Updates unprefixed notes

Adds AppendNote directly before the existing note text.

Preserves already-prefixed notes

Leaves notes unchanged when they already start with the current configured value.

Saves the note list

Submits the updated order notes back to Linnworks.

Input Parameters

Shipping Delivery Note requires the following inputs:

ParameterRequiredDescription
OrderIdsYesThe Linnworks order IDs to process. Supplied automatically through the Rule Engine.
AppendNoteYesThe text added directly before each matching Customer_Message note.

Example configuration:

SettingExample
Configuration NameShipping Delivery Note
AppendNoteDELIVERY NOTE:

Example transformation:

BeforeAfter
Please leave the parcel with reception.DELIVERY NOTE: Please leave the parcel with reception.

Important: AppendNote is concatenated directly with the existing note. Include a trailing space or separator in the configured value where required.

The macro applies the following note rules:

Note ConditionMacro Behaviour
CreatedBy equals Customer_MessageNote is eligible for processing.
CreatedBy contains another valueNote is not updated.
Note already starts with AppendNoteNote is left unchanged.
Note does not start with AppendNoteAppendNote is prepended.
Order contains no matching notesNo note changes are made.
AppendNote changes after previous runsNotes with an older prefix may receive the new prefix because they do not start with the current value.

Best Practices

Use a clear, stable prefix and include the required spacing or punctuation directly in AppendNote.

FAQ

How is Shipping Delivery Note triggered?

The macro is triggered through the Linnworks Rule Engine. Matching order IDs are supplied through the OrderIds parameter.

Which macro should be selected in Macro Configuration?

Select ShippingDeliveryNote.

Which action value should be selected in the Rule Engine?

Select ShippingDeliveryNote.

What configuration value is required?

The macro requires the AppendNote parameter.

Which notes are updated?

Only notes where CreatedBy equals Customer_Message.

Does the macro update all order notes?

No. Notes created by other users, integrations, or macros are not changed.

How is the prefix added?

AppendNote is placed directly before the existing note text.

Does the macro add a space automatically?

No. Include a trailing space in AppendNote when required.

What happens when a note already starts with AppendNote?

The note is left unchanged.

Can the prefix be added twice?

Not when the note already starts with the current configured AppendNote value.

What happens after AppendNote is changed?

A note beginning with an older prefix may receive the new prefix because it no longer starts with the current value.

What happens when the order has no Customer_Message notes?

No note update is made.

Can multiple matching notes be updated on one order?

Yes. The macro checks every matching Customer_Message note returned for the order.

Can multiple orders be processed in one execution?

Yes. The macro loops through each order ID supplied through OrderIds.

Does the macro create a new note?

The documented behaviour modifies existing Customer_Message notes. It does not describe creating a separate new note.

Does the macro change note visibility?

No visibility change is described in the supplied documentation.

Does the macro change customer address or shipping information?

No. It updates matching order-note text only.

What should be checked when no note is updated?

Confirm that the order contains a note where CreatedBy matches Customer_Message exactly.

What should be checked when the prefix has no spacing?

Update AppendNote so it includes the required trailing space or separator.

What should be checked when the macro is unavailable in the Rule Engine?

Confirm that the macro configuration has been created and enabled.

What should be checked when notes do not save?

Review the macro logs for Linnworks API errors and confirm that the order can be edited.

Please review these pages to understand how data is handled and the terms governing the use of this application.

Summary

Shipping Delivery Note automates the highlighting of customer-message notes on selected Linnworks orders.

Once connected to the Rule Engine, the underlying Append Customer Message Note macro retrieves notes created by Customer_Message, checks whether they already start with the configured AppendNote value, prepends the value where required, and saves the updated notes.

For notes that do not update as expected, review the Rule Engine and macro logs, confirm that the note creator is exactly Customer_Message, and verify that AppendNote has been configured with the required punctuation and spacing.