Overview
Custom pipelines let you ingest data from third-party APIs into Rippling by defining how to fetch, transform, and store that data as custom objects. Once ingested, this data becomes available across Rippling for analytics, automations, and custom apps.
Because pipelines interact directly with external APIs, you should be familiar with the provider’s API documentation (specifically authentication, endpoints, rate limits, and response schemas) before building.
Use a function-based stream if the API is nested, needs custom pagination, incremental filters, deletes, or parent-child calls. No-code works best when the response is flat JSON.
Requirements
Before setting up a custom pipeline, confirm you have the following:
- API documentation - Access to the external service's technical docs for endpoint paths, parameters, and response schemas.
- Authentication credentials - Your authentication credentials, such as an API key or OAuth details.
- Data requirements - A clear understanding of which endpoints you need and how the data maps to what you want to track in Rippling.
How it works
A custom pipeline runs on a schedule, calls external API endpoints, and writes the returned data into Rippling custom objects. The system includes built-in handling for common integration concerns:
- Only one sync runs at a time for a given pipeline.
- Conservative rate limiting and automatic retries for temporary failures.
- Employee matching (preferably via work email, or fuzzy name matching).
- Removing fields or changing field types marks those custom object fields as
DEPRECATEDin Rippling. Ensure you update your custom object views to account for deprecated columns.
Core concepts
Pipeline
A pipeline is the top-level integration unit. It defines:
- API credentials and authentication
- Global execution settings and rate limits
- Data streams
Data streams
Each pipeline contains one or more streams. A data stream:
- Maps to a single API endpoint. Avoid merging multiple data sources into one stream; join or aggregate using Transformations instead.
- Defines what data to extract and how to structure it.
- Writes output to a corresponding custom object in Rippling.
- Must include a user stream in your pipeline setup.
Parent-child stream relationship
Some API endpoints depend on data from other endpoints. For example, you might need a user ID from one endpoint before you can call a second endpoint for that user's details. In these cases, you can add a sub-stream that pulls data from its parent stream's response. Sub-streams can be nested several layers deep.
Incremental vs. snapshot
- Incremental: After the first run, fetches only records updated since the last checkpoint. Requires the API to support filtering/querying on the checkpoint field. Always prefer
updated_attimestamps overcreated_at(unless records are strictly immutable). - Snapshot: Every run pulls all records (like running a continuous reconciliation job). Simpler to build, but uses more API calls. Records missing from the source pull are automatically tombstoned and deleted from the target custom object in Rippling.
Checkpoint vs. pagination state
| Pagination state | Checkpoint | |
|---|---|---|
| Purpose | Where you are in this run (e.g., page 3 of 10) | Saved progress marker across runs (e.g., records updated after 2026-01-15) |
| Lifetime | Cleared when last: true | Persisted to the database and passed to the next run |
Set up a custom pipeline
Setting up a custom pipeline involves three steps:
- Create the pipeline
- Add data streams
- Publish the pipeline
By default, custom objects created by custom pipelines are saved in a category with the name of the pipeline in Data > Catalog. You can select a different category when configuring the pipeline.
Create the pipeline
- From the main sidebar in Rippling, select Data > Pipelines.
- Click + Create Pipeline.
- Under API, select + New API Connection.
- Enter a name and optional description for the pipeline.
Connect to an API
Configure the API authentication settings for your pipeline:
- Enter the Base URL for the external API.
- Click Add credentials, then select either:
- Add new credential: Choose a credential type and provide credential values
- Use existing credentials: Select a saved credential from the list
- If you are adding a new credential, select the Credential source.
- Select the credential type (API key, Basic, Bearer token, Authorization header, OAuth client credential, or OAuth 2.0).
- Provide the required values based on the credential type.
- Name the new credentials and click Save.
Add collaborators
You can share a pipeline with others in your organization. Collaborators can be assigned one of the following roles:
| Role | What they can do |
|---|---|
| Manager | View and edit the pipeline configuration, manage streams, and pause or publish the pipeline. |
| Viewer | View the pipeline configuration and sync history. Cannot make changes. |
To add collaborators, create or select a Supergroup in the Who can manage or Who can view fields. Click Preview people to preview who has been added as a collaborator.
Configure user mapping
User mapping associates records from the external source with employee profiles in Rippling:
- Check the User mapping checkbox.
- Select the data stream you want to map users to.
- Map by Email whenever possible, as it provides exact, high-accuracy results.
- If Email is unavailable, map by Name. Name mapping uses a best-guess fuzzy match; manually review mapped users to catch any mismatches.
- If neither Email nor Name is available from the API endpoint, map users manually using a transformation step (e.g., calling
/list-workers) or equivalent code logic. - Set the field's data type to Employee in the field mapping table under Record details.
To configure user mapping, you'll need to first set up at least one data stream.
Advanced settings
To configure additional pipeline settings, expand Advanced settings:
- Category: Group custom objects created by this pipeline.
- Rate limit: Set conservative limits to prevent 429 errors.
- Time period: Define the time window for your rate limits.
Add data streams
Each API endpoint requires its own data stream, configured with no-code or a function.
No-code
Use when you can directly map flat API response fields in the UI.
- In the Data streams panel, click New.
- Edit the stream name by clicking the pencil icon.
- For Type, select No-code.
- Select the HTTP Method.
- In the Endpoint field, you will see the base URL pre-populated. Enter the endpoint path (for example,
/users). - Click Test connection to send a sample request and verify the response.
- If applicable, enter the Record path to specify where in the response the records are located.
- Review the fields returned by the API. You can add or remove fields, and adjust the data type for each field as needed.
- Under Record details, ensure the Record ID path is set to the field that uniquely identifies each record (such as ID or name). This is used as the deduplication key when syncing updates.
Key mapping parameters:
| In the UI | What it means |
|---|---|
| Record ID path | Unique record primary key. |
| Version path | Field tracking record updates (use updated_at timestamp). |
| Is deleted path / value | Field indicating if a record has been deleted. |
| Pagination | Configuration to walk through multiple pages in a single run. |
| Incremental sync / checkpoint | Parameter used to filter new/updated records across runs. |
If the Schema inference toggle is enabled, Rippling automatically populates fields based on the API response when you run the test.
Function-based
Use a function-based stream when you need custom logic to parse complex API structures, handle non-standard pagination, transform fields, or manage parent-child feeds.
You must have access to the Functions app in Rippling to select or build custom pipeline functions.
- In Data streams, click New and set Type to Rippling Function.
- Select or attach your function from the Functions app.
Custom pipeline functions receive a DataBridgeRequest and must return a DataBridgeResponse:
// Input Parameter
interface DataBridgeRequest {
parameters: {
streamName: string;
state: any; // Ephemeral pagination state
checkpoint: string; // Persisted progress marker
backfill: boolean; // True if executing a backfill
connectionId: string;
};
}
// Output Requirement
class DataBridgeResponse {
records: DataBridgeRecord[]; // Extracted records
tombstones: DataBridgeTombstone[]; // Explicit deletion flags
checkpoint: string; // Updated checkpoint marker
feeds: DataBridgeFeed[]; // Sub-stream feed calls
last: boolean; // True when pagination is complete
state: Record<string, any>; // State for the next page call
}
class DataBridgeRecord {
id: string; // Unique 3P identifier
version: string; // Lexicographically comparable string (e.g. ISO updated_at)
value: string; // Base64-encoded JSON payload string
}
For implementation details and standards, refer to our pipeline function best practices.
Sub-streams
Use a sub-stream when an API endpoint requires data from a parent stream's response. For example, if your first stream retrieves a list of users and a second endpoint requires a user ID to return user-level details, the second endpoint should be a sub-stream of the first. Streams can be nested several layers deep.
- Open an existing stream and click Add substream.
- Click + to pass parent fields into the request (for example, the parent stream's
idfield). - Configure the sub-stream similarly to a top-level stream. In function streams, consume parent values via state.
ancestor_valsorparameters.ancestor_vals.
If two endpoints are independent and neither needs data from the other, configure them as separate top-level streams instead of using a parent/sub-stream relationship.
To configure a lookup between streams, change a field's data type to the target custom object.
Publish the custom pipeline
- Click Create pipeline to validate the configuration. This may take a few minutes.
- Select the streams you want to create custom objects for. By default, all streams and fields are selected. Deselect any fields you do not want to bring into Rippling.
- Click Publish. Set up permissions on the new custom objects once published.
Reconciliation & backfills
Reconciliation runs re-process all records from the source API without using stored checkpoints:
- Queue a reconciliation job from the UI under pipeline settings.
- When queued, the next scheduled sync runs both an incremental run and a full reconciliation run.
- Because backfills process all records, automations triggered on record updates may fire for every record. Guard downstream automations accordingly.
Sync frequency
After a pipeline is published, it syncs data on a recurring schedule. The following behaviors apply:
- New records: When a new record appears in the external source, Rippling creates a new record in the corresponding custom object on the next sync.
- Updated records: If a record already exists (matched by the Record ID path), Rippling updates it rather than creating a duplicate.
- Rate limiting: Rippling handles rate limiting automatically. If the external API enforces rate limits, Rippling paces requests to stay within those limits (attempts 6 retries, maximum 3 minutes each).
- Deletes: For incremental syncs, records are deleted only if explicitly marked with a tombstone or deletion flag. For snapshot syncs, any record missing from the source payload is automatically deleted in Rippling.
- Full re-sync / Reconciliation: Processes all records again without using stored checkpoints. Automations triggered on "updated" can fire for every row. Ensure you guard them accordingly.
Pipeline function best practices
Use the following guidance when developing functions for your custom pipelines.
| Category | Best practice |
|---|---|
| Pagination & state |
|
| Checkpointing & buffers |
|
| Payload encoding |
|
| Record versioning |
|
| Deletes & tombstones |
|
| Payload structure & types |
|
| Environment logic |
|
| Synchronous execution |
|
| Batching |
|
| Retries |
|
| Timeouts |
|