- Category: analytics
- Auth: BASIC
- Composio-managed OAuth available? N/A
- Tools: 12
- Triggers: 0
- Slug:
RUDDERSTACK_TRANSFORMATION - Version: 20261101_00
Tools
Create Library
Create Library
Slug:
RUDDERSTACK_TRANSFORMATION_CREATE_LIBRARYCreate a RudderStack transformation library containing reusable JavaScript or Python code. The library is unpublished by default; publishing makes it available for import by transformations.Input Parameters
Name of the library that you wish to create. This name is used as modules when it is imported in the transformation code.
If true, publishes your library to the latest version; code is made live for incoming traffic. Default is false.
Language of the library code. Acceptable values are ‘javascript’ and ‘pythonfaas’.
Output
Create Transformation
Create Transformation
Slug:
RUDDERSTACK_TRANSFORMATION_CREATE_TRANSFORMATIONTool to create a RudderStack transformation. When publish=false (default), creates an unpublished transformation not available to event traffic. When publish=true, publishes the transformation making it live for incoming events and connectable to destinations.Input Parameters
The transformation code to execute. For JavaScript, this should export a transformEvent function. For Python, implement the appropriate function signature.
Name of the transformation to create. This is a human-readable identifier for the transformation.
Array of test events (JSON objects) to validate your transformation code. Use this to test your transformation logic before deploying.
Whether to publish the transformation. When false (default), RudderStack creates revisions but the transformation is not available to incoming event traffic. When true, the transformation can be connected to destinations and its code is made live for incoming traffic.
Language of the transformation code. Must be either ‘javascript’ or ‘pythonfaas’.
Array of destination IDs to connect with this transformation. The transformation will apply to events sent to these destinations.
Output
Delete Transformation
Delete Transformation
Slug:
RUDDERSTACK_TRANSFORMATION_DELETE_TRANSFORMATIONDelete a published transformation by ID. Note that RudderStack never deletes a transformation revision. Use this when you need to remove a transformation from the system.Input Parameters
The unique identifier of the transformation to delete. This is the transformation ID returned when the transformation was created or listed.
Output
Get library by ID
Get library by ID
Get Library Version
Get Library Version
Get Transformation
Get Transformation
Get Transformation Version
Get Transformation Version
List All Libraries
List All Libraries
List Library Versions
List Library Versions
Slug:
RUDDERSTACK_TRANSFORMATION_LIST_LIBRARY_VERSIONSList revisions of a RudderStack transformation library by library ID. Optionally specify a count and ascending or descending creation-time order; by default, the first five revisions are returned in ascending order.Input Parameters
Pass either ‘asc’ for ascending or ‘desc’ for descending. By default, it sets the order as ascending on createdAt.
Output
List All Transformations
List All Transformations
List Transformation Versions
List Transformation Versions
Slug:
RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATION_VERSIONSList transformation versions for a given transformation ID, with optional count and ordering. By default, the API returns the first five versions in ascending creation order.Input Parameters
Pass either ‘asc’ for ascending or ‘desc’ for descending. By default, it sets the order as ascending on createdAt.
Output
Update Transformation
Update Transformation
Slug:
RUDDERSTACK_TRANSFORMATION_UPDATE_TRANSFORMATIONTool to update and optionally publish a RudderStack transformation. Use when you need to modify a transformation’s name, description, or code. Updating creates a new revision and sets it as published if the publish flag is true.Input Parameters
If true, publishes the transformation to the latest version. If false or omitted, only creates a new revision without publishing.