A serverless function, as the name suggests, is a single purpose, independent function, deployed in a managed infrastructure. By the sole fact that it lives in a managed infrastructure, the responsibility of ensuring your function is secure, always available and scale as needed, is offloaded from you and is handled by the infrastructure company, at a reduced cost! Twilio, provides this serverless environment, which enables developers to quickly develop and deploy Twilio specific functions. In this tutorial, I will take you through how to set up one, to send an SMS and a WhatsApp message.

  1. Node version 12 or newer.

daisy macharia

Software Engineer

Get the Medium app
