Data Connector
Seamlessly integrate and pull data from your platform.
The Data connector feature in Lehjah allows you to seamlessly integrate and pull data from your platform into Lehjah by configuring headers, queries, request URLs, and mapping response data. This page will guide you through setting up data connectors for various data types, ensuring that your platform communicates effectively with Lehjah.
Configuration Overview
When setting up a data connector, you’ll need to define the following components:
Headers
Key-value pairs that are included in the request, often used for authentication.
Query Parameters
URL parameters that customize the request (e.g., filtering, pagination).
Body
Optional data payload to send with the request (for POST/PUT requests).
Request URL
The endpoint where the data will be fetched from.
Response Mapping
Mapping the response data from your platform to the corresponding fields in Lehjah.
Data Types and Request Samples
Lehjah supports various data types that can be pulled from your platform. Below are the available data types and their configuration requirements:
1. Business Profile
This data type pulls the business profile information from your platform.
2. Wallets
This data type retrieves all wallets associated with a business.
3. Invoices
This data type fetches invoices from your platform.
4. Bills
This data type retrieves bills for the business.
5. Transactions (Bank or Wallet)
This data type pulls bank transactions that correspond to payments.
6. Inventory Items
This data type retrieves inventory items from your platform.
7. Restock Records
This data type pulls restock records for inventory items.
Testing Your Configuration
Once you’ve set up the data connectors, use the default variable values provided in the No-Code Administrator to test your configuration. Ensure that the response data is correctly mapped to Lehjah’s expected fields for a seamless integration.
By accurately configuring these data connectors, you enable Lehjah to pull essential business data from your platform, providing a complete and integrated accounting experience.