For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Guide

Get started with transformations

Write SQL transformations, publish the results as objects in the Rippling data catalog, and reuse them in reports, automations, and apps.

Use with AI:Rippling AI ChatGPT Claude Cursor

Overview​

Transformations let you write SQL against data in Rippling, then publish the result as a custom, big, or live object. For custom objects you can set refresh behavior, and for live objects you choose whose permissions apply. Once published, that object is available in your data catalog for reports, automations, analytics, and custom apps.

TransformationsList

See When to use Rippling primitives for more information on when to use transformations vs. automations or functions.


Requirements​

Before you begin, ensure you have:

  • Transformations access: Permission to create transformations (Transformations creator under Company Settings > Permissions > Feature access). By default, everyone at your company has this access.
  • Source data: Objects in the Rippling data model you want to query (including data ingested via pipelines, if applicable).
  • SQL familiarity: Enough SQL to write the query you need. See the SQL Reference Glossary for more details.

For who can view and manage queries vs. resulting objects, see the Permissions for transformations Help Center article.


How it works​

  1. You write a SQL query in the Transformations app.
  2. Rippling validates it against your full dataset. Once validated, you publish the query.
  3. Rippling creates one object per published transformation under the category selected during creation.
  4. That custom, live, or big object can power reports, automations, and custom apps throughout Rippling. For more information, see Rippling object types.
Data refresh

Live objects stay current at query time, while big/custom objects refresh nightly, manually, or on a specific schedule. See Data refresh for more details.


Use cases​

Use caseWhen to use itTypical output
Clean imported dataRemove fields, obscure sensitive values, or normalize formatting before sharingCustom or big object
Reuse common logicSame joins/formulas appear in many reportsTransformation referenced by reports or other transformations
Aggregate/new fieldsCalculations you want across multiple reportsCustom or big object
Advanced joinsNeed more join flexibility than Reports (e.g., 3+ datasets)Custom, big, or live object
PerformanceLarge datasets that don’t need real-time freshnessBig object (nightly/scheduled refresh)
Real-time views/reportingAlways-current data without storing a copyLive object

Create and publish a transformation​

Step 1: Create and test the query​

  1. From the Rippling sidebar, select Data > Transformations.
  2. Click +New transformation.
  3. Write your SQL query. Refer to the SQL Reference Glossary for details about the supported functions and required syntax.
  4. To test your query, click Run in the top right corner and review the output in the window below the editor.
Using the SQL editor
  • The SQL editor is not case sensitive.
  • Add fields from the left panel, or type the name of the object and a dot (e.g., Employee.) and use autocomplete.
  • Use SQL syntax for shared SQL/RQL functions and RQL syntax for RQL-only functions.
  • Add LIMIT while testing long-running queries and remove it before publishing.

Note for service accounts:

When you create a transformation, Run as appears in the top-left corner if you have access to a service account. Choose which service account the transformation should use.

  • Autocomplete in the SQL editor and the left sidebar catalog show only objects and fields that the service account can access, so you can see what’s available before running the query.
  • When the transformation runs, it uses that service account’s permissions for running, publishing, and refreshing the transformation. It can only read data that account is allowed to see.

You still have to share the transformation with anyone who needs to be able to edit or refresh it, since other members of the service account do not automatically receive this access.

Service Accounts

See Overview of service accounts for more information.

Step 2: Configure object details​

  1. Click Publish.
  2. Fill in the fields below, then click Continue.
FieldPurpose
CategoryWhere the object is grouped in the data catalog
Display nameLabel shown in the catalog
API nameIdentifier for the Rippling API (auto-filled from the display name, must be unique, and can’t be changed after save)
SQL nameName used when referencing the object in other transformations (max 200 characters and must be unique)
PreviewFully qualified SQL path for the object (for example, rippling.class_schedule.test_2)
DescriptionOptional description

Step 3: Choose output type and permissions​

  1. Wait for the validation to complete, as Rippling runs the query against your full dataset. If it fails, use the error message to fix the query—go Back or close the modal and adjust, then try again.
  2. When the transformation passes validation, click Continue.
  3. Choose an object output type. For more details, see Rippling object types.
