Λογότυπο Analytics Dataflow Development

Analytics Dataflow Development

Κοινότητα
PranavNagrecha
analytics-dataflow-development

Use this skill when building, debugging, or optimizing CRM Analytics dataflows — defining node types (sfdcDigest, Append, Augment, computeExpression, computeRelative, Flatten, dim2mea, sfdcRegister), scheduling runs, handling run failures, and tuning performance. NOT for doing the same transformation in a Data Prep recipe — use admin/analytics-recipe-design. NOT for dataset field types, refresh schedules, or row limits — use admin/analytics-dataset-management.

Επισκόπηση

ΕκδότηςPranavNagrecha
ΑποθετήριοAwesomeSalesforceSkills
Όνομα δεξιότηταςanalytics-dataflow-development
Αστέρια
26
Forks
5
Συνοδευτικά αρχεία
6
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • 6 συνοδευτικά αρχεία

    Σενάρια, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από PranavNagrecha στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Analytics Dataflow Development στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/analytics-dataflow-development
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/analytics-dataflow-development .claude/skills/analytics-dataflow-development
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Analytics Dataflow Development σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Analytics Dataflow Development μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Analytics Dataflow Development δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Analytics Dataflow Development

This skill activates when a practitioner needs to author, debug, or optimize a CRM Analytics dataflow — a JSON-defined ETL pipeline that extracts Salesforce data, applies transformations, and registers the result as a CRM Analytics dataset. It covers node composition, run-limit management, failure recovery, and performance tuning.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm whether the org already has dataflows consuming the same source objects; duplicate sfdcDigest nodes across multiple dataflows multiply row-count and run-time cost.
  • Identify the target dataset row volume. Datasets are capped at 250 million rows; exceeding this causes the sfdcRegister node to fail.
  • Count currently scheduled dataflow and recipe runs. The org is limited to 60 combined dataflow and recipe runs per rolling 24-hour window — not a calendar day reset. New dataflows added to a busy schedule may push the org over the limit.
  • Determine whether this is a net-new build or a maintenance task. New development should generally use Recipes (the newer UI-driven ETL tool); dataflows remain the right choice for existing pipelines, complex SAQL expressions not supported in Recipes, or when explicit JSON control is required.

Core Concepts

Node Types and Pipeline Topology

CRM Analytics dataflows are JSON objects where each key is a node name and the value defines that node's action and parameters. Nodes fall into four functional groups:

Ingestion nodes — pull source data into the pipeline:

  • sfdcDigest — extracts records from a Salesforce object using the Analytics connector. Requires specifying the object and a fields list. Supports a filter parameter to push predicate filtering to the source query.
  • Digest — reads from a CSV or external data source already uploaded to the org.
  • Edgemart — references an existing registered CRM Analytics dataset as input. Used for chaining dataflows.

Combination nodes — merge multiple node outputs:

  • Append — row-wise union. All input schemas must be compatible (same field names and types). Unlike SQL UNION ALL, no deduplication occurs.
  • Augment — column-wise join. Left-join only. All rows from the left input are preserved; unmatched rows from the right input are dropped. There is no inner, right, or full-outer join option in dataflows. For multi-join-type requirements use Recipes.

Enrichment nodes — transform rows or columns:

  • computeExpression — evaluates a SAQL expression per row to produce a new field. Runs in row context (no window functions). Used for derived fields, type casts, and conditional logic.
  • computeRelative — evaluates expressions across a partitioned, ordered window of rows. Used for running totals, rank, and prior-period comparisons. Requires partitionBy and orderBy parameters.
  • Flatten — denormalizes hierarchical (parent-child) relationships such as role hierarchy into a flat structure suitable for security predicates or rollup analysis.
  • dim2mea — converts a dimension (string) field to a measure (numeric) field, enabling aggregation in SAQL queries.
  • Filter — drops rows that do not match a condition. Has no SOQL pushdown capability but reduces row count for downstream nodes.
  • SliceDataset — selects a subset of fields from the incoming schema. Used to drop unused columns before expensive operations.

Terminal node — writes the result to a dataset:

  • sfdcRegister — registers the pipeline output as a named CRM Analytics dataset. Overwrites the existing dataset by default. There is no append or upsert mode in sfdcRegister; every successful run replaces the entire dataset.

Run Failure Behavior

A single failing node aborts the entire dataflow run. When a run aborts, the previously registered dataset is left unchanged — it retains its last successful state. No partial writes occur. This means a dataflow with 20 nodes that fails on node 19 produces no change to any registered dataset. Practitioners must check Job Progress Details to identify the failing node, since the error message on the run summary may not pinpoint the root cause.

