Missing Phone Number and Email
RIS-RM-1013 Missing Phone Number and Email
Last updated
RIS-RM-1013 Missing Phone Number and Email
Last updated
The Missing Phone Number and Email application contains a macro that runs as the Rules Engine action. This macro automatically fills in the shipping address phone number and email in the open 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 and Email > 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 and Email app is installed:
Go to Apps > Macro Configuration and click + Add new configuration.
Select the MissingPhonenumberandEmail macro and click Create Configuration. .
In the Macro Configuration screen, specify the below details and click Save:
Make sure to enable the macro to continue with the Rules Engine configuration.
Functionality:
Parameter Input:
OrderIds
: List of OrderIds representing the open orders for which the phone numbers and email addresses need to be checked and potentially updated.
DefaultPhoneNumber
: Default phone number to be used if the shipping address phone number is initially empty.
DefaultEmailAddress
: Default email address to be used if the shipping address email is initially empty.
Rules Engine Integration:
The macro operates within a Rules Engine environment, allowing it to be triggered based on predefined conditions or scheduled intervals.
Data Check and Update:
For each order in the provided list (OrderIds
), the macro examines the shipping address details.
If the phone number or email address is initially empty, the macro fills in the missing information with the default phone number or email address specified in the configuration.
Logging and Error Handling:
The macro incorporates logging mechanisms to record its actions, ensuring transparency and facilitating troubleshooting in case of errors.
Usage:
Parameters:
OrderIds
: List of OrderIds representing open orders where phone numbers and email addresses need to be checked and potentially updated.
DefaultPhoneNumber
: Default phone number to be used if the shipping address phone number is empty.
DefaultEmailAddress
: Default email address to be used if the shipping address email is empty.
Execution:
The macro is configured to run within a Rules Engine environment, either triggered by specific events or scheduled to execute at defined intervals.
Upon execution, it takes the provided list of OrderIds and default values for phone numbers and email addresses as input.
The macro iterates through each order, checks the shipping address details, and updates them if phone number or email address fields are empty.
Outcome:
Orders that originally had empty shipping address phone numbers or email addresses now have them filled with default values.
The macro helps ensure completeness and accuracy of shipping address information, which is crucial for communication and order processing.
Through logging, administrators can track the macro's actions and monitor changes made to orders.