delta-and-beta-marchi/braze-agency/analyst-data-objects

Claude Code and agent skill by delta-and-beta-marchi/braze-agency

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Defines the structure of API request/response objects including user attributes, events, purchases, messaging payloads, audiences, and scheduling.

Install

npx vskill@latest install delta-and-beta-marchi/braze-agency/analyst-data-objects

SKILL.md

The same SKILL.md was published earlier as delta-and-beta-marchi/braze-agency/analyst-data-objects.

★ Insight ─────────────────────────────────────

  • The writing-skills skill emphasizes CSO (Claude Search Optimization) — description and keywords must match how future Claude instances will search, not how humans would describe the skill.
  • For reference-type skills like this one (API schemas, object structures), the pattern is: overview → quick reference table → per-object deep dives → common field patterns. This gives Claude fast scan-then-dive access.

─────────────────────────────────────────────────

Here is the generated skill body:


API Data Objects & Filters

Overview

This skill covers the structure, required fields, validation rules, and relationships of every request/response object used in Braze API calls — from user identification through scheduling, event tracking, and messaging payloads. It is the authoritative reference for analysts and engineers modeling data flowing into and out of Braze.

Analytical lens: Treat each object as a schema contract. When designing an integration or debugging a failed API call, start here to verify field types, required vs. optional parameters, size limits, and which identifiers are acceptable at each endpoint.

When to Use This Skill

Use this skill when:

  • Designing the payload structure for a /users/track, /messages/send, or Canvas trigger call
  • Debugging a 400 Bad Request caused by a malformed object
  • Determining which user identifier to use (external ID vs. alias vs. Braze ID vs. email)
  • Mapping an analytics schema (warehouse, CDP, or event stream) onto Braze's expected object shapes
  • Understanding how event, purchase, and attribute objects differ in their array placement and required fields
  • Structuring audience filters for connected audience or catalog selection API calls

Object Inventory

ObjectEndpoint ContextKey Fields
User Attributes/users/track attributes[]external_id or alias, standard + custom attributes
User AliasNested in attributes/recipientsalias_name, alias_label
Aliases to Identify/users/identifyexternal_id, user_alias, merge behavior
Event Object/users/track events[]external_id, name, time, properties
Purchase Object/users/track purchases[]external_id, product_id, currency, price, time
Trigger PropertiesCampaign API-trigger trigger_propertiesArbitrary KV pairs, campaign scope only
Context ObjectCanvas trigger contextArbitrary KV map, 50 KB limit, Canvas first-step scope
Recipient Object/messages/send, schedule endpointsExactly one of: external_user_id, user_alias, braze_id, email
Schedule ObjectSchedule create/update endpointstime (ISO 8601), optional in_local_time, at_optimal_time
Connected Audience FilterAPI-triggered sends audienceAttribute, event, and segment filter composition
Catalog Selection ObjectCatalog selection APIname, description, filters, sort_field, sort_order, limit
Webhook Messaging Object/messages/send messages.webhookurl, request_method, request_headers, request_body
WhatsApp Messaging Object/messages/send messages.whatsappConsult source docs — minimal schema available

Identity Resolution

Braze supports four user identifiers. Exactly one is required per Recipient Object entry:

external_user_id → your system's primary key (preferred)
user_alias → { alias_name, alias_label } for anonymous or third-party IDs
braze_id → Braze-assigned internal ID (read from SDK/export)
email → email-only sends (no profile creation)

aliases_to_identify merges an alias profile into an identified profile — use this post-login or post-resolution to consolidate event history.

Core Object Patterns

User Attributes Object

Passed in the attributes array of /users/track. Sets profile fields. Custom attributes are any non-reserved key. Standard attributes (e.g., first_name, email, phone) follow Braze's reserved schema.

Event Object

Passed in the events array of /users/track. Each object = one custom event occurrence. The properties field accepts a flat or nested JSON object; values must be scalar or arrays of scalars for segmentation support.

Purchase Object

Passed in the purchases array of /users/track. The currency field must be a valid ISO 4217 code. price is a float. Revenue reporting and purchase funnels depend on the accuracy of these fields.

Trigger Properties vs. Context Object
Trigger PropertiesContext Object
ScopeCampaigns (API-triggered)Canvas (first step only)
Namespacetrigger_propertiescontext
Size limit—50 KB
UsePer-send personalizationCanvas entry data injection
Schedule Object

Used in schedule creation endpoints. time is a required ISO 8601 datetime. Optional flags in_local_time and at_optimal_time alter delivery windows — these are mutually exclusive.

Connected Audience Filter

Composes attribute, event, purchase, and segment conditions into an audience object for API-triggered sends. Allows targeting without pre-built segments.

Catalog Selection Object

Used when calling catalog selection endpoints. The filters array supports multi-condition filtering; sort_field and sort_order control result ordering; limit caps returned items.

Common Mistakes

MistakeFix
Sending multiple identifiers in one Recipient entryUse exactly one: external_user_id OR user_alias OR braze_id OR email
Using trigger_properties for CanvasUse context for Canvas; trigger_properties is campaign-only
Nesting deep objects in event propertiesKeep values scalar or arrays of scalars for segmentation compatibility
Omitting currency in Purchase ObjectRequired field — ISO 4217 string (e.g., "USD")
Setting in_local_time and at_optimal_time togetherMutually exclusive — pick one
Sending context beyond 50 KBPayload will be rejected; trim or move large data to attributes

★ Insight ─────────────────────────────────────

  • The Trigger Properties / Context Object split is a common source of analyst confusion — they serve the same conceptual purpose (per-send personalization data) but are scoped to different product surfaces. The skill surfaces this as a comparison table so Claude can immediately answer "which one do I use?" questions.
  • Placing aliases_to_identify in the Identity Resolution section (rather than in the object inventory alone) gives it narrative context: it's not just a schema, it's a lifecycle operation that merges anonymous history into identified profiles.

─────────────────────────────────────────────────

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/delta-and-beta-marchi/braze-agency/analyst-data-objects/badge)](https://verified-skill.com/skills/delta-and-beta-marchi/braze-agency/analyst-data-objects)

Something wrong with this skill or its page? Tell us.