What you’ll build
You’ll create an integration that:- Extracts post records from JSONPlaceholder (a free test API)
- Enriches each post by fetching its comments using a secondary API request
- Transforms the data by combining fields from both the extract and enrichment responses
- Loads the enriched results to webhook.site where you can inspect them
Prerequisites
- Access to an RWS Integration Workspace
- A web browser
Step 1: Set up your destination
Before building the integration, create a destination endpoint where you can verify the results.- Open webhook.site in a new browser tab
- The site automatically generates a unique URL (e.g.,
https://webhook.site/abc123-def456-...) - Copy the unique path portion (e.g.,
/abc123-def456-...); you’ll need it when configuring the Load phase - Keep this tab open to monitor incoming requests
webhook.site is a free service that captures and displays HTTP requests. It’s useful for testing integrations before connecting to real destination systems.
Step 2: Create the source Connection
Connections define how RWS Integration communicates with external systems. You’ll create one for the JSONPlaceholder API, which will be used for both the main extract and the enrichment requests.- In the sidebar, click Connections
- Click New Connection
- Configure the connection:
- Click Save
Step 3: Create the destination Connection
Now create a Connection for your webhook.site destination.- Click New Connection
- Configure the connection:
- Click Save
Step 4: Create the Integration
With both Connections ready, create the Integration that extracts posts, enriches them with comments, and delivers the combined data to your destination.- In the sidebar, click Integrations
- Click New Integration
General settings
Configure the basic integration properties:Extract phase
The Extract phase retrieves post data from your source system.- Expand the Extract section
- Configure these fields:
-
Set the Datapoint Path in Response to
root - Set the Pagination:
- Check the Extract Preview panel on the right side. It should show:
- Status:
200 OK - A single post record (the Datapoint) like this:
- Status:
Enrichment phase
The Enrichment phase fetches additional data for each datapoint extracted in the main Extract phase. For each post, we’ll fetch its comments.- Expand the Enrichment section
- Click Add Enrichment
- Configure the enrichment:
Set Enrichment query parameters:
-
The enrichment will automatically use the
idvalue extracted from the post to make a request to/posts/{id}/comments. -
Check the Extract Preview panel on the right side. It should show:
- Status:
200 OK - An array of comment records like this:
- Status:
Transform phase
The Transform phase maps source fields from both the Extract and Enrichment responses to your destination format. For this guide, create mappings that combine post data with comment information.- Expand the Transform section
- Click Add Transformation and configure fields from the main Extract:
- Click Add Transformation again and configure fields from the Enrichment:
- Check the Transform Preview panel. It should display:
Load phase
The Load phase sends transformed data to your destination.- Expand the Load section
- Configure these fields:
- Check the Load Preview panel. It shows the complete request that will be sent:
- Path: https://webhook.site/{{ your-unique-path }}
- Method: POST
- Request Body:
Step 5: Deploy the Integration
- Toggle Deployment to enabled
- Click Create Integration
Step 6: Run it now
You don’t need to wait for the schedule. Trigger the first run manually:- Open your integration from the Integrations list
- Click Run now, next to the Save button
- Confirm in the dialog, and a Run started message appears
Step 7: Verify the results
Switch to your webhook.site browser tab. You should see incoming POST requests (one for each post processed), each containing your transformed data structure with combined post and comment information:What you learned
- Connections store configuration for external systems and can be reused across multiple Integrations
- Integrations follow the Extract → Enrichment → Transform → Load pattern
- Preview panels automatically update as you configure each phase, letting you validate before running
- Simple transformations map fields from source to destination using JSONPath notation
- Enrichment allows you to fetch additional data for each datapoint extracted in the main Extract phase
- Dynamic parameters (like
{{ id }}) in enrichment paths are interpolated from extracted datapoints - Enrichment data is accessed in Transform by enrichment name:
{{ enrichmentName }}.{{ fieldPath }}
Next steps
Connections
Learn about different authentication methods
Pagination
Handle pagination and complex API responses
Business Rules
Master field transformations with JavaScript
Scheduling
Schedule your integrations to run automatically