Level up with top data content curated by team RudderStack

Get the data reading guide

Join Databricks, dbt, Fivetran, Hinge, & EssenceVC for a live discussion on the modern data stack.

Register Now
Blog banner

Product

RudderStack Warehouse Actions Unlocks the Data in Your Warehouse

Eric Dodds
Growth at RudderStack

Your data warehouse is the platform your customer data stack is built on. It acts as a robust central system for driving critical business decisions while maintaining a unified source of truth for your entire organization. Businesses are constantly looking to improve their product or marketing strategies to get an extra edge over their competitors. Data warehouses help you get that competitive edge by serving analytical data to make fact-based decisions that drive innovation and business growth. While teams turn those analysis-driven insights into strategies and tactics, it's tough to activate the warehouse’s actual data that the insights are based on.

To make it easier to utilize and activate all of the analytics your teams build, we’re launching a new feature called RudderStack Warehouse Actions. Warehouse Actions enables you to leverage processed customer data stored in your data warehouse and directly route this enriched information to your entire customer data stack.

In this post, we detail Warehouse Actions. We explain how configuring your warehouse as a data source can fully unlock your data’s value, how Warehouse Actions works, some of its benefits, and how to set it up in RudderStack.

Why Warehouse Actions?

Data warehouses are an indispensable tool as they enable decision-makers to access data quickly through business intelligence tools, SQL clients, and other analytical applications. Without a data warehouse in place, you are forced to rely on the individual (siloed) applications you use and the raw data from each for analysis.

A warehouse helps guarantee that your data is unified, consistent, and high-quality by eliminating duplicate records, errors, and inconsistent information. It also enables your teams to perform deep analysis and modeling on your data, something that is nearly impossible without a warehouse. Given the quality of the data in your warehouse and your teams’ can derive from it, it makes sense to use the customer data in your warehouse to activate your customer tools.

Warehouse Actions makes feeding customer insights into your customer data pipelines easy by turning tables into event streams that can trigger activation in your downstream customer tools.

How Warehouse Actions Works

image-7e60ca0bea66e6b038d586f11c1d1195356120c3-630x354-png

Warehouse Actions Architecture

RudderStack makes it easy to collect data from different sources, event and non-event, and securely ingest them into your warehouse. Once data is successfully ingested, your teams can then apply advanced queries or models to generate valuable data composites (either tables or views) that are frequently materialized (aka written) as their tables and stored in your data warehouse. For example, dbt can be used to transform data within your warehouses by simply writing select statements. dbt turns these select statements into tables and views.

With Warehouse Actions, any updates to the analytics-derived datasets that live in your warehouse can be collected by RudderStack and pushed as events to all of your customer tools.

Benefits of Using a Warehouse Actions

Even if collected and unified across multiple touchpoints, customer event data may lack the necessary information to build complete or enriched customer profiles. Event data alone doesn’t give context into any of the information stored in your customer master data, campaign data, or even your advertising data. When you have data from sources beyond events that could make your customer profiles better or enable deeper, more meaningful analysis, you need a data warehouse. Your warehouse is where you can combine all of these different types of customer data to define better customer profiles and derive more meaningful insights from more in-depth analysis. With Warehouse Actions, you can route the customer insights in your data warehouse to third-party tools for further activation.

For example, when running a new marketing campaign, you are often challenged with gathering the “right data” for personalized emails, push notifications, or targeted audiences. This “right data” often starts with simple data, such as name and email address, and then expands to complex customer data, including behavioral traits, products viewed, subscriptions enrolled, and so on. All of the data you need to make the “right data” is either already in your data warehouse or easily could be.

Warehouse Actions lets you act on the “right data”, routing the outputs of your team’s analysis to all of your customer tools. As a result, it is significantly easier to help your marketing teams build and automate things like customized recommendations for campaigns. Also, it allows your product team to build win-back flows for users likely to churn.

Setting up Warehouse Actions in RudderStack

We will use a real-world example to walk through how to set up Warehouse Actions. Let’s say your company wants to use the number of log-ins over seven days to calculate a lead score for new users. Multiple log-ins will increase the lead score.

Let’s also say that because you use RudderStack Event Stream and RudderStack Cloud Extract, you have the log-in event data from your website, iOS app, and Android app, as well as the lead records from Salesforce in your warehouse. You can use SQL (or another method of querying the data) to build a simple model for calculating each lead score. The result is a table in your warehouse that lists Salesforce leads and their associated score.

In Snowflake, the query to calculate lead score and produce a table might look something like this:

image-4d34521a952758d59309c02566fff6d6e193031f-630x317-png

Calculating the Lead Score

With Warehouse Actions, you can easily pull the updated lead profiles from the table in Snowflake back through RudderStack and send them to Salesforce, meaning your sales team will have the most up-to-date status on new signups. Because the table is translated into an event stream, you can also route it to any other tools that need the lead score, like marketing automation and customer experience platforms.

