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.