Reading starts here
ChurnAtlas

Customer event specification: 8 fields for CS handoffs

Short answer. Eight fields to record for each vendor feed before a customer activity handoff: transport, payload limits, validation, acknowledgment and processing.

ChurnAtlas Editorial Team. How posts are made is set out in the editorial standards.

Published · Sources checked · 12 min read

  1. Inputs Your product plan, your permissions and the task you want to finish.
  2. Decision Whether the help page matches what you see on your screen.
  3. Next action Do the task on one test account, then record what you changed.

A customer event specification records eight fields for each vendor feed, because the requirements depend on the vendor. Amplitude notes that you can include both active and inactive events in your segmentation analyses, but most customers find their Amplitude charts more insightful when they focus on active events.

Key takeaways

  • Record the JSON POST body size limit for your analytics feed. For the Measurement Protocol reference, this limit is less than 130kB according to Google for Developers.
  • Cap the number of events in a single request. The Measurement Protocol reference requires the events array to contain up to 25 event items, each needing a name according to Google for Developers.
  • Acknowledge webhook notifications immediately. Square Webhooks requires your application to respond with a 2xx status code as soon as possible to acknowledge that a notification was received according to Square.
  • Do not rely on arrival order for business logic. Square Webhooks states there is no guarantee of the delivery order of event notices according to Square.
  • Map each constraint to the specific vendor documentation that defines it. Do not apply one publisher’s limits to another vendor’s feed.

Customer event specification: the fields to hand over

The specification must document eight distinct fields to ensure the receiving team can configure the account health feed correctly. These fields cover the technical transport, the data structure, and the validation logic required for reliable ingestion.

First, define the destination and transport method. Specify the exact endpoint URL and the security protocol, such as HTTPS, used to deliver the data. Second, document the payload handling requirements. This includes the expected data format, such as JSON, and any compression standards the receiver must support. Third, state the request size limits. If the vendor imposes a maximum body size, record that threshold to prevent rejected submissions.

Fourth, detail the event array and names. List the specific event names the feed will send and note any character limits for those names. Fifth, specify user property limits. Record the maximum number of user properties in each request and the character limits for their names and values. Sixth, define validation and version requirements. Identify the API version the payload must match and any validation modes the receiver must apply.

Seventh, document acknowledgment and ordering conditions. Note whether the vendor guarantees delivery order and what acknowledgment response the receiver must send. Eighth, describe the processing queue. Specify whether the receiver should parse the raw bytes immediately or queue the verified payload for asynchronous processing. Each of these fields must be filled based on the specific vendor documentation for the feed in question.

Destination and payload fields for analytics and notifications

Field one, destination and transport, records where the feed sends data and the security protocol required for that path. Field two, payload handling, records the format and size constraints the receiver must respect before processing the body.

For feeds using the Measurement Protocol, data must be sent securely using HTTPS POST requests to a specified endpoint Google for Developers. The size of the JSON POST body for this protocol must be less than 130kB Google for Developers. Record these as submission limits for the specific analytics destination, not as universal benchmarks for all customer health data.

For feeds receiving events through Stripe, registered webhook endpoints must be publicly accessible HTTPS URLs Stripe. Stripe uses HTTPS to send webhook events to your app as a JSON payload that includes event information Stripe.

For feeds involving Paddle, the receiver must read the raw request body as bytes before parsing it Paddle.

The table below lists the transport and payload details for the vendors documented in this section.

Specification field Publisher Documented requirement
Destination and transport Google for Developers HTTPS POST to a specified endpoint
Destination and transport Stripe Publicly accessible HTTPS URL
Payload handling Stripe JSON payload with event information
Payload handling Paddle Read the raw request body as bytes before parsing
Request size Google for Developers JSON POST body less than 130kB

Verify the destination URL and transport protocol against the vendor's documentation for each feed. Mark any field that does not apply to your specific vendor as inapplicable in the handoff document.

Event names, events array and user property limits

Record the structural limits for each feed in the specification before the integration owner begins configuration. These constraints define what the receiving system can accept and process without rejection.

