9/12/2023 0 Comments Twilio send sms aws lambda![]() Node.js >= 6.10 installed in your machineĪn AWS account with enough permission to create Lambda functionsĪ Twilio account with an API key and a registered phone number for SMS ![]() In order for you to be able to follow along with this tutorial, let’s make sure you have all the needed requirements: Send the rate to a mobile phone of our choice by SMS using Twilio SMS API.Get the current GPB to EUR exchange rate using Fixer.io API.This serverless function, scheduled to run every day every day at 6PM GMT, will basically perform two separate operations: We will create a Lambda function that checks the exchange rate from GBP to EUR. The code we are going to write in this tutorial is available on GitHub and you can use it freely as the starting point to build your next cool serverless project. I don’t expect you to have any prior knowledge of serverless, AWS or Twilio, but I will assume you are confident enough with Node.js to be able to make HTTP requests and to understand the asynchronous nature of the language.īy the end of this tutorial you will know how to build similar automated tasks using the Twilio APIs and how to host them as serverless Lambda Functions in AWS. We will use JavaScript with Node.js as our language and framework of choice. This experiment will give you some time to learn AWS Lambda, Twilio SMS API and Fixer.io API (an open API for currency exchanges). In this tutorial we will create a small serverless application that will allow us to receive the latest currency exchange rate from GBP to EUR in our phone through SMS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |