RIS-RM-1013 Missing Phone Number and Email

Missing Phone Number and Email

Start using the macro

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.
Missing Ph. and email
male female graphic designers interacting computer
female web designer taking notes office
There are three steps you need to complete to start using the macro:
Install the application.
  1. Go to Apps > Application Store >UpdateDeliveryNote> click Install and follow the on-screen instructions until the installation is complete.
  2. Configure the macro.
  3. Configure the rule in the Rules Engine screen.

Functionality

Rules Engine Integration:

The macro operates within a Rules Engine environment, allowing it to be triggered based on predefined conditions or scheduled intervals.

Logging and Error Handling:

The macro incorporates logging mechanisms to record its actions, ensuring transparency and facilitating troubleshooting in case of errors.

Data Check and Update:

“For each order in the list, the macro checks the shipping address details. If the phone number or email address is empty, it fills in the missing information with the default phone number or email address specified in the configuration.”

Parameter Input:

“The macro processes a list of OrderIds, checking and potentially updating the phone numbers and email addresses in the shipping details. It uses DefaultPhoneNumber if the phone number is empty and DefaultEmailAddress if the email address is empty.”

Configure the macro

Once the Reduce Item’s Discount app is installed:
image
  1. Go to Apps > Macro Configuration and click + Add new configuration.

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

2.   Select the MissingPhonenumberandEmail macro and click .

image 2
image 3
  1. In the Macro Configuration screen, specify the below details and click Save

3. In the Macro Configuration screen, specify the below details and click Save:

4. Make sure to enable the macro to continue with the Rules Engine configuration.

image 4
Once the Reduce Item’s Discount app is installed:
  1. Go to Apps > Macro Configuration and click + Add new configuration.

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

image

2. Select the MissingPhonenumberandEmail macro and click .

image 2
  1. In the Macro Configuration screen, specify the below details and click Save

3. In the Macro Configuration screen, specify the below details and click Save:

image 3

4. Make sure to enable the macro to continue with the Rules Engine configuration.

image 4

Configure the macro

Once the Assign Payment Method app is installed:

Usage

Parameters

OrderIds: List of OrderIds for which the presence of IOSS-related extended properties needs to be checked.

Execution

  • The macro is executed within a rules engine environment, either scheduled to run at specific intervals or triggered by predefined events.
  • It takes the list of OrderIds as input and processes each order sequentially.
  • For each order, it checks for the presence of IOSS-related extended properties and generates a note accordingly.
  • The note is then saved for the corresponding order.

Outcome

  • Orders with relevant IOSS-related extended properties have notes appended to them, providing additional context or information for further processing.
  • The macro enhances the efficiency of order management processes by automatically adding notes based on specific criteria, reducing manual effort and potential oversights.