
Configuring RD Station Conversas as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the RD Station Conversas option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
You’ll need to provide authentication so Nekt can access your RD Station Conversas data. The API uses a JWT sent in theAuthorization: Bearer header.
The following configurations are available:
- Access Token (JWT): Your JWT for authentication. Required. Obtain it from Apps e Integrações > API > RD Station Conversas at developers.rdstation.com.
-
Start Date (messages history): (Optional) Start date (YYYY-MM-DD) for the messages_history stream. Required if you sync message history; only messages from this date onward are fetched. You can use common date formats (e.g.
2024-01-01). -
Chave privada (JWK) para descriptografia: (Optional) Your private key in JWK (JSON Web Key) format as a JSON string, used to decrypt the message history API response (JWE). Generate it at Apps e Integrações > API > Gerar Chave. See Conversas v2 encryption. If not provided, message history is stored as encrypted payload in the
datafield.
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.Note: The messages_history stream is a child of contacts: it fetches conversation history per contact. Selecting messages_history will sync history for every contact. Ensure Start Date is set if you use this stream. This stream is available only on the Advanced plan — see planos RD Station Conversas. Select the streams and click Next.
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: you can choose between INCREMENTAL and FULL_TABLE. All streams in this connector are full table; select the option that best fits how you want to refresh the data.
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.
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 RD Station Conversas and their corresponding fields. API reference: developers.rdstation.com.Contacts
Contacts
List contacts (GET /v2/customers). Base stream for conversation data; messages_history is a child of this stream.Key Fields:
_id- Contact IDfull_name- Full name of the contactemail- Contact email addresscel_phone- Contact mobile number
address.city,address.complement,address.country,address.district,address.number,address.state,address.street,address.zip_code
job.cnpj,job.company,job.department,job.email,job.occupation_area,job.phone,job.site,job.title
Custom Fields
Custom Fields
List custom fields (GET /v2/custom-fields). Variables that can be used in message templates.Key Fields:
id- Custom field IDkey- Variable to reference in message templateslabel- Label of the custom fieldinfo- Additional information about the field
Employees
Employees
List employees (GET /v2/employees).Key Fields:
id- Employee IDname- Employee nameemail- Employee email address
Flows
Flows
List flows (GET /v2/flows).Key Fields:
id- Flow IDtitle- Flow title
Messages History
Messages History
List message history per contact (GET /v2/messages/history). Child stream of Contacts — one partition per contact. Requires Start Date in the source configuration. Response is encrypted (JWE); use Encryption Private Key (JWK) to store decrypted message JSON in the
data field; otherwise data contains the encrypted payload.Key Fields:customer_id- Contact ID this message history belongs todata- Message content: decrypted JSON string if private key is set, otherwise encrypted JWE string
Reports
Reports
List reports (GET /v4/reports). Uses the Conversas v4 API base.Key Fields:
id- Report ID (integer)title- Report titledescription- Report descriptioncreatedAt- Creation dateupdatedAt- Last update date
Templates
Templates
List message templates (GET /v2/template/all).Key Fields:
id- Template IDtitle- Template titlechannel- Channel (e.g. whatsapp, email)content- Template text contentcontent_media- Media type of the message content
Wallets
Wallets
List wallets (GET /v2/wallets).Key Fields:
name- Wallet name
WhatsApp Integrations
WhatsApp Integrations
List WhatsApp integrations (GET /v2/whatsapp/integrations). Full API payload for each integration is stored as JSON in the
data field.Key Fields:data- Full integration payload as JSON string
WhatsApp Official Integrations
WhatsApp Official Integrations
List official WhatsApp integrations (GET /v2/whatsapp/integrations/official).Key Fields:
key- Official integration keylabel- Integration label
Workflows
Workflows
List workflows (GET /v2/workflows).Key Fields:
title- Workflow titlestages- Workflow stages as JSON array string
Data Model
The following diagram illustrates the main relationships. Contacts is the core entity; messages_history is partitioned by contact (child stream). Other streams are independent configuration or metadata entities.Implementation Notes
Authentication
- The connector uses Bearer JWT authentication (
Authorization: Bearer <token>). The token is obtained from RD Station (Apps e Integrações > API > RD Station Conversas). - Keep your token and encryption private key secret; they are stored securely in Nekt.
Message history and encryption
- The messages_history stream returns responses encrypted with JWE (RSA-OAEP-256). To store decrypted message content in the
datafield, configure Chave privada (JWK) in the source. If not set, the raw encrypted payload is stored indata. - Start Date is required for messages_history so the API can filter messages from that date onward (YYYY-MM-DD or common date formats).
Child stream behavior
- messages_history is a child of contacts. The tap first syncs all contacts, then requests message history for each contact. Selecting both streams will result in one messages_history partition per contact; ensure Start Date is set for consistent results.