Skip to content

Query Studio in Salesforce Marketing Cloud

Query studio salesforce

If you work in Marketing Cloud with Automation Studio and SQL Activities this article might be of interest to you. When working with Automation Studio to perform queries via SQL, the steps to get to see the result of the query are:

  1. Create a Data Extension with the required fields that you are going to select in your query .
  2. Create a SQL activity with the query.
  3. Create an automation to include a SQL Activity.
  4. Execute the automation.
  5. Consult the previously created Data
  6. Extension to visualize the results of the query.
  7. Check results .

If what you are trying to do is, for example, just to check or test data, this can be a bit tedious.

Here is something that will make your life easier.

What is Query Studio

It is a free app from the Salesforce AppExchange, which allows you to execute queries in a fast manner, obtaining the results of the query in one console.

It’s that easy: you write your query, execute it and obtain the results.

Now let’s get down to the details.

How to obtain Query Studio

Here is the direct link to the Salesforce AppExchange for Query Studio:

Once we have installed the application. Steps to follow:

1. Install the application with an open session in Marketing Cloud.
2. Log out of the Marketing Cloud account
3. Log back into the account.
4. When browsing the tab AppExchange, you will be able to visualise the app.

appExchange Query

How to work with Query Studio

Once we have been able to access the application, you will see a console in which you can write down the query you need.
appExchange

Other characteristics from Query Studio

Besides the ease of use that Query Studio provides, it also has other characteristics which may be of much help to you.

Generated Data Extensions

Query Studio saves the results in a Data Extension, which might be of use because this means that you could use it in other queries.

Generate Data extension
Besides the ease of use that Query Studio provides, it also has other characteristics which may be of much help to you.

Reuse queries

Console

Object Explorer

Object Explorer

Search for Data Extension to visualise its structure.

Tricks

  • You can run the query without using the “run” button: if you use CTRL + Intro it will execute your query. Next to the run button you will be able to see how long it takes to deliver the results.
  • If you encounter the error “Time Out”, it is usually caused due to a caché problem. Try to execute it again.
  • If you have two or more tabs open in Query Studio with running queries, due to caché problems you might obtain unexpected results. I recommend only having one tab open at a time.
  • Finally, here is a video from Salesforce that includes information about Query Studio.

How to integrate marketing intelligence on Salesforce?

In our paper we tell you everything!
Ebook Marketing Intelligence Salesforce