Configuring Venda Válida as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Venda Válida option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
Venda Válida authenticates with an API key sent in theAPI-KEY header, always accompanied by the Business ID of the account the data belongs to.
A key only reads the business it was issued for. If your operation has more than one business registered in Venda Válida, create one source per Business ID.
- API Key: the key issued by your account manager. Required.
-
Business ID: the identifier of your business inside Venda Válida, issued together with the key. It looks like
9aebf798-3daf-3c8b-802e-01bc7abd3e54. Required. - Initial sync date: the earliest date from which records will be synced. Leave it empty to extract the full history.
-
Tags: a comma-separated list of Venda Válida tags, such as
promocao_de_aniversario,schedule_checkout_abandonment. When filled, only customers carrying one of these tags are extracted. Leave it empty to extract every customer. - Window days: the size, in days, of each date range requested from Venda Válida. The API requires a start and an end date on every call, so the connector walks the history in slices of this size. The default of 30 fits every account we know of.
- Lookback days: how many days are re-read before the last sync point on every run, so a customer changed right after a sync is still picked up. The default is 30; lowering it increases the risk of missing a late change.
- Requests per second: how fast the connector may call Venda Válida. The default of 5 is deliberately conservative — raise it only if Venda Válida confirms a higher ceiling.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.Tip: The stream can be found more easily by typing its name.
All three streams come from the same request, so selecting Customer Orders and Customer Events costs no extra extraction time. Orders and Events are also available as JSON columns inside Customers — the dedicated streams simply expand them into one row per order or event, ready to query.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: all three streams support INCREMENTAL. Read more about Sync Types here.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
Venda Válida does not document which date its filter applies to, so the connector re-reads the last 30 days on every run and the Lakehouse deduplicates the overlap. Scheduling an occasional additional full sync is still the safest way to guarantee that an old customer edited long after being created is up to date.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Streams and Fields
Below you’ll find all available data streams from Venda Válida and their corresponding fields. API reference: Integração do CRM via API da Venda Valida.Customers
Customers
Every contact Venda Válida holds for your business (
GET /api/v1/customer), with the campaign journey and the orders recorded for them.Primary key: customer_id · Replication key: last_modifiedCustomer Orders
Customer Orders
One row per order Venda Válida holds for a customer, expanded from the customer payload — no extra extraction time.Primary key:
customer_id, order_id · Replication key: customer_last_modifiedCustomer Events
Customer Events
One row per campaign event recorded for a customer — the tag of the campaign that reached them, when it happened and the products it carried.Primary key:
customer_id, event_name, created_at · Replication key: customer_last_modified