Create a Data Stream in Data Cloudを実際に行ってみた


+ [Create a Data Stream in Data Cloud](https://qiita.com/Keiji_otsubo/items/959d0587a65cf592748f)
+ [データクラウド ID 解決ルールセットの機能低下 2024/08/15~](https://qiita.com/Keiji_otsubo/items/467f8143c1d7a6c6097e)
+ [Data Stream が機能しないの考察](https://qiita.com/Keiji_otsubo/items/10ae83414f50440b2aeb)
+ [Create a Data Stream in Data Cloud でのフローの条件設定でのエラー](https://qiita.com/Keiji_otsubo/items/322ccb1b0adb17899431)
+  [Einstein Setupと Einstein Salesの有効化が必要](https://qiita.com/Keiji_otsubo/items/3a93e4d8d5c318fe9214)
-------------

# Quick Find box　でAgentsがない

+ [RESOLVED: "Agents" Missing from Playground Menu](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000MY5E0)

:::note
 I needed to do several page refreshes for this to show up. 
:::

-------------
https://trailhead.salesforce.com/content/learn/projects/create-a-data-stream-in-data-cloud?trailmix_creator_id=dataclouddocs&trailmix_slug=data-cloud-learning-path-a

# Get Started with a Data Cloud Developer Edition

特に問題なし
同じ特別版の環境を使う

+ [Quick Start: Create an Identity Resolution Ruleset](https://trailhead.salesforce.com/content/learn/projects/quick-start-create-identity-resolution-ruleset)
+ [Quick Start: Enhance Data with Insights](https://trailhead.salesforce.com/content/learn/projects/quick-start-enhance-data-with-insights)
+ [Quick Start: Create a Data Cloud Segment](https://trailhead.salesforce.com/content/learn/projects/quick-start-create-a-data-cloud-segment)

----------------
+ [Quick Start: Create an Identity Resolution Rulesetを実際に行ってみた](https://qiita.com/Keiji_otsubo/items/41a662d2d3160165dd57)
+ [Quick Start: Enhance Data with Insightsを実際に行ってみた](https://qiita.com/Keiji_otsubo/items/38f0b6792e30cf93f486)
+ [Quick Start: Create a Data Cloud Segmentを実際に行ってみた](https://qiita.com/Keiji_otsubo/items/fc9a6862be1da54a6b2c)


# Create a Data Stream

何もしないで検証ボタンを押してみます

:::note alert
We can't find the Data Stream named ‘Lead’.
:::

１つ接続されたソースが多い

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/59145b4a-bba6-3cc1-9938-39c567570d36.png)


1. From the Data Stream tab, locate and click the Lead data stream that you created.
2. From the Lead data stream record, click the New Formula Field button.


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/868509f3-e0db-41bc-affc-e442d5a6bd33.png)

最終的な設定

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/132f2486-71c8-8218-4f4f-9269c9736dbb.png)

+ [We can't find the text field mapping for ‘Is US Based’ in the Data Lake Object ‘Lead’.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eqKk6SAE)

HOMEが付いていても問題ないみたい

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/9c725fb7-9554-f097-0d67-1664a4e0ddfb.png)

+ [We can't find the text field mapping for ‘Is US Based’ in the Data Lake Object ‘Lead’.](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54V00007eqKk6)

:::note
The answer that worked for me was from Dan Bowlds in another group: 

"Almost forgot - one thing I did wrong on step three of the first picture is accidently map the field "Is US Based" to the unmapped section of Contacts, not Leads."
:::

+ [I am blocked to complete my Data cloud cert prep due to wrong fields setup in DLO. Now I am not able to add new formula field under Data cloud playground.](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000nS31)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/3b389f2e-9d8d-1516-8f20-4a052723373a.png)

+ [We can't find the field ‘Is US Based’ (API Name includes ‘Is_US_Based__c’) associated with the Data Stream ‘Lead’.](https://qiita.com/Keiji_otsubo/items/b880f34113dcc1b18a2c)

# Add and Map a Formula Field

何もしないで検証ボタンを押してみます

:::note alert
We can't find the text field mapping for ‘Is US Based’ in the Data Lake Object ‘Lead’.
:::

1. Click the Data Streams tab and then select your newly created data stream, Lead.
2. From the Data Mapping section, click Review.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/91d9534a-f4cd-e5ad-4a7e-0a7dba4c7725.png)

よく分からんエラーがある

:::note alert
The following attributes should be mapped to successfully use Identity Resolution, Segmentation, and Activation: Formatted E164 Phone Number
:::

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/3b01038c-5dd1-185e-7220-78bc0de50319.png)

展開したら出てきた

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f6482b01-920f-43e5-0c80-db79c5fa3f27.png)


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/05900ec5-80f7-9bf4-8694-67ff92f489c9.png)




# Wronigはないけど、0件 このときステータスはpending

+ [Create Insights Using Data Cloud - No data from stream](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J9JfA0AV)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f79e11e9-a38d-9d05-df11-af134f177737.png)

+ [need help with the exercise in :Get Started with an Identity Resolution Ruleset" trail module](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J9Lr8)