Bento icon

Bento

Native integration for Bento API actions

Report Metrics

AI-generated

Overview

This node integrates with the Bento API to report metrics for a specified Bento report. It fetches analytics data such as total sends, opens, clicks, revenue, and conversions for a given report ID. This is useful for users who want to retrieve detailed performance metrics of their email broadcasts, automations, or revenue reports managed within Bento.

Use Case Examples

  1. Fetch metrics for a specific email campaign report by providing the report ID to analyze its performance.
  2. Retrieve revenue and conversion data for a marketing automation report to evaluate campaign effectiveness.

Properties

Name Meaning
Report ID Identifier of the Bento report (report_id) to fetch metrics for, required to specify which report's metrics to retrieve.

Output

JSON

  • operation - The operation performed, here it will be 'reportStats'.
  • success - Boolean indicating if the operation was successful.
  • reportId - The ID of the report for which metrics were fetched.
  • apiResponse - Raw response data from the Bento API containing detailed report metrics.
  • summary
    • reportId - The report ID included in the summary of metrics.
    • metrics
      * totalSends - Total number of sends recorded in the report.
      * opens - Total number of opens recorded in the report.
      * clicks - Total number of clicks recorded in the report.
      * revenue - Total revenue generated as reported.
      * conversions - Total number of conversions recorded.
  • message - Human-readable message describing the result of the operation.

Dependencies

  • Bento API credentials including publishableKey, secretKey, and siteUuid are required for authentication.

Troubleshooting

  • Ensure the Report ID is provided and correctly formatted; missing or invalid IDs will cause errors.
  • Check that Bento API credentials are correctly configured and valid to avoid authentication failures.
  • Network issues or Bento API downtime can cause request failures; verify connectivity and Bento service status.
  • If the API returns errors, review the error message for details such as rate limiting or invalid parameters and adjust accordingly.

Links

Discussion