Run Quota

The org-wide limit is 60 combined dataflow and recipe runs per rolling 24-hour window. "Rolling" means the clock starts from each individual run's start time, not from midnight. Adding a new scheduled dataflow to an org already running 58 other jobs per day will breach this limit. Monitor run counts in the Analytics Data Manager or via the REST API before adding schedules.

Optimization Principles

Large dataflows are the primary source of run-time failures and quota exhaustion. Three optimization strategies apply:

  1. Filter early. Place Filter nodes immediately after sfdcDigest or Edgemart nodes, before any Augment or computeExpression nodes. Augment is O(n*m) in the worst case; reducing row count before the join significantly cuts runtime.
  2. Slim the schema. Use SliceDataset nodes to drop fields not needed downstream before passing data to Augment. Narrower schemas reduce memory usage during join operations.
  3. Split monolithic dataflows. A single dataflow with 30+ nodes is harder to debug and consumes more per-run resources than two chained dataflows of 15 nodes each. Chain them using Edgemart — the upstream dataflow registers an intermediate dataset that the downstream dataflow reads.

Common Patterns

Pattern: Filtered Augment Join

When to use: Joining Opportunity records to Account records to enrich Opportunity data with Account attributes, where only open Opportunities are needed.

How it works:

json
{
  "Extract_Opportunities": {
    "action": "sfdcDigest",
    "parameters": {
      "object": "Opportunity",
      "fields": [
        {"name": "Id"},
        {"name": "AccountId"},
        {"name": "Amount"},
        {"name": "StageName"},
        {"name": "CloseDate"}
      ]
    }
  },
  "Filter_Open": {
    "action": "filter",
    "parameters": {
      "source": "Extract_Opportunities",
      "saqlFilter": "StageName != \"Closed Won\" && StageName != \"Closed Lost\""
    }
  },
  "Extract_Accounts": {
    "action": "sfdcDigest",
    "parameters": {
      "object": "Account",
      "fields": [
        {"name": "Id"},
        {"name": "Name"},
        {"name": "Industry"},
        {"name": "AnnualRevenue"}
      ]
    }
  },
  "Join_Account_Data": {
    "action": "augment",
    "parameters": {
      "left": "Filter_Open",
      "left_key": ["AccountId"],
      "right": "Extract_Accounts",
      "right_key": ["Id"],
      "right_select": ["Name", "Industry", "AnnualRevenue"],
      "relationship": "Account"
    }
  },
  "Register": {
    "action": "sfdcRegister",
    "parameters": {
      "alias": "Open_Opps_With_Account",
      "name": "Open_Opps_With_Account",
      "source": "Join_Account_Data"
    }
  }
}

Why not the alternative: Running Augment before Filter passes all Opportunity rows (including closed) through the join, significantly increasing runtime and memory usage for large orgs.

Pattern: Chained Dataflows for Large Pipelines

When to use: A single dataflow has grown to 25+ nodes, is hitting run-time limits, or is difficult to debug because failures could originate anywhere in the graph.

How it works:

  • Dataflow A performs ingestion and heavy transformation, registers an intermediate dataset (Intermediate_Opp_Account).
  • Dataflow B reads that intermediate dataset using an Edgemart node, applies enrichment and final computeExpression logic, and registers the production dataset.
  • Schedule Dataflow B to run after Dataflow A completes (use dependency scheduling or a time offset).

Why not the alternative: A monolithic dataflow that fails on the last node wastes all compute from the preceding nodes and delays the error diagnosis cycle.


Decision Guidance

SituationRecommended ApproachReason
Building a net-new pipeline on a new orgUse Recipes instead of DataflowsRecipes are the strategic direction; dataflows are in maintenance mode
Maintaining or extending an existing dataflowStay in dataflow JSONMixing dataflow and recipe for the same dataset causes confusion and scheduling complexity
Need an inner join or right joinUse Recipes (Join node supports multiple join types)Augment in dataflows is left-join-only; no workaround in JSON
Need row-level computed fieldUse computeExpression nodeSupports per-row SAQL expressions without aggregation
Need running total or rank across sorted rowsUse computeRelative nodeSupports partitioned window expressions; computeExpression cannot reference sibling rows
Pipeline taking >45 minutes per runSplit into chained dataflows via EdgemartReduces per-run scope and makes failure diagnosis faster
Approaching 60 runs/day org limitConsolidate dataflows that share source objectsMerge sfdcDigest nodes into a single shared dataflow, fan out via Edgemart

Recommended Workflow

