<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RudderStack Docs – Transformations</title><link>https://www.rudderstack.com/docs/categories/transformations/</link><description>Recent content in Transformations on RudderStack Docs</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 07 Mar 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.rudderstack.com/docs/categories/transformations/index.xml" rel="self" type="application/rss+xml"/><item><title>Releases: Transformation Failure Alerts</title><link>https://www.rudderstack.com/docs/releases/transformations-failure-alerts/</link><pubDate>Fri, 07 Mar 2025 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/transformations-failure-alerts/</guid><description>
&lt;p>
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
&lt;iframe src="https://www.youtube.com/embed/4JtV2YRqAZo" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" allowfullscreen title="YouTube Video">&lt;/iframe>
&lt;/div>
&lt;br />&lt;/p>
&lt;p>You can now configure dedicated alerts for &lt;a href="https://www.rudderstack.com/docs/data-governance/alerts/#transformation-alerts" >Transformation failures&lt;/a>, giving you the ability to take immediate action when problems arise.&lt;/p>
&lt;p>Transformation failures can happen for multiple reasons:&lt;/p>
&lt;ul>
&lt;li>Unexpected data causing errors&lt;/li>
&lt;li>Testing not covering all use cases across production data, or&lt;/li>
&lt;li>A source with new data is connected to the destination.&lt;/li>
&lt;/ul>
&lt;p>Previously, these failures would materialize as cloud destination failure alerts, making it difficult to trace problems. With dedicated transformation failure alerting, you&amp;rsquo;ll be notified if there is an unexpected problem and can take action immediately.&lt;/p>
&lt;blockquote class="success">
&lt;div class="tip-quote">
&lt;span class="callout-icon" aria-hidden="true">&lt;svg viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">&lt;path d="M8 16C12.4062 16 16 12.4375 16 8C16 3.59375 12.4062 0 8 0C3.5625 0 0 3.59375 0 8C0 12.4375 3.5625 16 8 16ZM11.5312 6.53125L7.53125 10.5312C7.21875 10.8438 6.75 10.8438 6.46875 10.5312L4.46875 8.53125C4.15625 8.25 4.15625 7.78125 4.46875 7.5C4.75 7.1875 5.21875 7.1875 5.53125 7.5L7 8.96875L10.4688 5.46875C10.75 5.1875 11.2188 5.1875 11.5 5.46875C11.8125 5.78125 11.8125 6.25 11.5 6.53125H11.5312Z" fill="currentColor"/>&lt;/svg>&lt;/span>
&lt;div class="tip-text">
With this feature, you can configure a global failure rate threshold (applicable for all transformations) and specific thresholds for individual transformations.
&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;p>See &lt;a href="https://www.rudderstack.com/docs/data-governance/alerts/#transformation-alerts" >Transformation failure alerts&lt;/a> for more information on this feature.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="screenshots" data-heading="Screenshots" data-level="2" data-permalink="https://www.rudderstack.com/docs/releases/transformations-failure-alerts/" data-title="Transformation Failure Alerts" -->
&lt;h2 id="screenshots">Screenshots&lt;/h2>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/releases/transformation-failure-alerts/transformation-failure-alerts.png" href="https://www.rudderstack.com/docs/docs/images/releases/transformation-failure-alerts/transformation-failure-alerts.png"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/releases/transformation-failure-alerts/transformation-failure-alerts.png"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/releases/transformation-failure-alerts/transformation-failure-alerts-overrides.png" href="https://www.rudderstack.com/docs/docs/images/releases/transformation-failure-alerts/transformation-failure-alerts-overrides.png"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/releases/transformation-failure-alerts/transformation-failure-alerts-overrides.png"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure></description></item><item><title>Releases: Transformation Credential Store</title><link>https://www.rudderstack.com/docs/releases/transformation-credentials/</link><pubDate>Tue, 02 Jul 2024 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/transformation-credentials/</guid><description>
&lt;p>RudderStack allows you to create and pass sensitive user secrets or environment variables as configurable credentials to your &lt;a href="https://www.rudderstack.com/docs/transformations/overview/" >transformations&lt;/a>.&lt;/p>
&lt;blockquote class="success">
&lt;div class="tip-quote">
&lt;span class="callout-icon" aria-hidden="true">&lt;svg viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">&lt;path d="M8 16C12.4062 16 16 12.4375 16 8C16 3.59375 12.4062 0 8 0C3.5625 0 0 3.59375 0 8C0 12.4375 3.5625 16 8 16ZM11.5312 6.53125L7.53125 10.5312C7.21875 10.8438 6.75 10.8438 6.46875 10.5312L4.46875 8.53125C4.15625 8.25 4.15625 7.78125 4.46875 7.5C4.75 7.1875 5.21875 7.1875 5.53125 7.5L7 8.96875L10.4688 5.46875C10.75 5.1875 11.2188 5.1875 11.5 5.46875C11.8125 5.78125 11.8125 6.25 11.5 6.53125H11.5312Z" fill="currentColor"/>&lt;/svg>&lt;/span>
&lt;div class="tip-text">
By storing secrets and variables in RudderStack’s credential store, you can avoid hardcoding sensitive information in your transformations and avoid any security risks.
&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;p>RudderStack credential store supports two types of credentials:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Secrets&lt;/strong> let you store text values encrypted. You can use them to securely store sensitive information like passwords, app secrets, API keys and authorization tokens.&lt;/li>
&lt;li>&lt;strong>Variables&lt;/strong> are non-encrypted strings that you can use to store application configuration.&lt;/li>
&lt;/ul>
&lt;p>See the &lt;a href="https://rudderstack.com/docs/transformations/credentials/" >Transformation Credentials&lt;/a> documentation for more information on this feature.&lt;/p></description></item><item><title>Releases: Feature Launch: Transformations for Real-time Schema Fixes</title><link>https://www.rudderstack.com/docs/releases/realtime-schema-fixes/</link><pubDate>Wed, 31 Jan 2024 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/realtime-schema-fixes/</guid><description>
&lt;p>&lt;a href="https://www.rudderstack.com/docs/data-governance/tracking-plans/" >Tracking plans&lt;/a> enable you to catch violations and quarantine or drop bad data before it gets downstream. But without remedying the bad data, you’re left with an incomplete dataset and a partial picture of your customer.&lt;/p>
&lt;p>Today, we’re introducing real-time schema fixes with &lt;a href="https://www.rudderstack.com/docs/transformations/overview/" >Transformations&lt;/a> so you can fix bad data while maintaining an efficient workflow. This feature is part of our &lt;a href="https://www.rudderstack.com/product/data-quality-toolkit/" >Data Quality Toolkit&lt;/a>, a set of capabilities that help you guarantee quality data from the source so you can spend less time wrangling and more time helping your business drive revenue.&lt;/p>
&lt;p>Using Tracking plans, you can enrich your events with violation information like erroneous property names, incorrect data types, or wrong payload structures. Then, you can write transformations in JavaScript or Python to correct these violations before they impact your stakeholders downstream.&lt;/p>
&lt;p>Because transformations occur in your pipeline – after event collection and before delivery – you don’t have to worry about submitting a dev ticket. You can fix bad data in real-time without redeploying sites or apps, a critical benefit especially during code freezes.&lt;/p>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/releases/transformations.webp" href="https://www.rudderstack.com/docs/docs/images/releases/transformations.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/releases/transformations.webp"
alt="Transformations for realtime schema fixes"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;p>For more information on this feature, see our &lt;a href="https://www.rudderstack.com/blog/feature-launch-transformations-for-real-time-schema-fixes/" >Transformations for real-time schema fixes&lt;/a> launch blog.&lt;/p></description></item><item><title>Releases: Device Mode Transformations</title><link>https://www.rudderstack.com/docs/releases/dmt/</link><pubDate>Thu, 03 Aug 2023 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/dmt/</guid><description>
&lt;p>We&amp;rsquo;re thrilled to announce &lt;strong>Device Mode Transformations&lt;/strong> - the latest update to RudderStack &lt;a href="https://www.rudderstack.com/docs/transformations/" >Transformations&lt;/a>. We have improved on our previous beta releases, and you can now write JavaScript and Python transformations for device mode destinations like Firebase and Hotjar.&lt;/p>
&lt;p>In addition, if you encounter any errors during the transformation process, the feature also introduces a fail-safe mechanism where you can send the untransformed event directly to the destination - ensuring your valuable data is never lost.&lt;/p>
&lt;blockquote class="announcement">
&lt;div class="tip-quote">
&lt;span class="callout-icon" aria-hidden="true">&lt;svg viewBox="0 0 640 640" fill="currentColor" xmlns="http://www.w3.org/2000/svg">&lt;path fill="currentColor" d="M544 96C526.3 96 512 110.3 512 128L512 137.1L126.8 247.2C123 233.8 110.6 224 96 224C78.3 224 64 238.3 64 256L64 384C64 401.7 78.3 416 96 416C110.6 416 123 406.2 126.8 392.8L198.5 413.3C194.3 424.1 192 435.8 192 448C192 501 235 544 288 544C334.9 544 374 510.3 382.3 465.8L512 502.8L512 511.9C512 529.6 526.3 543.9 544 543.9C561.7 543.9 576 529.6 576 511.9L576 127.9C576 110.2 561.7 95.9 544 95.9zM335.8 452.5C333.5 476.9 313 496 288 496C261.5 496 240 474.5 240 448C240 440.3 241.8 433 245 426.6L335.8 452.5z"/>&lt;/svg>&lt;/span>
&lt;div class="tip-text">Device Mode Transformations is beta feature available only in the RudderStack Cloud &lt;a href="https://www.rudderstack.com/enterprise-quote/" >Enterprise&lt;/a> plan. Contact &lt;a href="mailto:support@rudderstack.com" >RudderStack Support&lt;/a> to enable it in your workspace.&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;p>For more information on Device Mode Transformations and how to use them, see our &lt;a href="https://www.rudderstack.com/docs/transformations/usage/#device-mode" >docs&lt;/a>.&lt;/p></description></item><item><title>Releases: GitHub Actions for Transformations</title><link>https://www.rudderstack.com/docs/releases/transformation-action/</link><pubDate>Thu, 15 Jun 2023 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/transformation-action/</guid><description>
&lt;p>RudderStack now supports Github Actions for transformations!&lt;/p>
&lt;p>Prior to this release, managing transformations was limited to the RudderStack dashboard UI. With this update, you can leverage GitHub Actions to seamlessly create, update, and maintain your transformation code written in JavaScript or Python directly from your development repository.&lt;/p>
&lt;p>With this update, you can stay organized, collaborate effectively, and streamline your transformation processes. To get started, head over to our &lt;a href="https://www.rudderstack.com/docs/transformations/transformation-action/" >Transformation Action&lt;/a> documentation.&lt;/p></description></item><item><title>Releases: Transformation Observability</title><link>https://www.rudderstack.com/docs/releases/transformation-ui/</link><pubDate>Thu, 15 Jun 2023 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/transformation-ui/</guid><description>
&lt;p>We have updated our &lt;a href="https://www.rudderstack.com/docs/transformations/overview/" >Transformations&lt;/a> feature, focusing on improved visibility of transformation errors and provide an option to enable notifications.&lt;/p>
&lt;p>Prior to this update, transformation errors were visible only under the &lt;strong>Events&lt;/strong> tab of the destination. Based on your feedback, we have now introduced a dedicated &lt;strong>Transformation Events&lt;/strong> option that provides a centralized view of transformation errors, enabling you to identify and take action on any issues quickly. With this option, you can easily filter errors across all destinations or focus on errors specific to a single destination. Additionally, you can now drill down into the errors and examine sample events, facilitating efficient debugging of transformation processes.&lt;/p>
&lt;p>To further enhance your Transformations experience, we have also introduced a new notification feature for transformation errors. You can now enable notifications for transformation errors by navigating to the &lt;strong>Settings&lt;/strong> tab. Once enabled, you will receive email notifications in case of transformation errors. Like other notifications, you will receive a maximum of one daily notification for each destination with a transformation error.&lt;/p>
&lt;p>For more information on these updates, see &lt;a href="https://www.rudderstack.com/docs/transformations/manage/" >Manage transformations&lt;/a>.&lt;/p></description></item><item><title>Releases: Transformation Testing Enhancements</title><link>https://www.rudderstack.com/docs/releases/testing-transformations/</link><pubDate>Thu, 15 Jun 2023 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/testing-transformations/</guid><description>
&lt;p>We have released a new RudderStack feature that enhances transformation testing capabilities.&lt;/p>
&lt;p>Previously, you could test transformations using live events to ensure accuracy and reliability. However, in cases where live events are unavailable, having some placeholder event data to test your transformations can be very helpful.&lt;/p>
&lt;p>With this update, you can use custom events and test payloads to simulate edge case scenarios to identify and address potential errors in your transformation logic, thereby ensuring effective event processing within RudderStack.&lt;/p>
&lt;p>For more information on this update, see &lt;a href="https://www.rudderstack.com/docs/transformations/create/#test-transformation" >Test transformation&lt;/a>.&lt;/p></description></item><item><title>Releases: Geolocation Enrichment</title><link>https://www.rudderstack.com/docs/releases/geolocation-transformation/</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/releases/geolocation-transformation/</guid><description>
&lt;p>RudderStack now enriches your events with precise geolocation data leveraging &lt;a href="https://www.maxmind.com" >MaxMind&lt;/a>.&lt;/p>
&lt;p>With this update, you can seamlessly enrich your event data without incurring extra costs using additional services like Clearbit API or relying on free alternatives like IP location.&lt;/p>
&lt;p>To get started with this feature, use RudderStack&amp;rsquo;s &lt;a href="https://www.rudderstack.com/docs/transformations/templates/" >Geolocation Enrichment transformation template&lt;/a>. For more information, see our &lt;a href="https://www.rudderstack.com/docs/transformations/geolocation-enrichment/" >Geolocation service&lt;/a> documentation.&lt;/p></description></item></channel></rss>