Skip to main content
This guide walks you through creating a working integration that extracts employee data from an RWS Connect table and delivers it in CSV format to an SFTP server. By the end, you’ll know how to query Connect tables, including keeping only the latest record per employee, and use the result like any other API source.

What you’ll build

You’ll create an integration that:
  1. Extracts the current employee snapshot from an RWS Connect table
  2. Transforms the data to a simpler format
  3. Loads the results to an SFTP server in CSV format
Time required: approximately 5 minutes.

Prerequisites

  • Access to an RWS Integration Workspace
  • An RWS Connect table already provisioned, and the x-api-key provided by RWS (to request one, see RWS Connect)
  • A SFTP server
The examples use a tenant acme with a table employees. Replace them with your own database and table names.

Step 1: Create the source Connection

The RWS Connect API uses a standard Simple connection.
  1. In the sidebar, click Connections
  2. Click New Connection
  3. Configure the connection:
  1. Click Save

Step 2: Create the destination Connection

Now create a Connection for your SFTP server.
  1. Click New Connection
  2. Configure the connection:
  1. Click Save

Step 3: Create the Integration

With both Connections ready, create the Integration that moves data between them.
  1. In the sidebar, click Integrations
  2. Click New Integration

General settings

Configure the basic integration properties:

Extract phase

The Extract phase queries the RWS Connect API.
  1. Expand the Extract section
  2. Configure these fields:
  1. Add the Query Params:
The filter[over_employee_id][extracted_at]=first parameter keeps only the newest record per employee. Connect tables preserve a snapshot per run, and this filter turns the history into the current state. See Querying the RWS Connect API for details.
  1. Set the Datapoint Path in Response to Items
  2. Set the Pagination:
  1. Check the Extract Preview panel on the right side. It should show:
  • Status: 200 OK
  • A single employee record (the Datapoint) like this:

Transform phase

The Transform phase maps source fields to your destination format. For this guide, create a simple mapping with three fields.
  1. Expand the Transform section
  2. Click Add Transformation and configure:
  1. Check the Transform Preview panel. It should display:

Load phase

The Load phase sends transformed data to your destination.
  1. Expand the Load section
  2. Configure these fields:

Step 4: Deploy the Integration

  1. Toggle Deployment to enabled
  2. Click Create Integration
The integration will now run automatically every day at the time you chose.

Step 5: Run it now

You don’t need to wait for the schedule. Trigger the first run manually:
  1. Open your integration from the Integrations list
  2. Click Run now, next to the Save button
  3. Confirm in the dialog, and a Run started message appears

Step 6: Verify the results

Go to your SFTP server and check if the file employees.csv was created in the /guides directory. You should see a file with this structure:
Congratulations, you’ve built an integration on top of an RWS Connect table!

What you learned

  • RWS Connect tables are queried through a standard Simple connection, with no special connector needed
  • database and table identify your data: the tenant name from onboarding and the table agreed when the connector was requested
  • The over_ filter turns snapshot history into the current state, keeping the newest record per key
  • Items and Simple pagination (page[size] / page[number]) plug straight into the platform’s extract configuration

Need the data live?

This guide reads from Connect tables — your data as of the last refresh. When an integration needs your system’s answer right now (monitoring and audits, for example), use RWS Connect Live: the same api key, reading your system in real time.

Next steps

Querying the RWS Connect API

Filters, aggregations, sorting and everything else the API supports

Dynamic Parameters

Filter by dynamic dates like “yesterday”

Business Rules

Transform data with JavaScript

Scheduling

Schedule your integrations to run automatically