When the Lambda function is triggered, it connects to SAP via API to fetch the latest product data. I used the Lambda function to process this data and format it into an Excel sheet, organizing critical product information like SKUs, descriptions, prices, and stock levels into a structured layout. The Excel file is then temporarily stored in Amazon S3, which serves as a secure and centralized repository.