Skip to main content
Skip table of contents

Integrating Malomo and Postscript

Est Time: 10-15 Minutes.

Getting Started:

The Malomo and Postscript integration offers Merchants a powerful avenue to deliver real-time automated SMS updates to their customers. The Postscript integration will deliver SMS updates to recipients with tracking updates and a link to the customer’s unique tracking page.

In order to make sure that your Postscript account can function properly with Malomo, please ensure both are connected to the same Shopify Account. For more information on how Postscript uses Automations, see here.

Before moving forward with setting up Automations - we recommend taking a look at our Malomo and Postscript Best Practices. 

Integration Setup:

Step 1: Create a Postscript private API key

In order to send data to your Postscript account, you will need to create a private API key to be used by the Malomo integration.

To create a Postscript private API key:
  1. Log in to your Postscript dashboard and navigate to API’s in the upper right hand corner.

  2. From the API screen, select Create Security Key Pair. You will see a new pair of API keys appear in the list below. The Private Key is the one you will need to provide to Malomo.

Step 2: Connect Malomo to your Postscript account

Screen_Shot_2021-09-01_at_1.52.38_PM.png
  1. Navigate to the Apps section and click on the Install button for the Postscript

  2. Once on this integration page, you will be able to copy and paste your API key from step 1. Do this and hit continue.

Screen_Shot_2021-09-01_at_1.52.46_PM.png
  • Authenticate this API key with your username and password. Upon authentication, this API key will be added and will connect your Postscript Account to Malomo.

Screen_Shot_2021-09-01_at_1.52.52_PM.png

Congratulations, you have successfully authenticated your Postscript Account with Malomo! If you see a status other than “Success!”, please email help@gomalomo.com and our team will assist you.

Step 3: Review or Set your Default Tracking Page URL

Postscript uses the Default Tracking Page URL set in the Malomo Dashboard to share your live tracking page with your customer. To review this page, go to Malomo > Account > Overview and look for the Default Tracking Page URL section. If this section is blank, please add in the full URL of your live tracking page. If you have multiple live tracking pages, please select the page you would like to assign as the default tracking experience.

To learn more about setting or reviewing your default tracking page, check out this article.

Step 4: Setting up Automations between Malomo and Postscript

The Malomo and Postscript Integration rely on orders to be placed in order to function. Prior to setting up an Automation, ensure you either have new orders placed, or place a “fake” order yourself in the time between the integration being authenticated and automations being set up. 

Screen_Shot_2021-09-01_at_1.53.03_PM.png
  1. In your Postscript Dashboard, go to ‘Automations’ and click ‘Create Automation’. Click ‘Create Legacy Automation.’

  2. Click ‘Custom Automation’ to create an automation flow off of the Malomo events.

  3. From there, you will want to give your Automation a name. We recommend naming conventions similar to the trigger you have chosen to initiate the automation.

  4. Once you have selected your trigger, you can determine the message properties that you want to be sent with your message. To link customers to your custom tracking page, we recommend using the { order_url} tag once you've set your Default Tracking Page URL. You can also build your tracking URL with the {order_id} tag, such as this: www.brandname.mymalomo.com/xxxxx/?_m_id={order_id} 

  5. We also recommend using the {order_number} tag to give customers a reference point. 

  6. We recommend that you run through a few tests of your Integration to your own user prior to saving your work.

  7. We also recommend that you add “Reply STOP to unsubscribe” in your message and try to keep your text under 160 characters. 

  8. Once you are comfortable with your automation, hit save!

Available Triggers with Malomo

When a trigger is fired (when a Malomo event occurs), an active Postscript automation for that trigger must also exist in your account in order for SMS notifications to be sent. 

Event name

Description

Malomo: ShopifyOrderCreated

Shopify records a new order placed by a customer.

Malomo: ShipmentCreated

Shopify records a new shipment on an order and that shipment registers in the Malomo platform.

Malomo: ShipmentCreatedError

Malomo records an error when trying to register a shipment in the Malomo platform. Learn more about error codes here.

Malomo: PreTransit

A shipping label was created and has been registered in the carrier’s system. However, the carrier has not yet taken possession of the shipment.

Malomo: ShipmentFirstInTransit

Only the first scan event when the shipment is in the carrier’s possession and is en route to its destination.

Malomo: InTransit *

The shipment is in the carrier’s possession and is en route to its destination.

Malomo: ShipmentFirstOutForDelivery

Only the first scan event when the shipment is currently on its last mile and is en route to the destination address.

Malomo: OutForDelivery*

The shipment is currently on its last mile and is en route to the destination address.

Malomo: Delivered

The local delivery vehicle has reported the package was delivered.

Malomo: Return To Sender

The shipment was not successfully delivered and is en route back to sender.

Malomo: Canceled

The delivery has been canceled typically by either the seller or recipient.

Malomo: Available For Pickup

The shipment is available for pickup from the carrier’s facility such as a post office.

Malomo: Failure

A delivery was attempted but the shipment could not be delivered. 

Malomo: Error

An unknown delivery error occurred.

Malomo: FulfillmentStalled

An order that has been created but has not been fulfilled in the specified time frame within our Problem Orders feature.

Malomo: ShipmentStalled

An order that has been fulfilled or is in transit and has not received a scan update in the specified time frame within our Problem Orders feature.

*Please note, we do not recommend triggering off of InTransit or OutforDelivery, as the journey may trigger multiple texts to your customer. Please use our Malomo: ShipmentFirstInTransit and Malomo: ShipmentFirstOutForDelivery triggers instead.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.