Extend Moltin with serverless eCommerce integrations

Last updated: 02 Jul 2018
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.