According to Google for Developers, the events array within the JSON body is required and can contain up to 25 event items, each needing a name and optionally including params. This array limit applies specifically to the Measurement Protocol reference for Google Analytics. When documenting this field, note that the array is mandatory for the request structure.

Event names must be 40 characters or fewer, as stated by Google for Developers. Parameter names follow the same constraint, requiring 40 characters or fewer. These character limits apply to the identifiers used within the event structure. If names are longer, rename them to 40 characters or fewer. See Usage event fields: check 4 sources before a health score.

User properties introduce additional character constraints. According to Google for Developers, user property names must be 24 characters or fewer, and user property values must be 36 characters or fewer. Up to 25 user properties can be sent in one request. These limits are distinct from the event and parameter name limits and must be tracked separately in your specification.

Publisher Limit Type Documented Value
Google for Developers Events array max items Up to 25 event items
Google for Developers Event and parameter name length 40 characters or fewer
Google for Developers User properties in one request Up to 25 properties
Google for Developers User property name length 24 characters or fewer

The table above summarizes most of the numeric limits documented for the Measurement Protocol reference. Each row corresponds to a distinct constraint type. When filling out your specification, verify that your event names, parameter names, and user properties comply with these exact character counts and array sizes.

These limits are specific to the named source and do not apply universally to all analytics platforms. Do not assume that other vendors use the same character counts or array sizes. For feeds using different protocols, consult the respective vendor documentation to determine their specific constraints. The specification should clearly indicate which vendor's limits apply to each feed.

If your current event names exceed 40 characters, rename them before handoff. If your user properties exceed 25 items in one request, consolidate or remove excess properties. If your user property names exceed 24 characters or values exceed 36 characters, shorten them to fit within the documented limits. These adjustments ensure the payload conforms to the receiving system's requirements.

Validation, API version, acknowledgment and processing fields

Fields six, seven, and eight cover how the receiving system verifies structure, acknowledges arrival, and processes the payload. Because these requirements differ by vendor, record them separately for each feed in your specification.

Field 6: Validation and API version This field specifies how the receiver validates the event structure and which API version governs the payload. For feeds using the Measurement Protocol, the system uses RELAXED validation by default, but you can select ENFORCE_RECOMMENDATIONS for stricter validation, particularly when validating events, according to Google for Developers. If your feed uses Chargebee webhooks, the event content includes an api_version attribute that indicates the API version based on which the event content is structured. When processing these webhooks, ensure that the api_version is the same as the API version used by your webhook server's client library, as directed by Chargebee. Include this compatibility check in your handoff so the integration owner knows which client library version to configure.

Field 7: Acknowledgment and ordering This field documents how the receiver acknowledges the notification and whether the vendor guarantees delivery order. Square requires that your application respond with a 2xx status code as soon as possible to acknowledge that the notification was received, according to Square. Note that there is no guarantee of the delivery order of event notices from Square. If your account health logic relies on the sequence of events, do not assume arrival order matches occurrence order for Square feeds.

Field 8: Processing queue This field describes how the receiver handles the payload after acknowledgment. Paddle advises reading the raw request body as bytes without parsing it first, then queuing the verified event payload for async processing, according to Paddle. The documentation suggests using an in-memory queue, background job, message broker, or database queue depending on your stack. Separate the acknowledgment step (immediate 2xx response) from the subsequent processing (async queue) in your specification. Signature checks are covered in Webhook signature rules for 4 vendor tools.

Publisher Processing Requirement Specific Instruction
Chargebee API version compatibility Match api_version to client library version
Square Acknowledgment Respond with 2xx status code as soon as possible
Paddle Payload processing Queue verified event for async processing
Google for Developers Validation mode RELAXED default; ENFORCE_RECOMMENDATIONS optional

When filling out your specification, mark the validation mode and version matching rules for each feed. If a vendor does not document a specific validation mode or version attribute, note that field as "not applicable" or "undocumented" rather than leaving it blank. This ensures the integration owner has a complete picture of what to configure for each vendor.

Vendor requirements reference table

The following table maps the transport, payload and processing constraints documented by each publisher. Use this view to verify that your handoff document reflects the exact transport, payload, and processing rules for the vendor you are integrating with. Each row cites the publisher's documented requirement directly.

