Blog • Developer

Extend Moltin with serverless eCommerce integrations

Last updated: 24 Jun 2019
With the growing popularity around serverless and the JAMstack, you’re probably wondering where Moltin fits when it comes to serverless. The serverless architecture allows you to create additional functionality around your Moltin project to provide your customers with the ultimate commerce experience.

One of the benefits of headless commerce is the lack of required server management experience. We can take this same approach with extending Moltin and integrate serverless functions to deliver order confirmation emails, SMS receipts, Slack messages and more.

This type of extra functionality usually comes at a cost but with a serverless approach, you only pay for the time your code executes. There’s no monthly fees or servers to maintain, go serverless!

Serverless is an architecture, often referred to as functions as a service (FaaS) and backend as a service (BaaS). One thing to note is that serverless code actually runs on a server! 😱

The architecture enables developers to write small pieces of functional code that can talk to each other inside containers and with other APIs. This is perfect if you are looking to extend the functionality of API services, in this case, Moltin.

Open source projects Apex and Serverless Framework make it super easy to write and deploy functions for Amazon Web Services, Google Cloud Platform, Microsoft Azure, and others. These frameworks remove all the heavy lifting when it comes to configuring a gateway, CORS and function deployment.

Get started with Moltin and serverless

To make use of serverless functions in your applications, we have various observable events that you can attach webhooks. We also have a growing number of open source repositories on GitHub that demonstrate how to make use of the moltin integrations API and Zeit Now.


Order confirmation email with Postmark

Send an email via Postmark when an order is paid using Moltin webhooks.


Send order details via SMS

You can quickly notify your customer via SMS when their order is placed with Moltin webhooks.


Send shipping notifications with Postmark

Subscribe to order.paid and order.fulfilled events to automatically send shipping and order notifications with Postmark.


Send a shipping SMS with Twilio

In a few lines of code you can quickly send your customers an SMS when their order is its way.


Create short order IDs

Easily create a short order ID when an order is created with a serverless function.


Sync to Algolia

Using Moltin integrations you can quickly sync your products, categories, collections and brands to Algolia via Moltin webhooks.

Save Your Seat! Magento Migration Considerations

Discover best practices for migrating off of M1 from a Magento certified partner and decide if M2 is right for you.

From Our Blog

20 Jun 2019

Analytics for your Moltin store

Today we’re going to take a look at how to use best-in-class data warehousing and analytics solutions on top of Moltin, specifically in relation to orders and order items.

Read More
Matt Foyle
9 min. read in Developer
19 Jun 2019

Further Flows improvements

We've been working hard recently to improve the developer experience when using the Moltin API to build an online store.

Read More
James Owers
9 min. read in Announcements | Developer
29 May 2019

What to consider when migrating eCommerce platforms

Even though you are well aware of the pitfalls of your current eCommerce platform - be it rigidity, technical debt or the inability to innovate quickly; the thought of re-platforming can be a scary...

Read More
Joanna Suau
9 min. read in Magento Migration | Developer | eCommerce