---
schema_version: "1"
id: 9e6491edefe359d09da1cadde6602ffd58e682f3bd861114224d46e238eb00da
title: Pull Data Directly into Recipes
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_integrate_recipe_direct_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_recipe_direct_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1e68c89bbd921ae7b26c9fb01eddfd78b791188954a4bb9d734324b56cac75d0
description: Direct data for recipes in CRM Analytics lets your recipes access data in Salesforce objects that you don’t sync. When you use direct data, the latest data is pulled directly from the Salesforce object with each recipe run, bypassing the data sync step. Direct data is designed to access a small number of objects instead of optimizing for performance as is the case with data sync connected objects. After you decide to use direct data, you can use it in recipes, add filtering, and switch the data to be connected instead.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Pull Data Directly into Recipes

Direct data for recipes in CRM Analytics lets your recipes access data in Salesforce objects that you don’t sync. When you use direct data, the latest data is pulled directly from the Salesforce object with each recipe run, bypassing the data sync step. Direct data is designed to access a small number of objects instead of optimizing for performance as is the case with data sync connected objects. After you decide to use direct data, you can use it in recipes, add filtering, and switch the data to be connected instead.

## Pull Data Directly into Recipes

Direct data for recipes in CRM Analytics lets your recipes access data in Salesforce objects that you don’t sync. When you use direct data, the latest data is pulled directly from the Salesforce object with each recipe run, bypassing the data sync step. Direct data is designed to access a small number of objects instead of optimizing for performance as is the case with data sync connected objects. After you decide to use direct data, you can use it in recipes, add filtering, and switch the data to be connected instead.

Decide Whether to Use Direct Data or Connected Object Data

There are distinct benefits and limitations to consider when you build recipes for direct data and data sync-connected objects. To achieve faster recipe runtimes, use connected objects instead of direct data when multiple recipes access the same object or when a single recipe accesses multiple objects. Recipes with connected objects run faster because data is synced in advance. They also run faster because multithreading is enabled for connected objects where multiple, simultaneous Bulk API calls are made to process data in parallel. Unlike connected objects, direct data uses single threading, where Data Prep extracts data from one source object at a time. For example, if you have 4 recipes, each with 5 source objects, Data Prep pulls data from one object in one recipe while the other 19 source objects wait in the queue.

  
| Factor | Direct Data | Connected Object |
| --- | --- | --- |
| Data volume: How many rows of the object’s data are used? | Low: Fewer than 200,000 rows. Supports filtering to reduce pulled rows. Direct data pulls data with each recipe run, with larger data volumes adding to the run time. | High: Greater than 200,000 rows. Supports filtering to reduce the number of rows synced. By separating the sync from the recipe run, higher data volumes can be used without slowing down either step. |
| Access frequency: How often is this data pulled? | Low: One recipe uses this data one time a week | High: Multiple recipes use this data, or it’s used multiple times per day |
| Incremental support: Can only changed and new records be pulled? | None | Most objects (see [Configure Incremental Sync for Salesforce Data](https://help.salesforce.com/s/articleView?id=analytics.bi_extract_data_incrementally_in_replication.htm&release=264.0.0&type=5 "Before you run or schedule data sync, specify whether the sync extracts incremental changes or all records from each Salesforce object. By default, CRM Analytics performs an incremental sync. An incremental sync runs faster because it extracts only the latest changes to the Salesforce object.") for list) |
| Rate of change: How often do the object records change? | High frequency (recipe can be scheduled up to every 15 minutes, with no reliance on data sync’s schedule) | Low frequency (data sync can be scheduled up to every 15 minutes, followed by the recipe run) |
| Preview size: How many rows do you want to see in data preview? | Max 2,000 rows | Max 10,000 rows |

## Use Direct Data in Recipes

When you add an input node to a recipe, you can select direct data in addition to datasets and connected objects. ![The Add Input Data page shows Salesforce objects, External connected objects, and CRM Analytics data](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/resources-global/analytics/images/bi_integrate_add_input_data_updated.png)

In the Location column, Salesforce direct data is distinguished by a gray Salesforce cloud icon. Salesforce connected objects are distinguished by a blue Salesforce cloud icon.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note As direct data doesn’t store data in CRM Analytics, references to direct data aren’t included in SFDC\_Local connections.

## Filter Data Pulled into Recipes

Filter the data pulled into the recipe by adding a **Filter** node next to the direct data input node. Use this push-down filter to limit the volume or type of data that is pulled with each recipe run. If you later add this object to data sync, the direct data filter is converted automatically to a standard filter node.

![The direct data input node is demarcated wtih a lightning bolt.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/resources-global/analytics/images/bi_integrate_recipe_filter_direct_data.png)

Switch Object Between Direct Data and Connected

A recipe’s object data can be connected data, with data pulled by data sync. Or it can be direct data that’s pulled directly with each recipe run. To convert an object from direct to connected, add the connection to data sync by following the directions in step 2 of [Add and Remove Local Salesforce Objects and Fields from Data Sync](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_connectors_salesforce_local_add_remove_objects.htm&release=264.0.0&type=5 "Update data sync to keep up with your changing business by adding local Salesforce objects, removing objects, and managing which fields are synced. Synced data is stored in CRM Analytics as objects that you can use in recipes."). If you had a filter on the direct data input node, it’s automatically converted to a standalone filter node.

To switch an object from connected to direct, remove the object from data sync by following step 4 of [Add and Remove Local Salesforce Objects and Fields from Data Sync](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_connectors_salesforce_local_add_remove_objects.htm&release=264.0.0&type=5 "Update data sync to keep up with your changing business by adding local Salesforce objects, removing objects, and managing which fields are synced. Synced data is stored in CRM Analytics as objects that you can use in recipes.").

## Disable Direct Data for Recipes

1. From Setup, in the Quick Find box, enter Analytics, and then select **Settings**.
2. Deselect **Allow recipes to use direct data**.
3. Save your changes.