Bento icon

Bento

Native integration for Bento API actions

Site Metrics

AI-generated

Overview

This node integrates with the Bento API to perform various operations related to subscriber management, event tracking, email sending, content moderation, analytics reporting, and more. It is useful for marketing automation, customer engagement, and analytics workflows. For example, it can create or update subscribers, track custom events, send transactional emails, fetch site-wide or segment-specific analytics, and moderate content.

Use Case Examples

  1. Create a new subscriber with email and profile data.
  2. Track a custom event for a subscriber to trigger automation.
  3. Send a personalized transactional email using a template.
  4. Fetch site-wide analytics metrics for a selected date range.

Properties

Name Meaning
Operation The specific Bento API operation to perform, such as creating a subscriber, tracking an event, sending an email, or fetching site metrics.

Output

JSON

  • operation - The operation performed by the node.
  • success - Indicates if the operation was successful.
  • subscriber - Details of the subscriber involved (if applicable).
  • email
    • recipient - Recipient email address for transactional emails.
    • from - Sender email address for transactional emails.
    • subject - Subject line of the transactional email.
    • type - Type of email body sent (HTML or text).
  • event - Details of the tracked event (if applicable).
  • command - Subscriber command executed.
  • domain - Domain checked in blacklist operation.
  • ip - IP address involved in operations like geolocation or blacklist check.
  • contentEvaluated - Content evaluated in content moderation operation.
  • metadata - Metadata provided for content moderation.
  • summary - Summary of analytics or prediction results.
  • apiResponse - Raw API response from Bento for the operation.
  • message - Human-readable message describing the result or error.

Dependencies

  • Bento API credentials including publishableKey, secretKey, and siteUuid

Troubleshooting

  • Ensure valid and complete Bento API credentials are provided; missing or invalid keys will cause authentication errors.
  • Input validation errors occur if required fields are missing or improperly formatted, such as invalid email addresses or exceeding character limits.
  • Rate limiting by Bento API may cause temporary failures; the node implements retries with exponential backoff but excessive requests should be avoided.
  • Network errors or Bento API server errors may cause operation failures; check network connectivity and Bento service status.
  • HTML content in emails or personalizations is sanitized and validated; unsafe content will cause errors.

Links

Discussion