Missing Phone Number
RIS-RM-1029 MissingPhoneNumber
Last updated
RIS-RM-1029 MissingPhoneNumber
Last updated
The Missing Phone Number application contains a macro that runs as the Rules Engine action. This macro automatically fills in the shipping address phone number in the order details with the default one from the preset configuration if it was initially empty.
This guide provides a step-by-step explanation of how to install and set up the macro in Linnworks.
There are three steps you need to complete to start using the macro:
Install the application.
Go to Apps > Application Store > Missing Phone Number > click Install and follow the on-screen instructions until the installation is complete.
Configure the macro.
Configure the rule in the Rules Engine screen.
Once the Missing Phone Number app is installed:
Go to Apps > Macro Configuration and click + Add new configuration.
Select the Missing Phone Number macro and click Create Configuration.
In the Macro Configuration screen, specify the below details and click Save:
Configuration name (required): The name of the configuration. This field is required; without it, the system will not allowed to save the configuration.
Default phone number (required): In the Value field, specify the default phone number to be added to orders with the shipping address phone number initially empty.
Make sure to enable the macro to continue with the Rules Engine configuration.
Functionality:
Identify Orders: The macro takes a list of OrderIds as input to identify orders with missing phone numbers.
Default Phone Number: It also takes a default phone number as input, which will be used to fill in missing phone numbers.
Rules Engine: The macro operates within a rules engine or scheduling system to regularly check for orders with missing phone numbers.
Processing Logic: For each order in the provided list, the macro checks if a phone number is missing.
Update Phone Number: If a phone number is missing, the macro updates the order with the default phone number provided.
Logging and Notifications: It logs actions taken, such as orders processed and phone numbers updated. Notifications can be implemented to alert administrators or users about orders that were updated.
Usage:
Parameters:
OrderIds
: List of OrderIds for which phone numbers need to be checked and updated.
DefaultPhoneNumber
: Default phone number to be used for orders with missing phone numbers.
Execution:
The macro is executed within a rules engine or scheduled system at predefined intervals.
It takes the list of OrderIds and the default phone number as parameters.
The macro iterates through the provided list of orders, checks for missing phone numbers, and updates them if necessary.
Outcome:
Orders that originally had missing phone numbers now have the default phone number associated with them.
The macro ensures that all orders have valid phone numbers, which is crucial for communication and shipping purposes.
Logs and notifications provide transparency and allow administrators to track the actions taken by the macro.