Configuring Warehouse Actions is simple and only takes a few minutes.

  1. Log into your RudderStack Cloud dashboard.
  2. Navigate to Sources in the left panel, select your preferred data warehouse to be added as Source, and click on Next.
image-db34d53258db4128cf4627c08a89f7fee6cf24b0-630x330-png

Selecting Warehouse

Note: RudderStack currently supports Google BigQuery, ClickHouse, Amazon Redshift, Amazon S3, and Snowflake as sources. We have chosen Snowflake as a warehouse source in this example.

  • Assign a name for the source in the Name the Source section, and provide connection credentials for RudderStack to access the data warehouse. (If you are configuring your data warehouse in the RudderStack dashboard for the first time, click on the Create credentials from Scratch button).
image-32fcf40a9caf28bbe4fefe2c50e77bc5a02697b2-630x333-png

Naming the Source

  • Enter the data warehouse schema and the table name on the “Configure Data” page. RudderStack will collect the data from this table.
image-90d62f8efd66293a94743c2a76cbf83d1d155a51-630x333-png

Configuring Data

Please note that your source table must include at least one of the following columns for it to be considered a valid source:

email

user_id

anonymous_id

  • Examine the table and define the data that should be pulled out of the data warehouse. In our example, we are pulling lead emails and lead scores. Note that you see the payload sent through RudderStack and can modify that payload by including/excluding keys and modifying column names to match fields in downstream destinations. Once you’ve configured the payload, click on Next.
image-8b08f5d9eb564e3cd224259783e918bca35b2668-630x326-png

Defining Data to be Pulled

  • In the “Schedule Options” section, choose a data pull schedule and specify how often the data synchronization should run.
image-5ffeccc423f79dc012cf02f01859b7aad4b8736c-630x324-png

Scheduling

That’s it! Your data warehouse is now configured and added as a RudderStack source.

image-7b0daa6be63ee9a5c624f8aa3d74b1aaa86b6539-630x331-png

Warehouse is configured

Now that your table from Snowflake is set up in Warehouse Actions, you can push identify calls through RudderStack into Salesforce so your sales team can prioritize outreach. To do this, you need to add Salesforce as a destination by clicking on Connect Destinations or Add Destinations:

image-5de26ac0ea8ece29a75449704c1f4909f0113504-630x355-png

Adding Salesforce as a Destination

Next, name the destination, and connect it to the Snowflake source in the Connection Settings.

image-22dfbb0743910ee64461ba158a3ec65ea45c8aeb-630x412-png

Connecting to Snowflake

image-6d7e29b0993e8c6c753770e057b2a22293493936-630x397-png

Warehouse Actions

That’s it! You have successfully added Salesforce as a destination. Your data will sync according to the schedule you defined. You can also trigger sync manually by clicking on SYNC NOW.

image-4c974ff45c646e85d8c3bbc32bfd03cb6a2cf58b-630x385-png

Syncing

After your data has been synced, you can view the results by clicking on the “Live Events option in the upper-right corner.

image-a3d23802b5e3279676f06d6387ad6671d97c9417-630x398-png

Viewing the Results

For detailed steps, read our documentation, Configuring Data Warehouse Actions on RudderStack.

Pachyderm Uses Warehouse Actions to Automate Their Onboarding E-mails

Pachyderm, an enterprise-grade, open-source data science platform, implemented Warehouse Actions for lead qualification. After creating an account, the first action Pachyderm wants its customers to do is create a workspace. They encourage users to do this in a series of drip emails sent through HubSpot, but they don’t want these drip emails to go out to customers that have already created a workspace. This data is already in their data warehouse, and now, with Warehouse Actions, they can automatically exclude these customers from this drip email series.

image-aafa233e670beaf8b3f7eec040d93c94b7f16c7c-630x354-jpg

Pachyderm Stack - Warehouse Actions

Pachyderm uses their BI tool, Sigma, to create a data composite of users that have created a workspace since the last run. Then they use Warehouse Actions to send that data composite to HubSpot. HubSpot excludes this set of customers from further drip emails in the series.

Qualifying leads for drip emails is only one use case for Warehouse Actions. There are many more, and Pachyderm plans to increase their use of Warehouse Actions substantially.

“We have a bunch of uses for Warehouse Actions, and we’re only at the tip of the iceberg, really. A lot of what we want to do in the future will involve getting that data out of the warehouse with Warehouse Actions.”
-- Dan Baker, Marketing Operations Manager, Pachyderm.

Sign up for Free and Start Sending Data

Test out our event stream, ELT, and reverse-ETL pipelines. Use our HTTP source to send data in less than 5 minutes, or install one of our 12 SDKs in your website or app. Get started.

image-36d8549083e836ee871ba2a4deb563754e0de204-400x400-png
About the author
Eric Dodds
Eric leads growth at RudderStack and has a long history of helping companies architect customer data stacks to use their data to grow.
Subscription
Subscribe

We'll send you updates from the blog and monthly release notes.