Publisher Destination/Transport Payload/Size Processing/Validation
Google for Developers HTTPS POST < 130kB body Up to 25 event items
Stripe Public HTTPS URL JSON payload Event information included
Paddle Raw bytes read Queue verified event for async processing Do not parse first
Square 2xx ack required No order guarantee Prompt acknowledgment
Chargebee Webhook event api_version attribute Match client library version

Google for Developers requires data to be sent securely using HTTPS POST requests to a specified endpoint. The size of the JSON POST body must be less than 130kB. The events array within the JSON body is required and can contain up to 25 event items, each needing a name and optionally including params. These limits define the submission constraints for analytics feeds using this protocol.

Stripe documentation states that registered webhook endpoints must be publicly accessible HTTPS URLs. The platform uses HTTPS to send webhook events to your app as a JSON payload that includes event information. Your specification should confirm that the receiving endpoint meets the public accessibility requirement and is prepared to parse the JSON structure.

Paddle instructs receivers to read the raw request body as bytes and not parse it first. The specification should note that the receiver must capture the raw bytes before any processing logic runs.

Square requires a prompt successful acknowledgment and does not guarantee notification delivery order. Document both conditions before using arrival order to interpret an account's activity. The specification must reflect that the receiver must acknowledge record quickly and that the processing logic cannot rely on sequential ordering of events.

Blank customer event handoff worksheet

Use this structure to document one specific feed before handing it to the team configuring account health feeds. The eight fields below cover the distinct requirements for destination, payload, request size, event array, user properties, validation, acknowledgment, and processing. Because requirements depend on the vendor, you must record each feed separately rather than applying a single set of rules across all sources. For example, Customer.io documentation includes sections for source specs, custom events, semantic events, backfilling historical data, and proxying requests, which indicates that the specification must account for how data is sourced and transmitted.

Start by filling in the destination and transport details for the specific endpoint receiving the data. Next, define the payload handling rules, including any body size limits or format constraints specific to that vendor. Then, record the request size limits, such as the maximum body size allowed for a single submission. Follow this by specifying the event array structure and the naming conventions for events, ensuring you note any character limits for names. After that, list the user property limits, including the maximum number of properties and the character limits for their names and values.

Include the validation and API version requirements, noting any specific version matching rules needed for the webhook server client library. Document the acknowledgment process, such as whether a prompt successful acknowledgment is required and if delivery order is guaranteed. Finally, specify the processing queue requirements, including whether the payload should be queued for asynchronous processing after verification.

Today, copy the eight field names into a new document and fill in the transport row for your first feed.

FAQ: specifying a feed for account health reviews

What belongs in a customer event specification?

The specification must record eight distinct fields: destination and transport, payload handling, request size, event array and names, user property limits, validation and version, acknowledgment and ordering, and processing queue. Each field captures a specific constraint or requirement for the data handoff. You should document these items separately for every vendor feed you manage.

Which limits apply if our health feed uses Google Measurement Protocol?

According to Google for Developers, the JSON POST body must be less than 130kB. The required events array can contain up to 25 event items. Event and parameter names are limited to 40 characters. The system permits up to 25 user properties in one request. User property names must be 24 characters or fewer, and user property values must be 36 characters or fewer.

Does Square guarantee that customer events arrive in order?

No, Square states there is no guarantee of the delivery order of event notices. Your application must respond with a 2xx status code as soon as possible to acknowledge a notification. You should not rely on arrival order to interpret account activity. Document both conditions before using sequence for health reviews.

How should a Paddle receiver handle the request body?

The receiver should read the raw request bytes before parsing the content. After verification, the system queues the verified event payload for async processing. You can use an in-memory queue, background job, message broker, or database queue depending on your stack. This separates the acknowledgment from subsequent processing steps.

What must match when processing Chargebee webhook events?

The api_version attribute indicates the API version based on which the event content is structured. According to Chargebee, you must ensure that api_version is the same as the API version used by your webhook server's client library. This compatibility check is required during webhook processing.

Sources

Limits of this post

This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.