Object typeWhat it does
Custom objectStores the result in Rippling for use across the product (e.g. App Studio, Automation Studio, reports, dashboards). Best when you need broad reuse. Custom objects can’t exceed 1 million rows or include List, Variant, or JSON — see Limitations for more information.
Big objectStores pre-calculated values (typically refreshed nightly). Best for large analytics workloads that don’t need real-time data. Limited to reports, dashboards, and other transformations.
Live objectDoes not store data in Rippling—queries at access time so results stay current. Limited to reports, dashboards, and other transformations.
  1. When you publish a transformation as a custom or big object, the data is queried once and then stored in Rippling. Your permissions determine how the data is populated in the object. When you publish a transformation as a live object, the data is not stored in Rippling and is queried each time it’s viewed. For live objects, you can choose whose permissions you want to use when querying the data:
Option (live objects only)Effect
Grant the permissions of [your name]Uses your permissions for everyone. Viewers see the same data you can— which may be more or less than they usually have.
Check individual permissionsUses the permissions of the person running the query. Viewers may see more or less data than you, depending on their access.
  1. Click Continue (custom/big objects may prompt for more settings) or Publish if you’re publishing a live object from this screen.

Step 4: Configure refresh and publish​

What you see next depends on the object type and whether your SQL query uses SELECT *.

Custom objects only​

  1. Choose a deduplication key - one or more fields that uniquely identify each record (for example, name or email). Rippling uses it to match source rows to existing records so only changed records update on refresh. If multiple rows share the same key, Rippling stores the first row returned.
  2. Specify the refresh behavior:
OptionWhat happens on refresh
Keep edited fields (default)Keeps manual edits on specific fields and updates all other fields. Retains manually-created records and respects manual removals.
Keep edited recordsSkips any record that has manual edits. Retains manually-created records and respects manual removals.
Overwrite all recordsResets the object to match the transformation output. Overwrites manual edits, restores manually-removed records, and removes manually-created records.

If the query uses SELECT *​

  1. Choose how to resolve the *:
OptionBehavior
Expand SELECT *Replaces * with the full field list. On refresh, that field list stays the same.
Keep SELECT *Leaves * in the query. On refresh, fields follow the source object (fields can be added or removed).

Publish​

  1. Click Publish, or Publish and create report to create a report prefilled with fields from the new object.

The transformation is now saved as a new object. Grant access in the Object Permissions app via a permission profile. For more information, see Object permissions.


Reference​

Limitations​

LimitationDetail
Custom object row limitIt is not recommended to go over 1 million rows.
Unsupported types (custom object)You can’t publish as a custom object if the result includes List, Variant, or JSON fields.
Lookup fieldsIf a lookup value is an invalid reference (for example, an employee ID that doesn’t exist), the refresh will fail.

Data refresh​

Big and custom objects refresh in these ways:

MethodHow it works
Nightly refreshAll transformation queries re-run nightly, and stored data is repopulated from the results.
Manual refreshOn the transformation’s detail page, click Refresh data. If the query references other transformations, choose: refresh only this transformation, or refresh this and upstream transformations (its dependencies).
Refresh schedulesSchedule one or more transformations from the Refresh schedules tab in the Transformations app. See Refresh transformations for more information.
Automation stepRefresh a transformation on-demand using an automation step. See Refresh transformations for more information.

Editing custom objects from transformations​

Custom objects published from transformations can be edited in Rippling (add/edit/remove records; with manage permissions, schema changes). Refresh behavior controls whether those edits survive the next refresh. Prefer maintaining fields in the transformation SQL. For permissions and field/record editing details, see Object permissions.

Review data lineage​

Rippling provides a visual representation of your data lineage to surface the relationships and dependencies between your data assets. This allows you to understand where your data comes from and identify the root cause of errors.

In transformations and pipelines, you can access lineage by opening the full details of a given transformation or pipeline, then clicking the View lineage icon.

For more information, see Review data lineage across Rippling.


See also​