Step-by-step instructions for an AI agent or practitioner working on this task:

  1. Gather requirements. Confirm source objects, required fields, join logic, calculated fields, row volume estimate, and scheduling frequency before writing any JSON.
  2. Check run quota. Count existing scheduled dataflow and recipe runs in Analytics Data Manager. If the org is within 10 runs of the 60-run rolling limit, raise this before adding a new scheduled dataflow.
  3. Design the node graph on paper first. Map ingestion nodes → filters → combination nodes → enrichment nodes → sfdcRegister. Place Filter nodes immediately after ingestion and before any Augment joins. Use SliceDataset before Augment to trim unused fields.
  4. Author the dataflow JSON. Write the .wdf file following the node structure. Validate JSON syntax before uploading. Every node must have an action and a parameters block. Every non-terminal node must be referenced as source or left/right by exactly one downstream node.
  5. Upload and run manually. Upload the dataflow via Analytics Data Manager. Trigger a manual run and monitor Job Progress Details. Do not rely solely on the run-summary status — inspect individual node durations to identify bottlenecks.
  6. Verify the registered dataset. After a successful run, open the dataset in the Analytics Studio explorer and confirm row count, field types, and sample values. Check that sfdcRegister used the correct alias (alias determines the API name of the dataset).
  7. Schedule and document. Set the schedule in Analytics Data Manager. Document the node graph, dataset dependencies, and any Edgemart chain order in the skill template.

Review Checklist

Run through these before marking work in this area complete:

  • Filter nodes are placed before all Augment nodes, not after
  • SliceDataset nodes trim unused fields before expensive joins
  • sfdcRegister alias matches the intended dataset API name (changing alias creates a new dataset)
  • Org is under 50 scheduled runs per rolling 24-hour window (leave buffer)
  • Row volume of the registered dataset is confirmed below 250 million rows
  • All node names are unique within the dataflow JSON
  • Dataflow JSON is valid (no trailing commas, correct bracket pairing)
  • Job Progress Details reviewed after first manual run — no node warnings suppressed

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. Augment is left-join-only — practitioners expecting a full join or inner join are surprised when all left-side rows appear in output regardless of match. Unmatched rows get null values for right-side fields. There is no join-type parameter on the Augment node.
  2. sfdcRegister overwrites, never appends — every successful dataflow run replaces the entire registered dataset. There is no incremental or upsert mode. If a downstream dashboard or SAQL query was mid-execution when the register completed, it may see a briefly empty dataset.
  3. Single node failure aborts the run, prior dataset unchanged — a failed run leaves the registered dataset in its last successful state. For production datasets refreshed nightly, a failure at 2 AM means dashboards show yesterday's data until the issue is fixed and a new run completes.
  4. 60-run limit is rolling, not calendar-day — the window is a sliding 24 hours from each run's start time, not a midnight-to-midnight reset. Adding a 7 AM dataflow to an org that already ran 60 jobs between 7 AM yesterday and 7 AM today will immediately fail.
  5. computeRelative per-step duration, not total job duration — the 2-minute run-count exemption check applies per node step, not to the total wall-clock time of the dataflow run. Monitor per-step duration in Job Progress Details rather than total run duration when diagnosing exemption behavior.

Output Artifacts

ArtifactDescription
Dataflow JSON (.wdf)The complete dataflow definition file, uploadable to Analytics Data Manager
Node graph diagramVisual representation of the node DAG for documentation and debugging
Run-limit risk assessmentCount of current scheduled runs vs. 60-run limit with buffer recommendation
Dataset verification reportRow count, field types, and sample values from first successful run

Related Skills

  • crm-analytics-app-creation — use alongside this skill when the dataflow is being built as part of a new CRM Analytics app; covers app scaffolding, template selection, and dataset-to-dashboard wiring
  • analytics-dataset-management — use when the focus is dataset configuration, row-level security predicates, or dataset lifecycle management rather than dataflow node authoring

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Analytics Dataflow Development;

Use this skill when building, debugging, or optimizing CRM Analytics dataflows — defining node types (sfdcDigest, Append, Augment, computeExpression, computeRelative, Flatten, dim2mea, sfdcRegister), scheduling runs, handling run failures, and tuning performance. NOT for doing the same transformation in a Data Prep recipe — use admin/analytics-recipe-design. NOT for dataset field types, refresh schedules, or row limits — use admin/analytics-dataset-management.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Analytics Dataflow Development στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Analytics Dataflow Development είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Analytics Dataflow Development στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/analytics-dataflow-development. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Analytics Dataflow Development;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Analytics Dataflow Development;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Analytics Dataflow Development με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Analytics Dataflow Development;

Δημοσιεύεται στο GitHub από τον χρήστη PranavNagrecha. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