Actions6
Send Analytics
AI-generatedOverview
The Braze Analytics node retrieves various types of time-series analytics data from Braze related to campaigns, sends, custom events, purchases, revenue, and app sessions. It is useful for marketers and analysts who want to monitor the performance and engagement metrics of their Braze campaigns and user interactions over a specified period.
Common scenarios include:
- Tracking how a specific campaign or send performed over the last two weeks.
- Analyzing custom event occurrences or purchase behavior within an app.
- Monitoring revenue trends or session activity to optimize marketing strategies.
For example, you can use this node to fetch daily send analytics for a particular campaign send ID over the past 14 days, helping you understand user engagement and conversion rates.
Properties
| Name | Meaning |
|---|---|
| Operation | The type of analytics data to retrieve. Options: Campaign Analytics, Custom Events, Purchase Analytics, Revenue Data, Send Analytics, Session Analytics. |
| Length (Days) | Number of days to include in the data series (1 to 100). Defaults to 14. |
| Ending At | End date/time for the data series in ISO 8601 format. Defaults to current time if not specified. |
| Campaign ID | API identifier of the campaign to query. Required for Campaign Analytics and Send Analytics operations. |
| Send ID | API identifier of the send to query. Required for Send Analytics operation. |
Output
The node outputs JSON data containing the requested analytics time-series data as returned by the Braze API. Each item corresponds to one input item and includes the full response JSON under the json field.
The structure of the output JSON depends on the selected operation but generally includes arrays or objects representing metrics over time, such as counts, revenue amounts, or session statistics.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Braze API.
- Needs the Braze instance endpoint URL configured via credentials.
- Uses HTTP GET requests to Braze's REST API endpoints for analytics data.
Troubleshooting
Common issues:
- Missing or invalid API key credential will cause authentication failures.
- Providing incorrect or missing required parameters like Campaign ID or Send ID will result in errors.
- Date/time formatting errors in the "Ending At" property may cause request failures.
Error messages:
- Errors returned by the Braze API are captured and included in the output when "Continue On Fail" is enabled.
- Typical error messages include authorization errors, invalid parameter errors, or resource not found.
- To resolve, verify API credentials, ensure all required parameters are provided, and check date formats.