The connector is started at the end of each day by a webhook defined in Mambu. The webhook is triggered by the
Accounts updated event, which is fired after performing the end-of-day jobs, to ensure that information is up to date and in accordance with all posted transactions. Once started, the connector then executes the following processes:
- Retrieves batches of journal lines from Mambu, sorted by creation date, and processes them simultaneously in collections.
- Enriches journal lines with custom information.
- Regroups journal lines into balanced batches, by booking date.
- Forwards the balanced batches to an AWS API Gateway.
Each balanced batch received through the AWS API Gateway is sent as a request to the NetSuite RESTlet. An AWS Lambda function computes a digital signature for authenticating requests according to the OAuth 1.0 specification.