Extend Moltin with serverless eCommerce integrations
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.
Send an email via Postmark when an order is paid using Moltin webhooks.
You can quickly notify your customer via SMS when their order is placed with Moltin webhooks.
Subscribe to order.paid and order.fulfilled events to automatically send shipping and order notifications with Postmark.
In a few lines of code you can quickly send your customers an SMS when their order is its way.
Easily create a short order ID when an order is created with a serverless function.
Using Moltin integrations you can quickly sync your products, categories, collections and brands to Algolia via Moltin webhooks.