Enterprise Data Retrieval
Data Layout
/root/DATA/metadata/ - employee.json (eid -> name, role, location, org), customers_data.json, salesforce_team.json
/root/DATA/products/<ProductName>.json - per-product data with keys: slack, documents, meeting_transcripts, meeting_chats, urls, prs
Product JSON Keys
slack (list)
{
"Channel": {"name": "planning-ProductName", "channelID": "ch-xxx"},
"Message": {"User": {"userId": "eid_xxx", "timestamp": "ISO", "text": "..."}, "Reactions": []},
"ThreadReplies": [{"User": {...}}],
"id": "utteranceID"
}
Note: ThreadReplies are often empty; sequential messages in a channel represent the conversation flow.
documents (list)
{"content": "...", "date": "ISO", "document_link": "URL", "author": "eid_xxx", "type": "Market Research Report|Product Vision Document|...", "id": "..."}
Documents typically have draft and final versions. The final version link contains "final_" prefix.
urls (list)
{"link": "URL", "description": "...", "id": "..."}
Retrieval Patterns
Finding Document Authors + Key Reviewers
- Filter
documents by type matching the document name
author field gives the document author (employee ID)
- Search Slack for messages containing the document link
- Find messages between the draft post and final post timestamps
- All users who provided feedback (not just "thanks") are key reviewers
- The author who posted both draft and final is also included
Finding Competitor Insight Providers
- Search all Slack messages for competitor product names
- Identify messages where users share specific features, strengths, or weaknesses
- "Insight providers" = those who shared substantive information (described features, compared, analyzed)
- Differentiate from those who just asked questions or said "thanks"
Finding Competitor Demo URLs
- Search Slack messages for URL patterns containing competitor names + "demo"
- Filter out internal product demos (sf-internal URLs)
- Only include external competitor product demo URLs
1---2name: run2-enterprise-data-retrieval3description: Comprehensive guide for retrieving structured information from enterprise JSON data files containing Slack messages, documents, meetings, and metadata.4metadata:5 source: https://skillmd.com/skills/cxcscmu/run2-enterprise-data-retrieval6---78# Enterprise Data Retrieval910## Data Layout11- `/root/DATA/metadata/` - employee.json (eid -> name, role, location, org), customers_data.json, salesforce_team.json12- `/root/DATA/products/<ProductName>.json` - per-product data with keys: slack, documents, meeting_transcripts, meeting_chats, urls, prs1314## Product JSON Keys1516### slack (list)17```json18{19 "Channel": {"name": "planning-ProductName", "channelID": "ch-xxx"},20 "Message": {"User": {"userId": "eid_xxx", "timestamp": "ISO", "text": "..."}, "Reactions": []},21 "ThreadReplies": [{"User": {...}}],22 "id": "utteranceID"23}24```25Note: ThreadReplies are often empty; sequential messages in a channel represent the conversation flow.2627### documents (list)28```json29{"content": "...", "date": "ISO", "document_link": "URL", "author": "eid_xxx", "type": "Market Research Report|Product Vision Document|...", "id": "..."}30```31Documents typically have draft and final versions. The final version link contains "final_" prefix.3233### urls (list)34```json35{"link": "URL", "description": "...", "id": "..."}36```3738## Retrieval Patterns3940### Finding Document Authors + Key Reviewers411. Filter `documents` by `type` matching the document name422. `author` field gives the document author (employee ID)433. Search Slack for messages containing the document link444. Find messages between the draft post and final post timestamps455. All users who provided feedback (not just "thanks") are key reviewers466. The author who posted both draft and final is also included4748### Finding Competitor Insight Providers491. Search all Slack messages for competitor product names502. Identify messages where users share specific features, strengths, or weaknesses513. "Insight providers" = those who shared substantive information (described features, compared, analyzed)524. Differentiate from those who just asked questions or said "thanks"5354### Finding Competitor Demo URLs551. Search Slack messages for URL patterns containing competitor names + "demo"562. Filter out internal product demos (sf-internal URLs)573. Only include external competitor product demo URLs