The example code for developing cloud function for firebase as a webhook of LINE Messaging API. and connect cloud function to the Firestore Database.
From medium.com "LINE Messaging API" x "Firebase" + "FireStore""
https://medium.com/@sirateek/line-messaging-api-x-firebase-cloud-function-firestore-8fd0fc6a7506