Skip to main content

Posts

Showing posts from July, 2019

Cloud Bitrix24 and Post Tracking - SOAP Integration via AWS Lambda

I like to use Serverless AWS technology: Lambda and API Gateway to customize the cloud Bitrix24. It is comfortable, simple, elegant and very cheap. For example, AWS Lambda gives us the possibility to check post tracking numbers for free for the first year through the Post SOAP service. After a year, if my measurements and calculations are correct, checking 100,000 post tracking numbers will cost about $12.  What do we need for this:

How to сreate AWS Lambda Layer with Zeep Library

Python Zeep library designed to work with SOAP - services. Zeep is a pure-python module. However the lxml dependency does contain C code since it uses libxml2 and libxslt. So the Zeep library can not be deployed into the Lambda Layer without some tricks. In one of my Serverless projects, I needed to use this library, and I found such a way to deploy it into the Layer:

AWS Lambda and API Gateway for Bitrix24 webhook processing

Many of my clients use Bitrix24 cloud version as a CRM system and project management system. The main advantage of the cloud version over the on-premise is that the client does not need to think about a server, it's support and security. However, this advantage is partially lost when the need arises to extend the functionality of Bitrix24 through custom applications. Fortunately for the operation of simple non-replicable applications, those for which webhooks are usually used, do not need a server. Serverless service Lambda from AWS (Amazon Web Services) https://aws.amazon.com/ru/lambda/ and Amazon API Gateway https://aws.amazon.com/ru/api-gateway/ are enough.