Microsoft Azure is easy going – with only a few lines of code you can create a CSV importer for SugarCRM. Free of charge up to 1 Million requests per month!
First of all, you create an Azure Function.
python3 -m venv fellowdemo
source fellowdemo/bin/activate
func init sugarfunc --worker-runtime python
Choose Azure Blob Storage Trigger, then add the Blob service in the Azure Portal.
After creating the blob, you need to enter the key in the function.
Define the file in the function
The import script takes only a few lines:
Create a simple CSV file to test the script.
Upload the file into the blob storage.
A second later, you see the file being processed:
An the records are created in the SUGARCRM!
Wow, having done a CSV import interface in a few lines of code!
More technical blogs: